Flags

Details

class Wnck.WindowActions(value)

Bases: GObject.GFlags

Type used as a bitmask to describe the actions that can be done for a Wnck.Window.

MOVE = 1

the window may be moved around the screen.

UNSHADE = 1024

the window may be unshaded.

CLOSE = 128

the window may be closed.

ABOVE = 131072

the window may be made above other windows.

MAXIMIZE_HORIZONTALLY = 16

the window may be maximized horizontally.

MAXIMIZE = 16384

the window may be maximized.

RESIZE = 2

the window may be resized.

UNSTICK = 2048

the window may be unsticked.

UNMAXIMIZE_HORIZONTALLY = 256

the window may be unmaximized horizontally.

BELOW = 262144

the window may be made below other windows.

MAXIMIZE_VERTICALLY = 32

the window may be maximized vertically.

UNMAXIMIZE = 32768

the window may be unmaximized.

SHADE = 4

the window may be shaded.

MINIMIZE = 4096

the window may be minimized.

UNMAXIMIZE_VERTICALLY = 512

the window may be maximized vertically.

CHANGE_WORKSPACE = 64

the window may be moved between workspaces, or (un)pinned.

FULLSCREEN = 65536

the window may be brought to fullscreen.

STICK = 8

the window may be sticked.

UNMINIMIZE = 8192

the window may be unminimized.

class Wnck.WindowMoveResizeMask(value)

Bases: GObject.GFlags

Flag used as a bitmask when changing the geometry of a Wnck.Window. This indicates which part of the geometry should be changed.

New in version 2.16.

X = 1

X coordinate of the window should be changed.

Y = 2

Y coordinate of the window should be changed.

WIDTH = 4

width of the window should be changed.

HEIGHT = 8

height of the window should be changed.

class Wnck.WindowState(value)

Bases: GObject.GFlags

Type used as a bitmask to describe the state of a Wnck.Window.

MINIMIZED = 1

the window is minimized.

URGENT = 1024

the window requires a response from the user.

HIDDEN = 128

the window is not visible on its Wnck.Workspace and viewport (when minimized, for example).

SKIP_PAGER = 16

the window should not be included on pagers.

MAXIMIZED_HORIZONTALLY = 2

the window is horizontically maximized.

ABOVE = 2048

the window is above other windows (see Wnck.Window.make_above()).

FULLSCREEN = 256

the window is fullscreen.

SKIP_TASKLIST = 32

the window should not be included on tasklists.

MAXIMIZED_VERTICALLY = 4

the window is vertically maximized.

BELOW = 4096

the window is below other windows (see Wnck.Window.make_below()).

DEMANDS_ATTENTION = 512

the window needs attention (because the window requested activation but the window manager refused it, for example).

STICKY = 64

the window is sticky (see Wnck.Window.is_sticky()).

SHADED = 8

the window is shaded.