ColorDialog.chooseRgba

void chooseRgba(gtk.window.Window parent, gdk.rgba.RGBA initialColor, gio.cancellable.Cancellable cancellable = null, gio.types.AsyncReadyCallback callback = null)

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 [gtk.color_dialog.ColorDialog.chooseRgbaFinish] to obtain the result.

Parameters

parentthe parent [gtk.window.Window]
initialColorthe color to select initially
cancellablea [gio.cancellable.Cancellable] to cancel the operation
callbacka callback to call when the operation is complete