Signal

Gtk.Notebook::create-window

Declaration

GtkNotebook*
create_window (
  GtkNotebook self,
  GtkWidget* page,
  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 g_signal_connect()

Parameters

page GtkWidget
 

the tab of notebook that is being detached

 Ownership is not transferred to the callee

Return value

Returns: GtkNotebook

a GtkNotebook that page should be added to, or NULL.

Ownership is not transferred to the caller