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
parent | the parent [gtk.window.Window] |
initialColor | the color to select initially |
cancellable | a [gio.cancellable.Cancellable] to cancel the operation |
callback | a callback to call when the operation is complete |