page

inline fun page(key: Any = UUID.randomUUID(), number: Int = pagesByNumber.keys.maxOrNull()?.plus(1) ?: 0, builder: GuiBuilder.PageBuilder.() -> Unit)(source)

Add a new page to the gui.

Parameters

key

the unique key of the page