choose_rgba
Description:
public async RGBA? choose_rgba (Window? parent, RGBA? initial_color, Cancellable? cancellable) throws Error
This function initiates a color choice operation by presenting a color chooser dialog to the user.
The callback
will be called when the dialog is dismissed. It should call [method@Gtk.ColorDialog.choose_rgba_finish] to obtain the
result.
Parameters:
this |
a `GtkColorDialog` |
parent |
the parent `GtkWindow` |
initial_color |
the color to select initially |
cancellable |
a `GCancellable` to cancel the operation |
callback |
a callback to call when the operation is complete |
user_data |
data to pass to |