Class: Wx::ToolBarToolBase
Overview
A toolbar tool represents one item on the toolbar.
It has a unique id (except for the separators), the style (telling whether it is a normal button, separator or a control), the state (toggled or not, enabled or not) and short and long help strings. The default implementations use the short help string for the tooltip text which is popped up when the mouse pointer enters the tool and the long help string for the applications status bar. Notice that the toolbar can not be modified by changing its tools via the (intentionally undocumented here) setter methods of this class, all the modifications must be done using the methods of ToolBar itself.
Instance Method Summary
collapse
Methods inherited from Object
#clone, #dup, #is_same_as, #un_share
Constructor Details
#initialize(tbar = nil, toolid = Wx::StandardID::ID_SEPARATOR, label = (''), bmpNormal = Wx::NULL_BITMAP, bmpDisabled = Wx::NULL_BITMAP, kind = Wx::ItemKind::ITEM_NORMAL, clientData = nil, shortHelpString = (''), longHelpString = ('')) ⇒ Wx::ToolBarToolBase
#initialize(tbar, control, label) ⇒ Wx::ToolBarToolBase
Returns a new instance of ToolBarToolBase.
763
|
# File 'lib/wx/doc/gen/tool_bar.rb', line 763
def initialize(*args) end
|
Instance Method Details
#can_be_toggled ⇒ Boolean
Also known as:
can_be_toggled?
817
|
# File 'lib/wx/doc/gen/tool_bar.rb', line 817
def can_be_toggled; end
|
#get_bitmap ⇒ Wx::Bitmap
Also known as:
bitmap
843
|
# File 'lib/wx/doc/gen/tool_bar.rb', line 843
def get_bitmap; end
|
#get_client_data ⇒ Wx::Object
Also known as:
client_data
859
|
# File 'lib/wx/doc/gen/tool_bar.rb', line 859
def get_client_data; end
|
#get_control ⇒ Wx::Control
Also known as:
control
770
|
# File 'lib/wx/doc/gen/tool_bar.rb', line 770
def get_control; end
|
#get_disabled_bitmap ⇒ Wx::Bitmap
Also known as:
disabled_bitmap
839
|
# File 'lib/wx/doc/gen/tool_bar.rb', line 839
def get_disabled_bitmap; end
|
#get_disabled_bitmap_bundle ⇒ Wx::BitmapBundle
Also known as:
disabled_bitmap_bundle
Return the bundle containing disabled tool bitmaps.
This bundle may be invalid if the tool doesn’t show a bitmap or doesn’t have a specific disabled bitmap creates one automatically from the normal bitmap.
831
|
# File 'lib/wx/doc/gen/tool_bar.rb', line 831
def get_disabled_bitmap_bundle; end
|
868
|
# File 'lib/wx/doc/gen/tool_bar.rb', line 868
def ; end
|
#get_id ⇒ Integer
Also known as:
id
766
|
# File 'lib/wx/doc/gen/tool_bar.rb', line 766
def get_id; end
|
#get_kind ⇒ Wx::ItemKind
Also known as:
kind
802
|
# File 'lib/wx/doc/gen/tool_bar.rb', line 802
def get_kind; end
|
#get_label ⇒ Wx::String
Also known as:
label
847
|
# File 'lib/wx/doc/gen/tool_bar.rb', line 847
def get_label; end
|
#get_long_help ⇒ Wx::String
Also known as:
long_help
855
|
# File 'lib/wx/doc/gen/tool_bar.rb', line 855
def get_long_help; end
|
#get_normal_bitmap ⇒ Wx::Bitmap
Also known as:
normal_bitmap
835
|
# File 'lib/wx/doc/gen/tool_bar.rb', line 835
def get_normal_bitmap; end
|
#get_normal_bitmap_bundle ⇒ Wx::BitmapBundle
Also known as:
normal_bitmap_bundle
Return the bundle containing normal tool bitmaps.
This bundle may be invalid if the tool doesn’t show a bitmap.
824
|
# File 'lib/wx/doc/gen/tool_bar.rb', line 824
def get_normal_bitmap_bundle; end
|
#get_short_help ⇒ Wx::String
Also known as:
short_help
851
|
# File 'lib/wx/doc/gen/tool_bar.rb', line 851
def get_short_help; end
|
#get_style ⇒ Integer
Also known as:
style
798
|
# File 'lib/wx/doc/gen/tool_bar.rb', line 798
def get_style; end
|
774
|
# File 'lib/wx/doc/gen/tool_bar.rb', line 774
def get_tool_bar; end
|
782
|
# File 'lib/wx/doc/gen/tool_bar.rb', line 782
def is_button; end
|
#is_control ⇒ Boolean
Also known as:
control?
786
|
# File 'lib/wx/doc/gen/tool_bar.rb', line 786
def is_control; end
|
#is_enabled ⇒ Boolean
Also known as:
enabled?
809
|
# File 'lib/wx/doc/gen/tool_bar.rb', line 809
def is_enabled; end
|
#is_separator ⇒ Boolean
Also known as:
separator?
790
|
# File 'lib/wx/doc/gen/tool_bar.rb', line 790
def is_separator; end
|
#is_stretchable ⇒ Boolean
Also known as:
stretchable?
778
|
# File 'lib/wx/doc/gen/tool_bar.rb', line 778
def is_stretchable; end
|
#is_stretchable_space ⇒ Boolean
Also known as:
stretchable_space?
794
|
# File 'lib/wx/doc/gen/tool_bar.rb', line 794
def is_stretchable_space; end
|
#is_toggled ⇒ Boolean
Also known as:
toggled?
813
|
# File 'lib/wx/doc/gen/tool_bar.rb', line 813
def is_toggled; end
|
#make_stretchable ⇒ void
This method returns an undefined value.
806
|
# File 'lib/wx/doc/gen/tool_bar.rb', line 806
def make_stretchable; end
|
This method returns an undefined value.
864
|
# File 'lib/wx/doc/gen/tool_bar.rb', line 864
def () end
|