pick_color


Description:

public async Variant pick_color (Parent? parent, Cancellable? cancellable) throws Error

Lets the user pick a color from the screen.

When the request is done, callback will be called. You can then call [method@Portal.pick_color_finish] to get the results.

Parameters:

this

a [class@Portal]

parent

parent window information

cancellable

optional [class@Gio.Cancellable]

callback

a callback to call when the request is done

data

data to pass to callback