Method

AdapTabViewtransfer_page

Declaration [src]

void
adap_tab_view_transfer_page (
  AdapTabView* self,
  AdapTabPage* page,
  AdapTabView* other_view,
  int position
)

Description [src]

Transfers page from self to other_view.

The page object will be reused.

It’s a programmer error to try to insert a pinned page after a non-pinned one, or a non-pinned page before a pinned one.

Parameters

page

Type: AdapTabPage

A page of self.

The data is owned by the caller of the method.
other_view

Type: AdapTabView

The tab view to transfer the page to.

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

Type: int

The position to insert the page at, starting at 0