Method

Adw.TabView.transfer_page

Declaration [src]

void
adw_tab_view_transfer_page (
  AdwTabView* self,
  AdwTabPage* page,
  AdwTabView* 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 AdwTabPage
 

a page of self

 Ownership is not transferred to the callee
other_view AdwTabView
 

the tab view to transfer the page to

 Ownership is not transferred to the callee
position int
 

the position to insert the page at, starting at 0