insertPage

open fun insertPage(page: Widget, position: <Error class: unknown class>): <Error class: unknown class>(source)

⚠️ Deprecated ⚠️

This is deprecated since version 4.10.

This widget will be removed in GTK 5

---

Inserts a page in the @assistant at a given position.

Return

the index (starting from 0) of the inserted page

Parameters

page

a GtkWidget

position

the index (starting at 0) at which to insert the page, or -1 to append the page to the @assistant