Class: Wx::TaskBarButton
- Inherits:
-
Object
- Object
- Wx::TaskBarButton
- 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 taskbar button that associated with the window under Windows 7 or later.
It is used to access the functionality including thumbnail representations, thumbnail toolbars, notification and status overlays, and progress indicators.
This class is only created and initialized in the internal implementation of Frame by design. You can only get the pointer of the instance which associated with the frame by calling Frame#msw_get_task_bar_button.
Category: Miscellaneous Availability: only available for the WXMSW port.
Instance Method Summary collapse
-
#append_separator_in_thumb_bar ⇒ Boolean
Appends a separator to the taskbar thumbnail toolbar.
-
#append_thumb_bar_button(button) ⇒ Boolean
Appends a button to the taskbar thumbnail toolbar.
-
#hide ⇒ void
Hide in the taskbar.
-
#insert_thumb_bar_button(pos, button) ⇒ Boolean
Inserts the given button before the position pos to the taskbar thumbnail toolbar.
-
#pulse_progress ⇒ void
Makes the progress indicator run in indeterminate mode.
- #remove_thumb_bar_button(*args) ⇒ Object
-
#set_overlay_icon(icon, description = ('')) ⇒ void
(also: #overlay_icon=)
Set an overlay icon to indicate application status or a notification top the user.
-
#set_progress_range(range) ⇒ void
(also: #progress_range=)
Starts showing a determinate progress indicator.
-
#set_progress_state(state) ⇒ void
(also: #progress_state=)
Set the state of the progress indicator displayed on a taskbar button.
-
#set_progress_value(value) ⇒ void
(also: #progress_value=)
Update the progress indicator, setting the progress to the new value .
-
#set_thumbnail_clip(rect) ⇒ void
(also: #thumbnail_clip=)
Selects a portion of a window’s client area to display as that window’s thumbnail in the taskbar.
-
#set_thumbnail_contents(child) ⇒ void
(also: #thumbnail_contents=)
Selects the child window area to display as that window’s thumbnail in the taskbar.
-
#set_thumbnail_tooltip(tooltip) ⇒ void
(also: #thumbnail_tooltip=)
Specifies or updates the text of the tooltip that is displayed when the mouse pointer rests on an individual preview thumbnail in a taskbar button flyout.
-
#show(show = true) ⇒ void
Show in the taskbar.
Instance Method Details
#append_separator_in_thumb_bar ⇒ Boolean
Appends a separator to the taskbar thumbnail toolbar.
The number of buttons and separators is limited to 7.
131 |
# File 'lib/wx/doc/gen/task_bar_button.rb', line 131 def ; end |
#append_thumb_bar_button(button) ⇒ Boolean
Appends a button to the taskbar thumbnail toolbar.
The number of buttons and separators is limited to 7.
119 |
# File 'lib/wx/doc/gen/task_bar_button.rb', line 119 def () end |
#hide ⇒ void
This method returns an undefined value.
Hide in the taskbar.
58 |
# File 'lib/wx/doc/gen/task_bar_button.rb', line 58 def hide; end |
#insert_thumb_bar_button(pos, button) ⇒ Boolean
Inserts the given button before the position pos to the taskbar thumbnail toolbar.
The number of buttons and separators is limited to 7.
106 |
# File 'lib/wx/doc/gen/task_bar_button.rb', line 106 def (pos, ) end |
#pulse_progress ⇒ void
This method returns an undefined value.
Makes the progress indicator run in indeterminate mode.
The first call to this method starts showing the indeterminate progress indicator if it hadn’t been shown yet. Call SetProgressRange(0) to stop showing the progress indicator.
49 |
# File 'lib/wx/doc/gen/task_bar_button.rb', line 49 def pulse_progress; end |
#remove_thumb_bar_button(button) ⇒ Wx::ThumbBarButton #remove_thumb_bar_button(id) ⇒ Wx::ThumbBarButton
145 |
# File 'lib/wx/doc/gen/task_bar_button.rb', line 145 def (*args) end |
#set_overlay_icon(icon, description = ('')) ⇒ void Also known as: overlay_icon=
This method returns an undefined value.
Set an overlay icon to indicate application status or a notification top the user.
79 |
# File 'lib/wx/doc/gen/task_bar_button.rb', line 79 def (icon, description=('')) end |
#set_progress_range(range) ⇒ void Also known as: progress_range=
This method returns an undefined value.
Starts showing a determinate progress indicator.
Call #set_progress_value after this call to update the progress indicator. If range is 0, the progress indicator is dismissed.
35 |
# File 'lib/wx/doc/gen/task_bar_button.rb', line 35 def set_progress_range(range) end |
#set_progress_state(state) ⇒ void Also known as: progress_state=
This method returns an undefined value.
Set the state of the progress indicator displayed on a taskbar button.
72 |
# File 'lib/wx/doc/gen/task_bar_button.rb', line 72 def set_progress_state(state) end |
#set_progress_value(value) ⇒ void Also known as: progress_value=
This method returns an undefined value.
Update the progress indicator, setting the progress to the new value .
41 |
# File 'lib/wx/doc/gen/task_bar_button.rb', line 41 def set_progress_value(value) end |
#set_thumbnail_clip(rect) ⇒ void Also known as: thumbnail_clip=
This method returns an undefined value.
Selects a portion of a window’s client area to display as that window’s thumbnail in the taskbar.
85 |
# File 'lib/wx/doc/gen/task_bar_button.rb', line 85 def set_thumbnail_clip(rect) end |
#set_thumbnail_contents(child) ⇒ void Also known as: thumbnail_contents=
This method returns an undefined value.
Selects the child window area to display as that window’s thumbnail in the taskbar.
91 |
# File 'lib/wx/doc/gen/task_bar_button.rb', line 91 def set_thumbnail_contents(child) end |
#set_thumbnail_tooltip(tooltip) ⇒ void Also known as: thumbnail_tooltip=
This method returns an undefined value.
Specifies or updates the text of the tooltip that is displayed when the mouse pointer rests on an individual preview thumbnail in a taskbar button flyout.
63 |
# File 'lib/wx/doc/gen/task_bar_button.rb', line 63 def set_thumbnail_tooltip(tooltip) end |
#show(show = true) ⇒ void
This method returns an undefined value.
Show in the taskbar.
54 |
# File 'lib/wx/doc/gen/task_bar_button.rb', line 54 def show(show=true) end |