Scroll to navigation

Gnome2::Wnck::Tasklist(3pm) User Contributed Perl Documentation Gnome2::Wnck::Tasklist(3pm)

NAME

Gnome2::Wnck::Tasklist - a tasklist widget, showing the list of windows as a list of buttons

HIERARCHY

  Glib::Object
  +----Glib::InitiallyUnowned
       +----Gtk2::Object
            +----Gtk2::Widget
                 +----Gtk2::Container
                      +----Gnome2::Wnck::Tasklist

INTERFACES

  Glib::Object::_Unregistered::AtkImplementorIface
  Gtk2::Buildable

METHODS

widget = Gnome2::Wnck::Tasklist->new ($screen)

$screen (Gnome2::Wnck::Screen)

$tasklist->set_button_relief ($relief)

$relief (Gtk2::ReliefStyle)

$tasklist->set_grouping_limit ($limit)

$limit (integer)

$tasklist->set_grouping ($grouping)

$grouping (Gnome2::Wnck::TasklistGroupingType)

$tasklist->set_icon_loader ($func, $data=undef)

  • $func (scalar)
  • $data (scalar)

$tasklist->set_include_all_workspaces ($include_all_workspaces)

$include_all_workspaces (boolean)

integer = $tasklist->get_minimum_height

$tasklist->set_minimum_height ($size)

$size (integer)

integer = $tasklist->get_minimum_width

$tasklist->set_minimum_width ($size)

$size (integer)

$tasklist->set_screen ($screen)

$screen (Gnome2::Wnck::Screen)

list = $tasklist->get_size_hint_list

Returns a list of integers.

$tasklist->set_switch_workspace_on_unminimize ($switch_workspace_on_unminimize)

$switch_workspace_on_unminimize (boolean)

STYLE PROPERTIES

'fade-loop-time' (float : default 3 : readable / private)
The time one loop takes when fading, in seconds. Default: 3.0
'fade-max-loops' (integer : default 5 : readable / private)
The number of fading loops. 0 means the button will only fade to the final color. Default: 5
'fade-opacity' (float : default 0.8 : readable / private)
The final opacity that will be reached. Default: 0.8
'fade-overlay-rect' (boolean : default true : readable / private)
Compatibility mode for pixbuf engine themes that cannot react to color changes. If enabled, a rectangle with the correct color will be drawn on top of the button. Default: TRUE

ENUMS AND FLAGS

enum Gnome2::Wnck::TasklistGroupingType

  • 'never-group' / 'WNCK_TASKLIST_NEVER_GROUP'
  • 'auto-group' / 'WNCK_TASKLIST_AUTO_GROUP'
  • 'always-group' / 'WNCK_TASKLIST_ALWAYS_GROUP'

enum Gtk2::ReliefStyle

  • 'normal' / 'GTK_RELIEF_NORMAL'
  • 'half' / 'GTK_RELIEF_HALF'
  • 'none' / 'GTK_RELIEF_NONE'

SEE ALSO

Gnome2::Wnck, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container

COPYRIGHT

Copyright (C) 2003-2006 by the gtk2-perl team.

This software is licensed under the LGPL. See Gnome2::Wnck for a full notice.

2017-07-23 perl v5.26.0