# :stopdoc: # This file is automatically generated by the WXRuby3 documentation # generator. Do not alter this file. # :startdoc: module Wx::AUI # {Wx::AUI::AuiToolBarStyle} is part of the {Wx::AUI} class framework, used to define the appearance of a {Wx::AUI::AuiToolBar}. # # See also wxAUI Overview. # === # # Category: Window Docking (wxAUI) # class AuiToolBarStyle < Wx::Enum # Shows the text in the toolbar buttons; by default only icons are shown. # AUI_TB_TEXT = Wx::AUI::AuiToolBarStyle.new(1) # Don't show tooltips on {Wx::AUI::AuiToolBar} items. # AUI_TB_NO_TOOLTIPS = Wx::AUI::AuiToolBarStyle.new(2) # Do not auto-resize the {Wx::AUI::AuiToolBar}. # AUI_TB_NO_AUTORESIZE = Wx::AUI::AuiToolBarStyle.new(4) # Shows a gripper on the {Wx::AUI::AuiToolBar}. # AUI_TB_GRIPPER = Wx::AUI::AuiToolBarStyle.new(8) # The {Wx::AUI::AuiToolBar} can contain overflow items. # AUI_TB_OVERFLOW = Wx::AUI::AuiToolBarStyle.new(16) # Using this style forces the toolbar to be vertical and be only dockable to the left or right sides of the window whereas by default it can be horizontal or vertical and be docked anywhere. # AUI_TB_VERTICAL = Wx::AUI::AuiToolBarStyle.new(32) # Shows the text and the icons alongside, not vertically stacked. # AUI_TB_HORZ_LAYOUT = Wx::AUI::AuiToolBarStyle.new(64) # Analogous to {Wx::AUI::AuiToolBarStyle::AUI_TB_VERTICAL}, but forces the toolbar to be horizontal, docking to the top or bottom of the window. # AUI_TB_HORIZONTAL = Wx::AUI::AuiToolBarStyle.new(128) # Draw a plain background (based on parent) instead of the default gradient background. # AUI_TB_PLAIN_BACKGROUND = Wx::AUI::AuiToolBarStyle.new(256) # Shows the text alongside the icons, not vertically stacked. # AUI_TB_HORZ_TEXT = Wx::AUI::AuiToolBarStyle.new(65) # Shows the text in the toolbar buttons; by default only icons are shown. # AUI_ORIENTATION_MASK = Wx::AUI::AuiToolBarStyle.new(160) # By default only icons are shown. # AUI_TB_DEFAULT_STYLE = Wx::AUI::AuiToolBarStyle.new(0) end # AuiToolBarStyle # {Wx::AUI::AuiToolBarArtSetting} # # === # # Category: Window Docking (wxAUI) # class AuiToolBarArtSetting < Wx::Enum # {Wx::AUI::AuiToolBar} separator size. # AUI_TBART_SEPARATOR_SIZE = Wx::AUI::AuiToolBarArtSetting.new(0) # {Wx::AUI::AuiToolBar} gripper size. # AUI_TBART_GRIPPER_SIZE = Wx::AUI::AuiToolBarArtSetting.new(1) # Overflow button size in {Wx::AUI::AuiToolBar}. # AUI_TBART_OVERFLOW_SIZE = Wx::AUI::AuiToolBarArtSetting.new(2) end # AuiToolBarArtSetting # {Wx::AUI::AuiToolBarToolTextOrientation} # # === # # Category: Window Docking (wxAUI) # class AuiToolBarToolTextOrientation < Wx::Enum # Text in {Wx::AUI::AuiToolBar} items is left aligned, currently unused/unimplemented. # AUI_TBTOOL_TEXT_LEFT = Wx::AUI::AuiToolBarToolTextOrientation.new(0) # Text in {Wx::AUI::AuiToolBar} items is right aligned. # AUI_TBTOOL_TEXT_RIGHT = Wx::AUI::AuiToolBarToolTextOrientation.new(1) # Text in {Wx::AUI::AuiToolBar} items is top aligned, currently unused/unimplemented. # AUI_TBTOOL_TEXT_TOP = Wx::AUI::AuiToolBarToolTextOrientation.new(2) # Text in {Wx::AUI::AuiToolBar} items is bottom aligned. # AUI_TBTOOL_TEXT_BOTTOM = Wx::AUI::AuiToolBarToolTextOrientation.new(3) end # AuiToolBarToolTextOrientation # # EVT_AUITOOLBAR_TOOL_DROPDOWN = 10406 # # EVT_AUITOOLBAR_OVERFLOW_CLICK = 10407 # # EVT_AUITOOLBAR_RIGHT_CLICK = 10408 # # EVT_AUITOOLBAR_MIDDLE_CLICK = 10409 # # EVT_AUITOOLBAR_BEGIN_DRAG = 10410 # {Wx::AUI::AuiToolBarEvent} is used for the events generated by {Wx::AUI::AuiToolBar}. # === # # Category: Window Docking (wxAUI), {Wx::Events} # class AuiToolBarEvent < NotifyEvent # @overload initialize(commandType=Wx::EVT_NULL, winId=0) # @param commandType [Wx::CommandLinkButton::EventType] # @param winId [Integer] # @return [Wx::AUI::AuiToolBarEvent] # @overload initialize(c) # @param c [Wx::AUI::AuiToolBarEvent] # @return [Wx::AUI::AuiToolBarEvent] def initialize(*args) end # Returns whether the drop down menu has been clicked. # @return [Boolean] def is_drop_down_clicked; end alias_method :drop_down_clicked?, :is_drop_down_clicked # Returns the point where the user clicked with the mouse. # @return [Wx::Point] def get_click_point; end alias_method :click_point, :get_click_point # Returns the {Wx::AUI::AuiToolBarItem} rectangle bounding the mouse click point. # @return [Wx::Rect] def get_item_rect; end alias_method :item_rect, :get_item_rect # Returns the {Wx::AUI::AuiToolBarItem} identifier. # @return [Integer] def get_tool_id; end alias_method :tool_id, :get_tool_id # @param c [Boolean] # @return [void] def set_drop_down_clicked(c) end alias_method :drop_down_clicked=, :set_drop_down_clicked # @param p [Array(Integer, Integer), Wx::Point] # @return [void] def set_click_point(p) end alias_method :click_point=, :set_click_point # @param r [Wx::Rect] # @return [void] def set_item_rect(r) end alias_method :item_rect=, :set_item_rect # @param toolId [Integer] # @return [void] def set_tool_id(toolId) end alias_method :tool_id=, :set_tool_id end # AuiToolBarEvent end