Class: Wnck::Tasklist
- Inherits:
-
Gtk::Container
- Object
- Gtk::Container
- Wnck::Tasklist
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#button_relief=(relief) ⇒ nil
Sets the relief type of the buttons in tasklist to relief.
-
#get_size_hint_list(n_elements) ⇒ Integer
Since a Wnck::Tasklist does not have a fixed size (#WnckWindow can be grouped when needed, for example), the standard size request mechanism in GTK+ is not enough to announce what sizes can be used by tasklist.
-
#grouping=(grouping) ⇒ nil
Sets the grouping policy for tasklist to grouping.
-
#grouping_limit=(limit) ⇒ nil
Sets the maximum size of buttons in tasklist before tasklist tries to group Wnck::Window in the same #WnckApplication in only one button.
-
#handle ⇒ Wnck::Handle
Handle.
- #handle=(handle) ⇒ Wnck::Handle
-
#include_all_workspaces=(include_all_workspaces) ⇒ nil
Sets tasklist to display Wnck::Window from all #WnckWorkspace or not, according to include_all_workspaces.
-
#initialize(handle) ⇒ Gtk::Widget
constructor
Creates a new Wnck::Tasklist.
-
#middle_click_close=(middle_click_close) ⇒ nil
Sets tasklist to close windows with mouse middle click on button, according to middle_click_close.
-
#orientation=(orient) ⇒ nil
Set the orientation of the tasklist to match orient.
-
#scroll_enabled ⇒ Boolean
Gets the scroll behavior of the tasklist.
-
#scroll_enabled=(scroll_enabled) ⇒ nil
Sets the scroll behavior of the tasklist.
-
#set_icon_loader(load_icon_func, data, free_data_func) ⇒ nil
Sets a function to be used for loading icons.
-
#switch_workspace_on_unminimize=(switch_workspace_on_unminimize) ⇒ nil
Sets tasklist to activate or not the Wnck::Workspace a #WnckWindow is on when unminimizing it, according to switch_workspace_on_unminimize.
Constructor Details
#initialize(handle) ⇒ Gtk::Widget
Creates a new Wnck::Tasklist. The #WnckTasklist will list #WnckWindow of the Wnck::Screen it is on.
Instance Method Details
#button_relief=(relief) ⇒ nil
Sets the relief type of the buttons in tasklist to relief. The main use of this function is proper integration of Wnck::Tasklist in panels with non-system backgrounds.
#get_size_hint_list(n_elements) ⇒ Integer
Since a Wnck::Tasklist does not have a fixed size (#WnckWindow can be grouped when needed, for example), the standard size request mechanism in GTK+ is not enough to announce what sizes can be used by tasklist. The size hints mechanism is a solution for this. See panel_applet_set_size_hints() for more information. returned by this function. This number should always be pair. appropriate size for tasklist.
#grouping=(grouping) ⇒ nil
Sets the grouping policy for tasklist to grouping.
#grouping_limit=(limit) ⇒ nil
Sets the maximum size of buttons in tasklist before tasklist tries to group Wnck::Window in the same #WnckApplication in only one button. This limit is valid only when the grouping policy of tasklist is %WNCK_TASKLIST_AUTO_GROUP.
#handle ⇒ Wnck::Handle
Returns handle.
#handle=(handle) ⇒ Wnck::Handle
#include_all_workspaces=(include_all_workspaces) ⇒ nil
Sets tasklist to display Wnck::Window from all #WnckWorkspace or not, according to include_all_workspaces.
Note that if the active Wnck::Workspace has a viewport and if include_all_workspaces is false, then only the Wnck::Window visible in the viewport are displayed in tasklist. The rationale for this is that the viewport is generally used to implement workspace-like behavior. A side-effect of this is that, when using multiple Wnck::Workspace with viewport, it is not possible to show all Wnck::Window from a #WnckWorkspace (even those that are not visible in the viewport) in tasklist without showing all Wnck::Window from all #WnckWorkspace. Wnck::Workspace in tasklist.
#middle_click_close=(middle_click_close) ⇒ nil
Sets tasklist to close windows with mouse middle click on button, according to middle_click_close. button.
#orientation=(orient) ⇒ nil
Set the orientation of the tasklist to match orient. This function can be used to integrate a Wnck::Tasklist in vertical panels.
#scroll_enabled ⇒ Boolean
Gets the scroll behavior of the tasklist.
#scroll_enabled=(scroll_enabled) ⇒ nil
Sets the scroll behavior of the tasklist. When set to true, a scroll event over the tasklist will change the current window accordingly.
#set_icon_loader(load_icon_func, data, free_data_func) ⇒ nil
Sets a function to be used for loading icons.
#switch_workspace_on_unminimize=(switch_workspace_on_unminimize) ⇒ nil
Sets tasklist to activate or not the Wnck::Workspace a #WnckWindow is on when unminimizing it, according to switch_workspace_on_unminimize.
FIXME: does it still work? Wnck::Window is on when unminimizing it.