struct Gtk::SpinButton::InputSignal
- Gtk::SpinButton::InputSignal
- GObject::Signal
- Struct
- Value
- Object
Overview
Emitted to convert the users input into a double value.
The signal handler is expected to use Gtk::Editable#text
to retrieve the text of the spinbutton and set new_value to the
new value.
The default conversion uses g_strtod().
Defined in:
lib/gi-crystal/src/auto/gtk-4.0/spin_button.crInstance Method Summary
- #connect(*, after : Bool = false, &block : Proc(Float64, Int32)) : GObject::SignalConnection
- #connect(handler : Proc(Float64, Int32), *, after : Bool = false) : GObject::SignalConnection
- #connect(handler : Proc(Gtk::SpinButton, Float64, Int32), *, after : Bool = false) : GObject::SignalConnection
- #emit(new_value : Float64) : 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 : Nil | String = nil)
new
Instance Method Detail
def connect(handler : Proc(Gtk::SpinButton, Float64, Int32), *, after : Bool = false) : GObject::SignalConnection
#