struct Adw::SpinRow::InputSignal
- Adw::SpinRow::InputSignal
- GObject::Signal
- Struct
- Value
- Object
Overview
Emitted to convert the user's 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 GLib::strtod
.
See Gtk::SpinButton::#input
.
Defined in:
lib/gi-crystal/src/auto/adw-1/spin_row.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(Adw::SpinRow, 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(Adw::SpinRow, Float64, Int32), *, after : Bool = false) : GObject::SignalConnection
#