Method

Adw.TabView.insert

Declaration [src]

AdwTabPage*
adw_tab_view_insert (
  AdwTabView* self,
  GtkWidget* child,
  int position
)

Description [src]

Inserts a non-pinned page at position.

It’s an error to try to insert a page before a pinned page, in that case adw_tab_view_insert_pinned() should be used instead.

Parameters

child GtkWidget*
 

a widget to add

 Ownership is not transferred to the callee
position int
 

the position to add child at, starting from 0

Return value

Returns: AdwTabPage

the page object representing child

Ownership is not transferred to the caller