#include <wx/aui/auibar.h>
wxAuiToolBarItem is part of the wxAUI class framework, representing a toolbar element.
See also wxAuiToolBar and wxAUI Overview.
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).
<>< =''>:</>&;&;< =''>\ </></>
wxAuiToolBarItem::wxAuiToolBarItem | ( | ) |
Default Constructor.
wxAuiToolBarItem::wxAuiToolBarItem | ( | const wxAuiToolBarItem & | c | ) |
Assigns the properties of the wxAuiToolBarItem "c" to this.
void wxAuiToolBarItem::Assign | ( | const wxAuiToolBarItem & | c | ) |
Assigns the properties of the wxAuiToolBarItem "c" to this.
int wxAuiToolBarItem::GetAlignment | ( | ) | const |
int wxAuiToolBarItem::GetId | ( | ) | const |
Returns the toolbar item identifier.
int wxAuiToolBarItem::GetKind | ( | ) | const |
Returns the toolbar item kind.
int wxAuiToolBarItem::GetProportion | ( | ) | const |
wxSizerItem * wxAuiToolBarItem::GetSizerItem | ( | ) | const |
int wxAuiToolBarItem::GetSpacerPixels | ( | ) | const |
int wxAuiToolBarItem::GetState | ( | ) | const |
long wxAuiToolBarItem::GetUserData | ( | ) | const |
wxWindow * wxAuiToolBarItem::GetWindow | ( | ) |
Returns the wxWindow* associated to the toolbar item.
bool wxAuiToolBarItem::HasDropDown | ( | ) | const |
Returns whether the toolbar item has an associated drop down button.
bool wxAuiToolBarItem::IsActive | ( | ) | const |
bool wxAuiToolBarItem::IsSticky | ( | ) | const |
wxAuiToolBarItem & wxAuiToolBarItem::operator= | ( | const wxAuiToolBarItem & | c | ) |
Assigns the properties of the wxAuiToolBarItem "c" to this, returning a pointer to this.
Set whether this tool has a drop down button.
This is only valid for wxITEM_NORMAL tools.
Sets the wxAuiToolBarItem kind.
void wxAuiToolBarItem::SetSizerItem | ( | wxSizerItem * | s | ) |