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.
Parameters
parent |
XdpParent |
Parent window information. |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
cancellable |
GCancellable* |
Optional |
|
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. |
|
data |
gpointer |
Data to pass to |