Enums

Details

class Xdp.ButtonState(value)

Bases: GObject.GEnum

The Xdp.ButtonState enumeration is used to describe the state of buttons.

RELEASED = 0

the button is down

PRESSED = 1

the button is up

class Xdp.CameraFlags(value)

Bases: GObject.GEnum

NONE = 0
class Xdp.DiscreteAxis(value)

Bases: GObject.GEnum

The XdpDiscreteAxis enumeration is used to describe the discrete scroll axes.

HORIZONTAL_SCROLL = 0

the horizontal scroll axis

VERTICAL_SCROLL = 1

the horizontal scroll axis

class Xdp.EmailFlags(value)

Bases: GObject.GEnum

NONE = 0
class Xdp.KeyState(value)

Bases: GObject.GEnum

The XdpKeyState enumeration is used to describe the state of keys.

RELEASED = 0

the key is down

PRESSED = 1

the key is up

class Xdp.LocationAccuracy(value)

Bases: GObject.GEnum

The values of this enum indicate the desired level of accuracy for location information.

NONE = 0

No particular accuracy

COUNTRY = 1

Country-level accuracy

CITY = 2

City-level accuracy

NEIGHBORHOOD = 3

Neighborhood-level accuracy

STREET = 4

Street-level accuracy

EXACT = 5

Maximum accuracy

class Xdp.LocationMonitorFlags(value)

Bases: GObject.GEnum

NONE = 0
class Xdp.LoginSessionState(value)

Bases: GObject.GEnum

The values of this enum are returned in the [signal`Portal`:py:func:::session-state-changed<Xdp.LoginSessionState.signals.session_state_changed>] signal to indicate the current state of the user session.

RUNNING = 1

the session is running

QUERY_END = 2

the session is in the query end phase, during which applications can save their state or inhibit the session from ending

ENDING = 3

the session is about to end

class Xdp.NotificationFlags(value)

Bases: GObject.GEnum

NONE = 0
class Xdp.PersistMode(value)

Bases: GObject.GEnum

Options for how the screencast session should persist.

NONE = 0

do not persist

TRANSIENT = 1

persist as long as the application is alive

PERSISTENT = 2

persist until the user revokes this permission

class Xdp.PrintFlags(value)

Bases: GObject.GEnum

NONE = 0
class Xdp.SaveFileFlags(value)

Bases: GObject.GEnum

NONE = 0
class Xdp.SessionMonitorFlags(value)

Bases: GObject.GEnum

NONE = 0
class Xdp.SessionState(value)

Bases: GObject.GEnum

The state of a session.

INITIAL = 0

the session has not been started.

ACTIVE = 1

the session is active.

CLOSED = 2

the session is no longer active.

class Xdp.SessionType(value)

Bases: GObject.GEnum

The type of a session.

SCREENCAST = 0

a screencast session.

REMOTE_DESKTOP = 1

a remote desktop session.

class Xdp.UpdateInstallFlags(value)

Bases: GObject.GEnum

NONE = 0
class Xdp.UpdateMonitorFlags(value)

Bases: GObject.GEnum

NONE = 0
class Xdp.UpdateStatus(value)

Bases: GObject.GEnum

The values of this enum are returned in the [signal`Portal`:py:func:::update-progress<Xdp.UpdateStatus.signals.update_progress>] signal to indicate the current progress of an installation.

RUNNING = 0

Installation in progress

EMPTY = 1

Nothing to install

DONE = 2

Installation finished successfully

FAILED = 3

Installation failed

class Xdp.UserInformationFlags(value)

Bases: GObject.GEnum

NONE = 0