Enums

Details

class Wnck.ClientType(value)

Bases: GObject.GEnum

Type describing the role of the libwnck user.

New in version 2.14.

APPLICATION = 1

the libwnck user is a normal application.

PAGER = 2

the libwnck user is an utility application dealing with window management, like pagers and taskbars.

class Wnck.MotionDirection(value)

Bases: GObject.GEnum

Type defining a direction in which to search a neighbor Wnck.Workspace.

New in version 2.14.

UP = -1

search a neighbor Wnck.Workspace above another Wnck.Workspace.

DOWN = -2

search a neighbor Wnck.Workspace below another Wnck.Workspace.

LEFT = -3

search a neighbor Wnck.Workspace at the left of another Wnck.Workspace.

RIGHT = -4

search a neighbor Wnck.Workspace at the right of another Wnck.Workspace.

class Wnck.PagerDisplayMode(value)

Bases: GObject.GEnum

Mode defining what a Wnck.Pager will display.

NAME = 0

the Wnck.Pager will only display the names of the workspaces.

CONTENT = 1

the Wnck.Pager will display a representation for each window in the workspaces.

class Wnck.PagerScrollMode(value)

Bases: GObject.GEnum

Mode defining in which order scrolling on a Wnck.Pager will cycle through workspaces.

2D = 0
_2D = 0

given that the workspaces are set up in multiple rows, scrolling on the Wnck.Pager will cycle through the workspaces as if on a 2-dimensional map. Example cycling order with 2 rows and 4 workspaces: 1 3 2 4.

1D = 1
_1D = 1

the Wnck.Pager will always cycle workspaces in a linear manner, irrespective of how many rows are configured. (Hint: Better for mice) Example cycling order with 2 rows and 4 workspaces: 1 2 3 4.

class Wnck.TasklistGroupingType(value)

Bases: GObject.GEnum

Type defining the policy of the Wnck.Tasklist for grouping multiple Wnck.Window of the same Wnck.Application.

NEVER_GROUP = 0

never group multiple Wnck.Window of the same Wnck.Application.

AUTO_GROUP = 1

group multiple Wnck.Window of the same Wnck.Application for some Wnck.Application, when there is not enough place to have a good-looking list of all Wnck.Window.

ALWAYS_GROUP = 2

always group multiple Wnck.Window of the same Wnck.Application, for all Wnck.Application.

class Wnck.WindowGravity(value)

Bases: GObject.GEnum

Flag used when changing the geometry of a Wnck.Window. This is the gravity point to use as a reference for the new position.

New in version 2.16.

CURRENT = 0

keep the current gravity point.

NORTHWEST = 1

use the left top corner of the frame window as gravity point.

STATIC = 10

use the left top corner of the client window as gravity point.

NORTH = 2

use the center of the frame window’s top side as gravity point.

NORTHEAST = 3

use the right top corner of the frame window as gravity point.

WEST = 4

use the center of the frame window’s left side as gravity point.

CENTER = 5

use the center of the frame window as gravity point.

EAST = 6

use the center of the frame window’s right side as gravity point.

SOUTHWEST = 7

use the left bottom corner of the frame window as gravity point.

SOUTH = 8

use the center of the frame window’s bottom side as gravity point.

SOUTHEAST = 9

use the right bottom corner of the frame window as gravity point.

class Wnck.WindowType(value)

Bases: GObject.GEnum

Type describing the semantic type of a Wnck.Window.

NORMAL = 0

the window is a normal window.

DESKTOP = 1

the window is a desktop.

DOCK = 2

the window is a dock or a panel.

DIALOG = 3

the window is a dialog window.

TOOLBAR = 4

the window is a tearoff toolbar.

MENU = 5

the window is a tearoff menu.

UTILITY = 6

the window is a small persistent utility window, such as a palette or toolbox.

SPLASHSCREEN = 7

the window is a splash screen displayed as an application is starting up.