Flags¶
Details¶
- class Xdp.BackgroundFlags(value)¶
Bases:
GObject.GFlags
Options to use when requesting background.
- NONE = 0¶
No options
- AUTOSTART = 1¶
Request autostart as well
- ACTIVATABLE = 2¶
Whether the application is D-Bus-activatable
- class Xdp.CursorMode(value)¶
Bases:
GObject.GFlags
Options for how the cursor is handled.
- HIDDEN = 1¶
no cursor
- EMBEDDED = 2¶
cursor is embedded on the stream
- METADATA = 4¶
cursor is sent as metadata of the stream
- class Xdp.DeviceType(value)¶
Bases:
GObject.GFlags
Flags to specify what input devices to control for a remote desktop session.
- NONE = 0¶
no device
- KEYBOARD = 1¶
control the keyboard.
- POINTER = 2¶
control the pointer.
- TOUCHSCREEN = 4¶
control the touchscreen.
- class Xdp.InhibitFlags(value)¶
Bases:
GObject.GFlags
Flags that determine what session status changes are inhibited.
- LOGOUT = 1¶
Inhibit logout
- USER_SWITCH = 2¶
Inhibit user switching
- SUSPEND = 4¶
Inhibit suspend
- IDLE = 8¶
Inhibit the session going idle
- class Xdp.LauncherType(value)¶
Bases:
GObject.GFlags
The type of a launcher.
- APPLICATION = 1¶
a launcher for a regular application
- WEBAPP = 2¶
a launcher for a web app
- class Xdp.OpenFileFlags(value)¶
Bases:
GObject.GFlags
Options for opening files.
- NONE = 0¶
No options
- MULTIPLE = 1¶
Allow selecting multiple files
- class Xdp.OpenUriFlags(value)¶
Bases:
GObject.GFlags
Options for opening uris.
- NONE = 0¶
No options
- ASK = 1¶
Use an application chooser for the given uri
- WRITABLE = 2¶
Allow writing to file (if uri points to a local file that is exported in the document portal and app is sandboxed itself)
- class Xdp.OutputType(value)¶
Bases:
GObject.GFlags
Flags to specify what kind of sources to offer for a screencast session.
- NONE = 0¶
do not select any output
- MONITOR = 1¶
allow selecting monitors
- WINDOW = 2¶
allow selecting individual application windows
- VIRTUAL = 4¶
allow creating new virtual displays
- class Xdp.RemoteDesktopFlags(value)¶
Bases:
GObject.GFlags
Options for starting remote desktop sessions.
- NONE = 0¶
No options
- MULTIPLE = 1¶
allow opening multiple streams
- class Xdp.ScreencastFlags(value)¶
Bases:
GObject.GFlags
Options for starting screen casts.
- NONE = 0¶
No options
- MULTIPLE = 1¶
allow opening multiple streams
- class Xdp.ScreenshotFlags(value)¶
Bases:
GObject.GFlags
- NONE = 0¶
- INTERACTIVE = 1¶
- class Xdp.SpawnFlags(value)¶
Bases:
GObject.GFlags
Flags influencing the spawn operation and how the new sandbox is created.
- NONE = 0¶
No flags
- CLEARENV = 1¶
Clear the environment
- WATCH = 16¶
Kill the sandbox when the caller disappears from the session bus
- LATEST = 2¶
Spawn the latest version of the app
- SANDBOX = 4¶
Spawn in a sandbox (equivalent to the –sandbox option of flatpak run)
- NO_NETWORK = 8¶
Spawn without network (equivalent to the –unshare=network option of flatpak run)