Method
XdpPortalpick_color
Declaration [src]
void
xdp_portal_pick_color (
XdpPortal* portal,
XdpParent* parent,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer data
)
Description [src]
Lets the user pick a color from the screen.
When the request is done, callback will be called. You can then
call xdp_portal_pick_color_finish() to get the results.
This method completes asynchronously. Use xdp_portal_pick_color_finish() inside the GAsyncReadyCallback to obtain the result of the operation.
Parameters
parent-
Type:
XdpParentParent window information.
The argument can be NULL.The data is owned by the caller of the method. cancellable-
Type:
GCancellableOptional
GCancellable.The argument can be NULL.The data is owned by the caller of the method. callback-
Type:
GAsyncReadyCallbackA callback to call when the request is done.
The argument can be NULL. data-
Type:
gpointerData to pass to
callback.The argument can be NULL.The data is owned by the caller of the method.