setPageChangeButtons

fun setPageChangeButtons(prevButton: Button, nextButton: Button): PaginatedGUI

Sets the buttons for page navigation.

Return

This PaginatedGUI instance.

Parameters

prevButton

The button to navigate to the previous page.

nextButton

The button to navigate to the next page.

Throws

If custom IDs aren't set for page navigation.