Class: Wx::AUI::AuiToolBarArt

Inherits:
Object
  • Object
show all
Defined in:
lib/wx/doc/gen/aui/aui_tool_bar_art.rb

Overview

AuiToolBarArt is part of the Wx::AUI class framework.

See also AuiToolBar and wxAUI Overview.

Category: Window Docking (wxAUI)

Requires:

  • USE_AUI

Direct Known Subclasses

AuiDefaultToolBarArt

Instance Method Summary collapse

Constructor Details

#initializeWx::AUI::AuiToolBarArt



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

def initialize; end

Instance Method Details

#cloneWx::AUI::AuiToolBarArt



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

def clone; end

#draw_background(dc, wnd, rect) ⇒ void

This method returns an undefined value.

Parameters:



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

def draw_background(dc, wnd, rect) end

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

This method returns an undefined value.

Parameters:



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

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

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

This method returns an undefined value.

Parameters:



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

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:



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

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

#draw_gripper(dc, wnd, rect) ⇒ void

This method returns an undefined value.

Parameters:



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

def draw_gripper(dc, wnd, rect) end

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

This method returns an undefined value.

Parameters:



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

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

#draw_overflow_button(dc, wnd, rect, state) ⇒ void

This method returns an undefined value.

Parameters:



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

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

#draw_plain_background(dc, wnd, rect) ⇒ void

This method returns an undefined value.

Parameters:



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

def draw_plain_background(dc, wnd, rect) end

#draw_separator(dc, wnd, rect) ⇒ void

This method returns an undefined value.

Parameters:



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

def draw_separator(dc, wnd, rect) end

#get_element_size(elementId) ⇒ Integer Also known as: element_size

Returns the size of the given element in DIPs.

This function is typically more convenient to override, as it can just return the same value as was passed to #set_element_size, but it shouldn’t usually be called, use #get_element_size_for_window instead.

The size of the element in DIPs.

Parameters:

Returns:

  • (Integer)


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

def get_element_size(elementId) end

#get_element_size_for_window(elementId, window) ⇒ Integer Also known as: element_size_for_window

Get the element size scaled by the DPI of the given window.

This function should be used to get the size of the element in pixels. The default version delegates to #get_element_size, override this function if a different behaviour (e.g. to use some smarter algorithm for scaling instead of just multiplying by the DPI factor) is needed.

The size of the element in pixels.

Parameters:

Returns:

  • (Integer)

See Also:



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

def get_element_size_for_window(elementId, window) end

#get_flagsInteger Also known as: flags

Returns:

  • (Integer)


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

def get_flags; end

#get_fontWx::Font Also known as: font

Returns:



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

def get_font; end

#get_label_size(dc, wnd, item) ⇒ Wx::Size Also known as: label_size

Parameters:

Returns:



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

def get_label_size(dc, wnd, item) end

#get_text_orientationInteger Also known as: text_orientation

Returns:

  • (Integer)


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

def get_text_orientation; end

#get_tool_size(dc, wnd, item) ⇒ Wx::Size Also known as: tool_size

Parameters:

Returns:



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

def get_tool_size(dc, wnd, item) end

#set_element_size(elementId, size) ⇒ void

This method returns an undefined value.

Sets the size of the given element in DIPs.

Note that this function takes the size in DPI-independent pixels and this size will be scaled by the factor depending on the DPI being actually used by #get_element_size_for_window. In particular, do not use Window#from_dip for the size argument passed to this function.

Parameters:



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

def set_element_size(elementId, size) end

#set_flags(flags) ⇒ void Also known as: flags=

This method returns an undefined value.

Parameters:

  • flags (Integer)


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

def set_flags(flags) end

#set_font(font) ⇒ void Also known as: font=

This method returns an undefined value.

Parameters:



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

def set_font(font) end

#set_text_orientation(orientation) ⇒ void Also known as: text_orientation=

This method returns an undefined value.

Parameters:

  • orientation (Integer)


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

def set_text_orientation(orientation) end

#show_drop_down(wnd, items) ⇒ Integer

Parameters:

Returns:

  • (Integer)


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

def show_drop_down(wnd, items) end