Method

XdpPortalset_wallpaper

Declaration [src]

void
xdp_portal_set_wallpaper (
  XdpPortal* portal,
  XdpParent* parent,
  const char* uri,
  XdpWallpaperFlags flags,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer data
)

Description [src]

Sets a desktop background image, given by a uri.

Parameters

parent XdpParent
 

Parent window information.

 The data is owned by the caller of the function.
uri const char*
 

The URI to use.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
flags XdpWallpaperFlags
 

Options for this call.

cancellable GCancellable
 

Optional GCancellable

 The argument can be NULL.
 The data is owned by the caller of the function.
callback GAsyncReadyCallback
 

A callback to call when the request is done.

 The argument can be NULL.
data gpointer
 

Data to pass to callback.

 The argument can be NULL.
 The data is owned by the caller of the function.