Gtk.ColorButton::color-set

function callback(color_button, ):void;

The ::color-set signal is emitted when the user selects a color. When handling this signal, use Gtk.get_rgba to find out which color was just selected.

Note that this signal is only emitted when the <emphasis>user</emphasis> changes the color. If you need to react to programmatic color changes as well, use the notify::color signal.

Since 2.4

color_button

instance of Gtk.ColorButton that is emitting the signal