Class: Wx::RBN::RibbonButtonBarButtonState
- Defined in:
- lib/wx/doc/gen/rbn/ribbon_button_bar.rb
Overview
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.
Constant Summary collapse
- RIBBON_BUTTONBAR_BUTTON_SMALL =
Button is small (the interpretation of small is dependent upon the art provider, but it will be smaller than medium).
Wx::RBN::RibbonButtonBarButtonState.new(0)
- RIBBON_BUTTONBAR_BUTTON_MEDIUM =
Button is medium sized (the interpretation of medium is dependent upon the art provider, but it will be between small and large).
Wx::RBN::RibbonButtonBarButtonState.new(1)
- RIBBON_BUTTONBAR_BUTTON_LARGE =
Button is large (the interpretation of large is dependent upon the art provider, but it will be larger than medium).
Wx::RBN::RibbonButtonBarButtonState.new(2)
- RIBBON_BUTTONBAR_BUTTON_SIZE_MASK =
A mask to extract button size from a combination of flags.
Wx::RBN::RibbonButtonBarButtonState.new(3)
- RIBBON_BUTTONBAR_BUTTON_NORMAL_HOVERED =
The normal (non-dropdown) region of the button is being hovered over by the mouse cursor.
Wx::RBN::RibbonButtonBarButtonState.new(8)
- RIBBON_BUTTONBAR_BUTTON_DROPDOWN_HOVERED =
The dropdown region of the button is being hovered over by the mouse cursor.
Wx::RBN::RibbonButtonBarButtonState.new(16)
- RIBBON_BUTTONBAR_BUTTON_HOVER_MASK =
A mask to extract button hover state from a combination of flags.
Wx::RBN::RibbonButtonBarButtonState.new(24)
- RIBBON_BUTTONBAR_BUTTON_NORMAL_ACTIVE =
The normal (non-dropdown) region of the button is being pressed.
Wx::RBN::RibbonButtonBarButtonState.new(32)
- RIBBON_BUTTONBAR_BUTTON_DROPDOWN_ACTIVE =
The dropdown region of the button is being pressed.
Wx::RBN::RibbonButtonBarButtonState.new(64)
- RIBBON_BUTTONBAR_BUTTON_ACTIVE_MASK =
A mask to extract active flags.
Wx::RBN::RibbonButtonBarButtonState.new(96)
- RIBBON_BUTTONBAR_BUTTON_DISABLED =
The button is disabled.
Wx::RBN::RibbonButtonBarButtonState.new(128)
- RIBBON_BUTTONBAR_BUTTON_TOGGLED =
The button is a toggle button which is currently in the toggled state.
Wx::RBN::RibbonButtonBarButtonState.new(256)
- RIBBON_BUTTONBAR_BUTTON_STATE_MASK =
A mask to extract button state from a combination of flags.
Wx::RBN::RibbonButtonBarButtonState.new(504)
Method Summary
Methods inherited from Enum
#!, #&, #<=>, #allbits?, #anybits?, #coerce, #eql?, #initialize, #inspect, #integer?, #method_missing, #nobits?, #real?, #succ, #to_int, #to_s, #|, #~
Constructor Details
This class inherits a constructor from Wx::Enum
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Wx::Enum