struct Gtk::Notebook::CreateWindowSignal

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 GtkNotebook:group-name ).

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 : 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 #

def emit(page : Gtk::Widget) : Nil #

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

The signal name