Libxfce4windowingui.WindowListMenu

g Atk.ImplementorIface Atk.ImplementorIface Gtk.Widget Gtk.Widget Atk.ImplementorIface->Gtk.Widget GObject.GInterface GObject.GInterface GObject.GInterface->Atk.ImplementorIface Gtk.Buildable Gtk.Buildable GObject.GInterface->Gtk.Buildable GObject.InitiallyUnowned GObject.InitiallyUnowned GObject.InitiallyUnowned->Gtk.Widget GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned Gtk.Buildable->Gtk.Widget Gtk.Container Gtk.Container Gtk.MenuShell Gtk.MenuShell Gtk.Container->Gtk.MenuShell Gtk.Menu Gtk.Menu Libxfce4windowingui.WindowListMenu Libxfce4windowingui.WindowListMenu Gtk.Menu->Libxfce4windowingui.WindowListMenu Gtk.MenuShell->Gtk.Menu Gtk.Widget->Gtk.Container

Subclasses:

None

Methods

Inherited:

Gtk.Menu (31), Gtk.MenuShell (14), Gtk.Container (35), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10)

Structs:

Gtk.ContainerClass (5), Gtk.WidgetClass (12), GObject.ObjectClass (5)

class

new (screen)

Virtual Methods

Inherited:

Gtk.MenuShell (9), Gtk.Container (10), Gtk.Widget (82), GObject.Object (7), Gtk.Buildable (10)

Properties

Inherited:

Gtk.Menu (12), Gtk.MenuShell (1), Gtk.Container (3), Gtk.Widget (39)

Name

Type

Flags

Short Description

minimized-icon-saturation

int

r/w

Saturation of minimized window icons

screen

Libxfce4windowing.Screen

r/w/co

Libxfce4windowing.Screen

show-all-workspaces

bool

r/w

Show windows from all workspaces, rather than just the current workspace

show-icons

bool

r/w

Show icons in the menu

show-sticky-windows-once

bool

r/w

Show sticky windows once, rather than on every workspace

show-urgent-windows-section

bool

r/w

Add a section for windows that are asking for attention

show-workspace-actions

bool

r/w

Show menu items for adding and removing workspaces

show-workspace-names

bool

r/w

Show headings with each workspace name

show-workspace-submenus

bool

r/w

Show the contents of each workspace in a submenu

window-title-ellipsize-mode

Pango.EllipsizeMode

r/w

Ellipsize mode to use for the window title labels

window-title-max-width-chars

int

r/w

Maximum width (in characters) before window titles ellipsize

Child Properties

Inherited:

Gtk.Menu (4)

Style Properties

Inherited:

Gtk.Menu (7), Gtk.Widget (17)

Signals

Inherited:

Gtk.Menu (2), Gtk.MenuShell (8), Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)

Fields

Inherited:

Gtk.Menu (2), Gtk.MenuShell (8), Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)

Class Details

class Libxfce4windowingui.WindowListMenu(**kwargs)
Bases:

Gtk.Menu

Abstract:

No

Structure:

Libxfce4windowingui.WindowListMenuClass

classmethod new(screen)
Parameters:

screen (Libxfce4windowing.Screen) – an Libxfce4windowing.Screen.

Returns:

A Gtk.Menu subclass as a Gtk.Widget, with a floating reference.

Return type:

Gtk.Widget

Creates a new Libxfce4windowingui.WindowListMenu, populating it from screen.

Property Details

Libxfce4windowingui.WindowListMenu.props.minimized_icon_saturation
Name:

minimized-icon-saturation

Type:

int

Default Value:

50

Flags:

READABLE, WRITABLE

The saturation of icons for minimized windows. The value should be between 0 and 100. Lower values will make the icon look more like a greyscale image.

Libxfce4windowingui.WindowListMenu.props.screen
Name:

screen

Type:

Libxfce4windowing.Screen

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The Libxfce4windowing.Screen to use when populating the menu.

Libxfce4windowingui.WindowListMenu.props.show_all_workspaces
Name:

show-all-workspaces

Type:

bool

Default Value:

True

Flags:

READABLE, WRITABLE

Whether or not to show all workspaces in the list, or just the current workspace.

Libxfce4windowingui.WindowListMenu.props.show_icons
Name:

show-icons

Type:

bool

Default Value:

True

Flags:

READABLE, WRITABLE

Whether or not to show icons in the menu.

Libxfce4windowingui.WindowListMenu.props.show_sticky_windows_once
Name:

show-sticky-windows-once

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE

Whether or not sticky/pinned windows should be shown once (on the active workspace), or in each workspace list.

Libxfce4windowingui.WindowListMenu.props.show_urgent_windows_section
Name:

show-urgent-windows-section

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE

Whether or not to show an extra section that lists urgent windows on other workspaces.

Libxfce4windowingui.WindowListMenu.props.show_workspace_actions
Name:

show-workspace-actions

Type:

bool

Default Value:

True

Flags:

READABLE, WRITABLE

Whether or not to show a section in the menu with items to add and remove workspaces.

Libxfce4windowingui.WindowListMenu.props.show_workspace_names
Name:

show-workspace-names

Type:

bool

Default Value:

True

Flags:

READABLE, WRITABLE

Whether or not to show a heading with the workspace name before the list of windows on that workspace.

Libxfce4windowingui.WindowListMenu.props.show_workspace_submenus
Name:

show-workspace-submenus

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE

Whether or not the lists of windows should be in submenus for each workspace.

Libxfce4windowingui.WindowListMenu.props.window_title_ellipsize_mode
Name:

window-title-ellipsize-mode

Type:

Pango.EllipsizeMode

Default Value:

Pango.EllipsizeMode.MIDDLE

Flags:

READABLE, WRITABLE

The Pango.EllipsizeMode to use when ellipsizing window titles.

Libxfce4windowingui.WindowListMenu.props.window_title_max_width_chars
Name:

window-title-max-width-chars

Type:

int

Default Value:

24

Flags:

READABLE, WRITABLE

The maximum width (in characters) of window titles to display before ellipsizing.