Package: gtk

Function gtk:color-dialog-choose-rgba

Lambda List

gtk:color-dialog-choose-rgba (dialog parent color cancellable func)

Arguments

dialog -- a gtk:color-dialog object
parent -- a parent gtk:window widget
color -- a gdk:rgba instance with the color to select initially
cancellable -- a g:cancellable object to cancel the operation
func -- a g:async-ready-callback callback function to call when the operation is complete

Details

This function initiates a color choice operation by presenting a color chooser dialog to the user. The callback function will be called when the dialog is dismissed. It should call the gtk:color-dialog-choose-rgba-finish function to obtain the result.

Since 4.10
 

See also

#2023-7-28