setState

Updates the current state of the paginated dynamic GUI and resets the current page to the first one.

Return

The current instance of PaginatedDynamicGUI with the updated state.

Parameters

state

The new state to set for the GUI.