| Top |
These functions let applications set desktop backgrounds.
The underlying portal is org.freedesktop.portal.Wallpaper.
void xdp_portal_set_wallpaper (XdpPortal *portal,XdpParent *parent,const char *uri,XdpWallpaperFlags flags,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer data);
Sets a desktop background image, given by a uri.
portal |
||
parent |
parent window information |
|
uri |
the URI to use |
|
flags |
options for this call |
|
cancellable |
optional GCancellable. |
[nullable] |
callback |
a callback to call when the request is done. |
[scope async] |
data |
data to pass to |
[closure] |
gboolean xdp_portal_set_wallpaper_finish (XdpPortal *portal,GAsyncResult *result,GError **error);
Finishes the open-uri request, and returns the result in the form of a boolean.