struct Gtk::ColorButton::ColorSetSignal

Overview

Emitted when the user selects a color.

When handling this signal, use Gtk::ColorChooser#rgba to find out which color was just selected.

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

Defined in:

lib/gi-crystal/src/auto/gtk-4.0/color_button.cr

Instance Method Summary

Instance methods inherited from struct GObject::Signal

[](detail : String) : self [], name : String name

Constructor methods inherited from struct GObject::Signal

new(source : GObject::Object, detail : Nil | String = nil) new

Instance Method Detail

def connect(*, after : Bool = false, &block : Proc(Nil)) : GObject::SignalConnection #

[View source]
def connect(handler : Proc(Nil), *, after : Bool = false) : GObject::SignalConnection #

[View source]
def connect(handler : Proc(Gtk::ColorButton, Nil), *, after : Bool = false) : GObject::SignalConnection #

[View source]
def emit : Nil #

[View source]
def name : String #
Description copied from struct GObject::Signal

The signal name


[View source]