wxAuiToolBarItem
Jump to navigation
Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Official Classes | Archive • Containers • Controls • Data Structures • Database • Date & Time • Debug • Device Contexts • Dialogs • Document & Views • Drag & Drop • Events • Filesystem • Frames • Graphics • Grid Cell • Help • HTML • Logging • Miscellaneous • Networking • Printing • Sizers • Streams • Threading • Windows |
wxAuiToolBarItem is part of the wxAUI class framework, representing a toolbar element.
It has a unique id (except for the separators which always have id = -1), the style (telling whether it is a normal button, separator or a control), the state (toggled or not, enabled or not) and short and long help strings. The default implementations use the short help string for the tooltip text which is popped up when the mouse pointer enters the tool and the long help string for the applications status bar (currently not implemented).
Toggling Visibility
myAuiToolItem->SetState(wxAUI_BUTTON_STATE_HIDDEN);
Is used to set the state of the tool button to hidden.
myAuiToolItem->SetState(wxAUI_BUTTON_STATE_NORMAL);
Is used to set it back to visible again.
See Also