Class: Wx::AUI::AuiDefaultToolBarArt

Inherits:
AuiToolBarArt show all
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)

Requires:

  • USE_AUI

Instance Method Summary collapse

Methods inherited from AuiToolBarArt

#get_element_size_for_window, #get_text_direction, #set_text_direction

Constructor Details

#initializeWx::AUI::AuiDefaultToolBarArt



199
# File 'lib/wx/doc/gen/aui/aui_tool_bar_art.rb', line 199

def initialize; end

Instance Method Details

#cloneWx::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.

Parameters:



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.

Parameters:



255
# File 'lib/wx/doc/gen/aui/aui_tool_bar_art.rb', line 255

def draw_button(dc, wnd, item, rect) end

#draw_control_label(dc, wnd, item, rect) ⇒ void

This method returns an undefined value.

Parameters:



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.

Parameters:



262
# File 'lib/wx/doc/gen/aui/aui_tool_bar_art.rb', line 262

def draw_drop_down_button(dc, wnd, item, rect) end

#draw_gripper(dc, wnd, rect) ⇒ void

This method returns an undefined value.

Parameters:



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.

Parameters:



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.

Parameters:



288
# File 'lib/wx/doc/gen/aui/aui_tool_bar_art.rb', line 288

def draw_overflow_button(dc, wnd, rect, state) end

#draw_plain_background(dc, wnd, rect) ⇒ void

This method returns an undefined value.

Parameters:



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.

Parameters:



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.

Parameters:

  • elementId (Integer)

Returns:

  • (Integer)


315
# File 'lib/wx/doc/gen/aui/aui_tool_bar_art.rb', line 315

def get_element_size(elementId) end

#get_flagsInteger Also known as: flags

Returns:

  • (Integer)


210
# File 'lib/wx/doc/gen/aui/aui_tool_bar_art.rb', line 210

def get_flags; end

#get_fontWx::Font Also known as: font

Returns:



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.

Parameters:

Returns:



297
# File 'lib/wx/doc/gen/aui/aui_tool_bar_art.rb', line 297

def get_label_size(dc, wnd, item) end

#get_text_orientationInteger Also known as: text_orientation

Returns:

  • (Integer)


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.

Parameters:

Returns:



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.

Parameters:

  • elementId (Integer)
  • size (Integer)


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.

Parameters:

  • flags (Integer)


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.

Parameters:



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.

Parameters:

  • orientation (Integer)


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

Parameters:

Returns:

  • (Integer)


333
# File 'lib/wx/doc/gen/aui/aui_tool_bar_art.rb', line 333

def show_drop_down(wnd, items) end