ColorChooser.connectColorActivated

gulong connectColorActivated(T)(T callback, Flag!"After" after = No.After)

Connect to ColorActivated signal.

Emitted when a color is activated from the color chooser.

This usually happens when the user clicks a color swatch, or a color is selected and the user presses one of the keys Space, Shift+Space, Return or Enter.

Parameters

callbacksignal callback delegate or function to connect void callback(gdk.rgba.RGBA color, gtk.color_chooser.ColorChooser colorChooser) color the color (optional) colorChooser the instance the signal is connected to (optional)
afterYes.After to execute callback after default handler, No.After to execute before (default)

Returns

Signal ID

Deprecated

Use [gtk.color_dialog.ColorDialog] and [gtk.color_dialog_button.ColorDialogButton]

instead of widgets implementing [gtk.color_chooser.ColorChooser]