Signal

AdwTabView::page-detached

Declaration

void
page_detached (
  AdwTabView* self,
  AdwTabPage* page,
  gint position,
  gpointer user_data
)

Description [src]

Emitted when a page has been removed or transferred to another view.

A typical reason to connect to this signal would be to disconnect signal handlers connected in the AdwTabView::page-attached handler.

It is important not to try and destroy the page child in the handler of this function as the child might merely be moved to another window; use child dispose handler for that or do it in sync with your adw_tab_view_close_page_finish() calls.

Default handler:

The default handler is called after the handlers added via g_signal_connect().

Parameters

page

Type: AdwTabPage

A page of self.

The data is owned by the caller of the function.
position

Type: gint

The position of the removed page, starting from 0