Signal
GtkNotebook::create-window
since: 2.12
Declaration
GtkNotebook*
create_window (
GtkNotebook* self,
GtkWidget* page,
gint x,
gint y,
gpointer user_data
)
Description [src]
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
).
Default handler: The default handler is called after the handlers added via |
Available since: 2.12 |
Parameters
page
-
Type:
GtkWidget
The tab of
notebook
that is being detached.The data is owned by the caller of the function. x
-
Type:
gint
The X coordinate where the drop happens.
y
-
Type:
gint
The Y coordinate where the drop happens.
Return value
Type: GtkNotebook
A GtkNotebook
that page
should be
added to, or NULL
.
The data is owned by the called function. |