struct Gtk::ColorButton::ColorSetSignal
- Gtk::ColorButton::ColorSetSignal
- GObject::Signal
- Struct
- Value
- Object
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.crInstance Method Summary
- #connect(*, after : Bool = false, &block : Proc(Nil)) : GObject::SignalConnection
- #connect(handler : Proc(Nil), *, after : Bool = false) : GObject::SignalConnection
- #connect(handler : Proc(Gtk::ColorButton, Nil), *, after : Bool = false) : GObject::SignalConnection
- #emit : Nil
-
#name : String
The signal name
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 : String? = nil)
new
Instance Method Detail
def connect(handler : Proc(Gtk::ColorButton, Nil), *, after : Bool = false) : GObject::SignalConnection
#