Class: Wx::AUI::AuiDefaultToolBarArt
- Inherits:
-
AuiToolBarArt
- Object
- AuiToolBarArt
- Wx::AUI::AuiDefaultToolBarArt
- Defined in:
- lib/wx/doc/gen/aui/aui_tool_bar_art.rb
Overview
AuiDefaultToolBarArt is part of the Wx::AUI class framework.
See also AuiToolBarArt , AuiToolBar and wxAUI Overview.
Category: Window Docking (wxAUI)
Instance Method Summary collapse
- #clone ⇒ Wx::AUI::AuiToolBarArt
- #draw_background(dc, wnd, rect) ⇒ void
- #draw_button(dc, wnd, item, rect) ⇒ void
- #draw_control_label(dc, wnd, item, rect) ⇒ void
- #draw_drop_down_button(dc, wnd, item, rect) ⇒ void
- #draw_gripper(dc, wnd, rect) ⇒ void
- #draw_label(dc, wnd, item, rect) ⇒ void
- #draw_overflow_button(dc, wnd, rect, state) ⇒ void
- #draw_plain_background(dc, wnd, rect) ⇒ void
- #draw_separator(dc, wnd, rect) ⇒ void
-
#get_element_size(elementId) ⇒ Integer
(also: #element_size)
Return the size of the element.
- #get_flags ⇒ Integer (also: #flags)
- #get_font ⇒ Wx::Font (also: #font)
-
#get_label_size(dc, wnd, item) ⇒ Wx::Size
(also: #label_size)
Return the size of the label for the given item.
- #get_text_orientation ⇒ Integer (also: #text_orientation)
-
#get_tool_size(dc, wnd, item) ⇒ Wx::Size
(also: #tool_size)
Return the size of the given item.
- #initialize ⇒ Wx::AUI::AuiDefaultToolBarArt constructor
-
#set_element_size(elementId, size) ⇒ void
Change the size of the element.
- #set_flags(flags) ⇒ void (also: #flags=)
- #set_font(font) ⇒ void (also: #font=)
- #set_text_orientation(orientation) ⇒ void (also: #text_orientation=)
-
#show_drop_down(wnd, items) ⇒ Integer
Show a drop down menu with the given items.
Methods inherited from AuiToolBarArt
#get_element_size_for_window, #get_text_direction, #set_text_direction
Constructor Details
#initialize ⇒ Wx::AUI::AuiDefaultToolBarArt
199 |
# File 'lib/wx/doc/gen/aui/aui_tool_bar_art.rb', line 199 def initialize; end |
Instance Method Details
#clone ⇒ Wx::AUI::AuiToolBarArt
202 |
# File 'lib/wx/doc/gen/aui/aui_tool_bar_art.rb', line 202 def clone; end |
#draw_background(dc, wnd, rect) ⇒ void
This method returns an undefined value.
235 |
# File 'lib/wx/doc/gen/aui/aui_tool_bar_art.rb', line 235 def draw_background(dc, wnd, rect) end |
#draw_button(dc, wnd, item, rect) ⇒ void
This method returns an undefined value.
255 |
# File 'lib/wx/doc/gen/aui/aui_tool_bar_art.rb', line 255 def (dc, wnd, item, rect) end |
#draw_control_label(dc, wnd, item, rect) ⇒ void
This method returns an undefined value.
269 |
# File 'lib/wx/doc/gen/aui/aui_tool_bar_art.rb', line 269 def draw_control_label(dc, wnd, item, rect) end |
#draw_drop_down_button(dc, wnd, item, rect) ⇒ void
This method returns an undefined value.
262 |
# File 'lib/wx/doc/gen/aui/aui_tool_bar_art.rb', line 262 def (dc, wnd, item, rect) end |
#draw_gripper(dc, wnd, rect) ⇒ void
This method returns an undefined value.
281 |
# File 'lib/wx/doc/gen/aui/aui_tool_bar_art.rb', line 281 def draw_gripper(dc, wnd, rect) end |
#draw_label(dc, wnd, item, rect) ⇒ void
This method returns an undefined value.
248 |
# File 'lib/wx/doc/gen/aui/aui_tool_bar_art.rb', line 248 def draw_label(dc, wnd, item, rect) end |
#draw_overflow_button(dc, wnd, rect, state) ⇒ void
This method returns an undefined value.
288 |
# File 'lib/wx/doc/gen/aui/aui_tool_bar_art.rb', line 288 def (dc, wnd, rect, state) end |
#draw_plain_background(dc, wnd, rect) ⇒ void
This method returns an undefined value.
241 |
# File 'lib/wx/doc/gen/aui/aui_tool_bar_art.rb', line 241 def draw_plain_background(dc, wnd, rect) end |
#draw_separator(dc, wnd, rect) ⇒ void
This method returns an undefined value.
275 |
# File 'lib/wx/doc/gen/aui/aui_tool_bar_art.rb', line 275 def draw_separator(dc, wnd, rect) end |
#get_element_size(elementId) ⇒ Integer Also known as: element_size
Return the size of the element.
Implement the base class pure virtual function by returning the default element size or the last value passed to #set_element_size.
315 |
# File 'lib/wx/doc/gen/aui/aui_tool_bar_art.rb', line 315 def get_element_size(elementId) end |
#get_flags ⇒ Integer Also known as: flags
210 |
# File 'lib/wx/doc/gen/aui/aui_tool_bar_art.rb', line 210 def get_flags; end |
#get_font ⇒ Wx::Font Also known as: font
219 |
# File 'lib/wx/doc/gen/aui/aui_tool_bar_art.rb', line 219 def get_font; end |
#get_label_size(dc, wnd, item) ⇒ Wx::Size Also known as: label_size
Return the size of the label for the given item.
Note that the type of dc was DC until wxWidgets 3.3.0, where it was changed to ReadOnlyDC as this function doesn’t modify the DC contents.
297 |
# File 'lib/wx/doc/gen/aui/aui_tool_bar_art.rb', line 297 def get_label_size(dc, wnd, item) end |
#get_text_orientation ⇒ Integer Also known as: text_orientation
228 |
# File 'lib/wx/doc/gen/aui/aui_tool_bar_art.rb', line 228 def get_text_orientation; end |
#get_tool_size(dc, wnd, item) ⇒ Wx::Size Also known as: tool_size
Return the size of the given item.
Note that the type of dc was DC until wxWidgets 3.3.0, where it was changed to ReadOnlyDC as this function doesn’t modify the DC contents.
307 |
# File 'lib/wx/doc/gen/aui/aui_tool_bar_art.rb', line 307 def get_tool_size(dc, wnd, item) end |
#set_element_size(elementId, size) ⇒ void
This method returns an undefined value.
Change the size of the element.
Implements the base class pure virtual function by storing the value to be returned by #get_element_size and used by Wx::AUI::AuiToolBarArt#get_element_size_for_window. As for the base class function, size is in DIPs, not pixels, so Window#from_dip should not be used for it.
325 |
# File 'lib/wx/doc/gen/aui/aui_tool_bar_art.rb', line 325 def set_element_size(elementId, size) end |
#set_flags(flags) ⇒ void Also known as: flags=
This method returns an undefined value.
206 |
# File 'lib/wx/doc/gen/aui/aui_tool_bar_art.rb', line 206 def set_flags(flags) end |
#set_font(font) ⇒ void Also known as: font=
This method returns an undefined value.
215 |
# File 'lib/wx/doc/gen/aui/aui_tool_bar_art.rb', line 215 def set_font(font) end |
#set_text_orientation(orientation) ⇒ void Also known as: text_orientation=
This method returns an undefined value.
224 |
# File 'lib/wx/doc/gen/aui/aui_tool_bar_art.rb', line 224 def set_text_orientation(orientation) end |
#show_drop_down(wnd, items) ⇒ Integer
Show a drop down menu with the given items.
ID of the item selected in the menu or -1 if the menu was dismissed
333 |
# File 'lib/wx/doc/gen/aui/aui_tool_bar_art.rb', line 333 def show_drop_down(wnd, items) end |