chooseRgba

open fun chooseRgba(parent: Window? = null, initialColor: <Error class: unknown class>? = null, cancellable: <Error class: unknown class>? = null, callback: <Error class: unknown class>?)(source)

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.

Since

4.10

Parameters

parent

the parent GtkWindow

initialColor

the color to select initially

cancellable

a GCancellable to cancel the operation

callback

a callback to call when the operation is complete