### Namespace

# Xdp – 1.0

Flatpak portal library

Version | 0.7.1
Authors | Flatpak
License | LGPL-3.0-only
Website | https://libportal.org/
Source | https://github.com/flatpak/libportal

#### Build

C headers | `libportal/portal.h`
pkg-config files | `libportal`

#### Dependencies

GObject—2.0 | The base type system library
| Browse documentation

#### Additional documentation

- libportal Reference Manual
- Classes Hierarchy

#### Classes

Portal | Context for portal calls. unstable since: 1.0
Session | A representation of long-lived screencast portal interactions. unstable since: 1.0

#### Structs

Parent | Parent window abstraction. unstable since: 1.0

#### Enumerations

ButtonState | The XdpButtonState enumeration is used to describe the state of buttons. unstable since: 1.0
CameraFlags | unstable since: 1.0
DiscreteAxis | The `XdpDiscreteAxis` enumeration is used to describe the discrete scroll axes. unstable since: 1.0
EmailFlags | unstable since: 1.0
KeyState | The `XdpKeyState` enumeration is used to describe the state of keys. unstable since: 1.0
LocationAccuracy | The values of this enum indicate the desired level of accuracy for location information. unstable since: 1.0
LocationMonitorFlags | unstable since: 1.0
LoginSessionState | The values of this enum are returned in the `XdpPortal::session-state-changed` signal to indicate the current state of the user session. unstable since: 1.0
NotificationFlags | unstable since: 1.0
PersistMode | Options for how the screencast session should persist. unstable since: 1.0
PrintFlags | unstable since: 1.0
SaveFileFlags | unstable since: 1.0
SessionMonitorFlags | unstable since: 1.0
SessionState | The state of a session. unstable since: 1.0
SessionType | The type of a session. unstable since: 1.0
UpdateInstallFlags | unstable since: 1.0
UpdateMonitorFlags | unstable since: 1.0
UpdateStatus | The values of this enum are returned in the `XdpPortal::update-progress` signal to indicate the current progress of an installation. unstable since: 1.0
UserInformationFlags | unstable since: 1.0

#### Bitfields

BackgroundFlags | Options to use when requesting background. unstable since: 1.0
CursorMode | Options for how the cursor is handled. unstable since: 1.0
DeviceType | Flags to specify what input devices to control for a remote desktop session. unstable since: 1.0
InhibitFlags | Flags that determine what session status changes are inhibited. unstable since: 1.0
LauncherType | The type of a launcher. unstable since: 1.0
OpenFileFlags | Options for opening files. unstable since: 1.0
OpenUriFlags | Options for opening uris. unstable since: 1.0
OutputType | Flags to specify what kind of sources to offer for a screencast session. unstable since: 1.0
RemoteDesktopFlags | Options for starting remote desktop sessions. unstable since: 1.0
ScreencastFlags | Options for starting screen casts. unstable since: 1.0
ScreenshotFlags | unstable since: 1.0
SpawnFlags | Flags influencing the spawn operation and how the new sandbox is created. unstable since: 1.0
WallpaperFlags | The values of this enumeration determine where the wallpaper is being set. unstable since: 1.0

#### Constants

WALLPAPER_TARGET_BOTH | unstable since: 1.0