struct Gtk::Notebook::CreateWindowSignal
- Gtk::Notebook::CreateWindowSignal
- GObject::Signal
- Struct
- Value
- Object
Overview
The ::create-window signal is emitted when a detachable tab is dropped on the root window.
A handler for this signal can create a window containing
a notebook where the tab will be attached. It is also
responsible for moving/resizing the window and adding the
necessary properties to the notebook (e.g. the
Gtk::Notebook
:group-name ).
Defined in:
lib/gi-crystal/src/auto/gtk-4.0/notebook.crInstance Method Summary
- #connect(*, after : Bool = false, &block : Proc(Gtk::Widget, Gtk::Notebook)) : GObject::SignalConnection
- #connect(handler : Proc(Gtk::Widget, Gtk::Notebook), *, after : Bool = false) : GObject::SignalConnection
- #connect(handler : Proc(Gtk::Notebook, Gtk::Widget, Gtk::Notebook), *, after : Bool = false) : GObject::SignalConnection
- #emit(page : Gtk::Widget) : 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 : String? = nil)
new
Instance Method Detail
def connect(*, after : Bool = false, &block : Proc(Gtk::Widget, Gtk::Notebook)) : GObject::SignalConnection
#
def connect(handler : Proc(Gtk::Widget, Gtk::Notebook), *, after : Bool = false) : GObject::SignalConnection
#
def connect(handler : Proc(Gtk::Notebook, Gtk::Widget, Gtk::Notebook), *, after : Bool = false) : GObject::SignalConnection
#