Enums

Details

class Libxfce4ui.GtkMenuItem(value)

Bases: GLib.Enum

MENU_ITEM = 0
IMAGE_MENU_ITEM = 1
CHECK_MENU_ITEM = 2
RADIO_MENU_ITEM = 3
class Libxfce4ui.SMClientPriority(value)

Bases: GLib.Enum

Some sample priority values for use with Libxfce4ui.SMClient.set_priority().

HIGHEST = 0

A high priority value. You probably don’t want to use this.

WM = 15

A priority value for use by the window manager.

CORE = 25

A priority value for use by applications that place windows on the screen and possibly set window manager struts.

LOWEST = 255

The lowest possible priority value.

DESKTOP = 35

A priority value for use by applications that draw on the desktop.

DEFAULT = 50

A priority value for regular applications.

class Libxfce4ui.SMClientRestartStyle(value)

Bases: GObject.GEnum

An enumeration describing how the session manager should restart the application.

NORMAL = 0

Only restart the application if it is still running when the session is next saved.

IMMEDIATELY = 1

Immediately restart the application if it ever quits.

class Libxfce4ui.SMClientShutdownHint(value)

Bases: GObject.GEnum

Hints to the session manager what kind of shutdown the session manager should perform.

ASK = 0

Prompt the user for a choice,

LOGOUT = 1

End the current session,

HALT = 2

Shut down the computer.

REBOOT = 3

Restart the computer.

class Libxfce4ui.SmCLientErrorEnum(value)

Bases: GObject.GEnum

Error codes returned by XfceSmCLient functions.

FAILED = 0

Failed to connect to the session manager.

INVALID_CLIENT = 1

Session does not have a valid client id.