Classes | |
class | wxRibbonButtonBar |
A ribbon button bar is similar to a traditional toolbar. More... | |
class | wxRibbonButtonBarEvent |
Event used to indicate various actions relating to a button on a wxRibbonButtonBar. More... | |
Enumerations | |
enum | wxRibbonButtonBarButtonState { wxRIBBON_BUTTONBAR_BUTTON_SMALL = 0 << 0, wxRIBBON_BUTTONBAR_BUTTON_MEDIUM = 1 << 0, wxRIBBON_BUTTONBAR_BUTTON_LARGE = 2 << 0, wxRIBBON_BUTTONBAR_BUTTON_SIZE_MASK = 3 << 0, wxRIBBON_BUTTONBAR_BUTTON_NORMAL_HOVERED = 1 << 3, wxRIBBON_BUTTONBAR_BUTTON_DROPDOWN_HOVERED = 1 << 4, wxRIBBON_BUTTONBAR_BUTTON_HOVER_MASK = wxRIBBON_BUTTONBAR_BUTTON_NORMAL_HOVERED | wxRIBBON_BUTTONBAR_BUTTON_DROPDOWN_HOVERED, wxRIBBON_BUTTONBAR_BUTTON_NORMAL_ACTIVE = 1 << 5, wxRIBBON_BUTTONBAR_BUTTON_DROPDOWN_ACTIVE = 1 << 6, wxRIBBON_BUTTONBAR_BUTTON_ACTIVE_MASK = wxRIBBON_BUTTONBAR_BUTTON_NORMAL_ACTIVE | wxRIBBON_BUTTONBAR_BUTTON_DROPDOWN_ACTIVE, wxRIBBON_BUTTONBAR_BUTTON_DISABLED = 1 << 7, wxRIBBON_BUTTONBAR_BUTTON_TOGGLED = 1 << 8, wxRIBBON_BUTTONBAR_BUTTON_STATE_MASK = 0x1F8 } |
Flags for button bar button size and state. More... | |
Variables | |
wxEventType | wxEVT_RIBBONBUTTONBAR_CLICKED |
wxEventType | wxEVT_RIBBONBUTTONBAR_DROPDOWN_CLICKED |
Flags for button bar button size and state.
Buttons on a ribbon button bar can each come in three sizes: small, medium, and large. In some places this is called the size class, and the term size used for the pixel width and height associated with a particular size class.
A button can also be in zero or more hovered or active states, or in the disabled state.
wxEventType wxEVT_RIBBONBUTTONBAR_CLICKED |
wxEventType wxEVT_RIBBONBUTTONBAR_DROPDOWN_CLICKED |