page

fun page(page: Int, builder: GUIPageBuilder<T>.() -> Unit)

Opens the builder for a new page and adds the new page to the GUI.

Parameters

page

The index of the page.