struct Gtk::SpinButton::ChangeValueSignal

Overview

Emitted when the user initiates a value change.

This is a keybinding signal.

Applications should not connect to it, but may emit it with g_signal_emit_by_name() if they need to control the cursor programmatically.

The default bindings for this signal are Up/Down and PageUp/PageDown.

Defined in:

lib/gi-crystal/src/auto/gtk-4.0/spin_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(Gtk::ScrollType, Nil)) : GObject::SignalConnection #

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

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

[View source]
def emit(scroll : Gtk::ScrollType) : Nil #

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

The signal name


[View source]