struct Gtk::Notebook::ChangeCurrentPageSignal

Overview

Emitted when the current page should be changed.

The default bindings for this signal are Ctrl+Alt+PgUp, Ctrl+Alt+PgDn, Ctrl+PgUp and Ctrl+PgDn.

Defined in:

lib/gi-crystal/src/auto/gtk-4.0/notebook.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(Int32, Bool)) : GObject::SignalConnection #

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

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

def emit(page : Int32) : Nil #

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

The signal name