Notebook.connectSwitchPage

gulong connectSwitchPage(T)(T callback, Flag!"After" after = No.After) if (isCallable!T && is(ReturnType!T == void) && (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] == uint))) && (Parameters!T.length < 3 || (ParameterStorageClassTuple!T[2] == ParameterStorageClass.none && is(Parameters!T[2] : gtk.notebook.Notebook))) && Parameters!T.length < 4)

Connect to SwitchPage signal.

Emitted when the user or a function changes the current page.

Parameters

callbacksignal callback delegate or function to connect void callback(gtk.widget.Widget page, uint pageNum, gtk.notebook.Notebook notebook) page the new current page (optional) pageNum the index of the page (optional) notebook the instance the signal is connected to (optional)
afterYes.After to execute callback after default handler, No.After to execute before (default)

Returns

Signal ID