Class: Wx::ThumbBarButton
- Inherits:
-
Object
- Object
- Wx::ThumbBarButton
- Defined in:
- lib/wx/doc/gen/task_bar_button.rb
Overview
This class is untracked and should not be derived from nor instances extended!
A thumbnail toolbar button is a control that displayed in the thumbnail image of a window in a taskbar button flyout.
Category: Miscellaneous Availability: only available for the WXMSW port.
Instance Method Summary collapse
- #create(id, icon, tooltip = (''), enable = true, dismissOnClick = false, hasBackground = true, shown = true, interactive = true) ⇒ Boolean
-
#disable ⇒ void
Equivalent to calling Wx::ThumbBarButton#enable(false).
-
#disable_dimiss_on_click ⇒ void
Equivalent to calling Wx::ThumbBarButton#disable_dimiss_on_click(false).
-
#enable(enable = true) ⇒ void
Enables or disables the thumbnail toolbar button.
-
#enable_dismiss_on_click(enable = true) ⇒ void
Whether the window thumbnail is dismissed after a button click.
-
#get_icon ⇒ Wx::Icon
(also: #icon)
Returns the icon associated with this control.
-
#get_id ⇒ Integer
(also: #id)
Returns the identifier associated with this control.
-
#get_tooltip ⇒ Wx::String
(also: #tooltip)
Returns the tooltip.
-
#has_background ⇒ Boolean
(also: #has_background?)
Returns true if the button has button border.
-
#hide ⇒ void
Hide the thumbnail toolbar button.
-
#initialize(*args) ⇒ ThumbBarButton
constructor
A new instance of ThumbBarButton.
-
#is_dismiss_on_click ⇒ Boolean
(also: #dismiss_on_click?)
Returns true if the button will dismiss on click.
-
#is_enable ⇒ Boolean
(also: #enable?)
Returns true if the button is enabled, false if it has been disabled.
-
#is_interactive ⇒ Boolean
(also: #interactive?)
Returns true if the button is interactive.
-
#is_shown ⇒ Boolean
(also: #shown?)
Returns true if the button is shown, false if it has been hidden.
-
#set_has_background(has = true) ⇒ void
(also: #has_background=)
Set the property that whether the button has background.
-
#set_interactive(interactive = true) ⇒ void
(also: #interactive=)
Set the property which holds whether the button is interactive.
-
#show(shown = true) ⇒ void
Show or hide the thumbnail toolbar button.
Constructor Details
#initialize ⇒ Wx::ThumbBarButton #initialize(id, icon, tooltip = (''), enable = true, dismissOnClick = false, hasBackground = true, shown = true, interactive = true) ⇒ Wx::ThumbBarButton
Returns a new instance of ThumbBarButton.
175 |
# File 'lib/wx/doc/gen/task_bar_button.rb', line 175 def initialize(*args) end |
Instance Method Details
#create(id, icon, tooltip = (''), enable = true, dismissOnClick = false, hasBackground = true, shown = true, interactive = true) ⇒ Boolean
186 |
# File 'lib/wx/doc/gen/task_bar_button.rb', line 186 def create(id, icon, tooltip=(''), enable=true, dismissOnClick=false, hasBackground=true, shown=true, interactive=true) end |
#disable ⇒ void
This method returns an undefined value.
Equivalent to calling Wx::ThumbBarButton#enable(false).
215 |
# File 'lib/wx/doc/gen/task_bar_button.rb', line 215 def disable; end |
#disable_dimiss_on_click ⇒ void
This method returns an undefined value.
Equivalent to calling Wx::ThumbBarButton#disable_dimiss_on_click(false).
229 |
# File 'lib/wx/doc/gen/task_bar_button.rb', line 229 def disable_dimiss_on_click; end |
#enable(enable = true) ⇒ void
This method returns an undefined value.
Enables or disables the thumbnail toolbar button.
211 |
# File 'lib/wx/doc/gen/task_bar_button.rb', line 211 def enable(enable=true) end |
#enable_dismiss_on_click(enable = true) ⇒ void
This method returns an undefined value.
Whether the window thumbnail is dismissed after a button click.
225 |
# File 'lib/wx/doc/gen/task_bar_button.rb', line 225 def enable_dismiss_on_click(enable=true) end |
#get_icon ⇒ Wx::Icon Also known as: icon
Returns the icon associated with this control.
195 |
# File 'lib/wx/doc/gen/task_bar_button.rb', line 195 def get_icon; end |
#get_id ⇒ Integer Also known as: id
Returns the identifier associated with this control.
190 |
# File 'lib/wx/doc/gen/task_bar_button.rb', line 190 def get_id; end |
#get_tooltip ⇒ Wx::String Also known as: tooltip
Returns the tooltip.
200 |
# File 'lib/wx/doc/gen/task_bar_button.rb', line 200 def get_tooltip; end |
#has_background ⇒ Boolean Also known as: has_background?
Returns true if the button has button border.
233 |
# File 'lib/wx/doc/gen/task_bar_button.rb', line 233 def has_background; end |
#hide ⇒ void
This method returns an undefined value.
Hide the thumbnail toolbar button.
Equivalent to calling Wx::ThumbBarButton#show(false).
256 |
# File 'lib/wx/doc/gen/task_bar_button.rb', line 256 def hide; end |
#is_dismiss_on_click ⇒ Boolean Also known as: dismiss_on_click?
Returns true if the button will dismiss on click.
219 |
# File 'lib/wx/doc/gen/task_bar_button.rb', line 219 def is_dismiss_on_click; end |
#is_enable ⇒ Boolean Also known as: enable?
Returns true if the button is enabled, false if it has been disabled.
205 |
# File 'lib/wx/doc/gen/task_bar_button.rb', line 205 def is_enable; end |
#is_interactive ⇒ Boolean Also known as: interactive?
Returns true if the button is interactive.
260 |
# File 'lib/wx/doc/gen/task_bar_button.rb', line 260 def is_interactive; end |
#is_shown ⇒ Boolean Also known as: shown?
Returns true if the button is shown, false if it has been hidden.
244 |
# File 'lib/wx/doc/gen/task_bar_button.rb', line 244 def is_shown; end |
#set_has_background(has = true) ⇒ void Also known as: has_background=
This method returns an undefined value.
Set the property that whether the button has background.
239 |
# File 'lib/wx/doc/gen/task_bar_button.rb', line 239 def set_has_background(has=true) end |
#set_interactive(interactive = true) ⇒ void Also known as: interactive=
This method returns an undefined value.
Set the property which holds whether the button is interactive.
A non-interactive thumbnail toolbar button does not react to user interaction, but is still visually enabled.
268 |
# File 'lib/wx/doc/gen/task_bar_button.rb', line 268 def set_interactive(interactive=true) end |
#show(shown = true) ⇒ void
This method returns an undefined value.
Show or hide the thumbnail toolbar button.
250 |
# File 'lib/wx/doc/gen/task_bar_button.rb', line 250 def show(shown=true) end |