Top | ![]() |
![]() |
![]() |
![]() |
XDG portals support checkXDG portals support check — Get information about system's XDG portals support |
const char * | srt_xdg_portal_backend_get_name () |
gboolean | srt_xdg_portal_backend_is_available () |
const char * | srt_xdg_portal_interface_get_name () |
gboolean | srt_xdg_portal_interface_is_available () |
guint32 | srt_xdg_portal_interface_get_version () |
gboolean | is-available | Read / Write / Construct Only |
gchar * | name | Read / Write / Construct Only |
gboolean | is-available | Read / Write / Construct Only |
gchar * | name | Read / Write / Construct Only |
guint | version | Read / Write / Construct Only |
GFlags ╰── SrtXdgPortalIssues GObject ├── SrtXdgPortalBackend ╰── SrtXdgPortalInterface
SrtXdgPortalBackend is an opaque object representing an XDG portal
backend. This is a reference-counted object: use g_object_ref()
and
g_object_unref()
to manage its lifecycle.
SrtXdgPortalInterface is an opaque object representing an XDG portal
interface. This is a reference-counted object: use g_object_ref()
and
g_object_unref()
to manage its lifecycle.
const char *
srt_xdg_portal_backend_get_name (SrtXdgPortalBackend *self
);
Return the name of the XDG portal backend, for example
org.freedesktop.impl.portal.desktop.gtk
for the GTK/GNOME
implementation. The returned string remains valid as long as
a reference to self
is held.
gboolean
srt_xdg_portal_backend_is_available (SrtXdgPortalBackend *self
);
Return TRUE
if the XDG portal backend is available.
const char *
srt_xdg_portal_interface_get_name (SrtXdgPortalInterface *self
);
Return the name of the XDG portal interface, for example
org.freedesktop.portal.Email
. The returned string
remains valid as long as a reference to self
is held.
gboolean
srt_xdg_portal_interface_is_available (SrtXdgPortalInterface *self
);
Return TRUE
if the XDG portal interface is available.
guint32
srt_xdg_portal_interface_get_version (SrtXdgPortalInterface *self
);
Return the version property of the XDG portal interface, or 0 if unknown or unavailable.
There are no problems |
||
A generic internal error occurred while trying to check the XDG portals support, or, while reading a report, either an unknown issue flag was encountered or the xdg portal issues field was missing |
||
The check for the XDG portals support took too long to run and was terminated. This is likely to indicate that there are issues that caused the process to hang. |
||
A certain required XDG portal interface is missing. |
||
There isn't a working XDG portal implementation. |
“is-available”
property“is-available” gboolean
TRUE if this XDG portal is available.
Flags: Read / Write / Construct Only
Default value: FALSE
“name”
property“name” gchar *
Name of this XDG portal backend, e.g. 'org.freedesktop.impl.portal.desktop.gtk'.
Flags: Read / Write / Construct Only
Default value: NULL
“is-available”
property“is-available” gboolean
TRUE if this XDG portal is available.
Flags: Read / Write / Construct Only
Default value: FALSE
“name”
property“name” gchar *
Name of this XDG portal interface, e.g. 'org.freedesktop.portal.Email'.
Flags: Read / Write / Construct Only
Default value: NULL
“version”
property“version” guint
The version property of this XDG portal interface.
Flags: Read / Write / Construct Only
Default value: 0