Method

HandyTabViewinsert

Declaration [src]

HdyTabPage*
hdy_tab_view_insert (
  HdyTabView* self,
  GtkWidget* child,
  gint 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 hdy_tab_view_insert_pinned() should be used instead.

Available since:1.2

Parameters

child

Type: GtkWidget

A widget to add.

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

Type: gint

The position to add child at, starting from 0

Return value

Type: HdyTabPage

The page object representing child.

The data is owned by the instance.