Gtk.Notebook::create-window

function callback(notebook, page:Gtk.Widget, x:Number, y:Number, ):Gtk.Notebook;

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

Since 2.12

notebook

instance of Gtk.Notebook that is emitting the signal

page

the tab of @notebook that is being detached

x

the X coordinate where the drop happens

y

the Y coordinate where the drop happens