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 : String? = nil) new

Instance Method Detail

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

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

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

def emit(scroll : Gtk::ScrollType) : Nil #

def name : String #
Description copied from struct GObject::Signal

The signal name