Notebook.connectCreateWindow

Connect to CreateWindow signal.

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

class Notebook
ulong
connectCreateWindow
(
T
)
(,
Flag!"After" after = No.After
)
if (
isCallable!T &&
is(ReturnType!T : gtk.notebook.Notebook)
&&
(
Parameters!T.length < 1 ||
(
ParameterStorageClassTuple!T[0] == ParameterStorageClass.none &&
is(Parameters!T[0] : gtk.widget.Widget)
)
)
&&
(
Parameters!T.length < 2 ||
(
ParameterStorageClassTuple!T[1] == ParameterStorageClass.none &&
is(Parameters!T[1] : gtk.notebook.Notebook)
)
)
&&
Parameters!T.length < 3
)

Parameters

callback T

signal callback delegate or function to connect

gtk.notebook.Notebook callback(gtk.widget.Widget page, gtk.notebook.Notebook notebook)

page the tab of notebook that is being detached (optional)

notebook the instance the signal is connected to (optional)

Returns a gtk.notebook.Notebook that page should be added to

after Flag!"After"

Yes.After to execute callback after default handler, No.After to execute before (default)

Return Value

Type: ulong

Signal ID