Page 1 of 1

Menu - more options on one page

Posted: Fri Mar 04, 2016 11:56 pm
by decompile
Hey,

Is there something like popuplib2.pagedList where you could list many items on one page with multipage support? Like for example I have a list with 100 steamids, and I want to show 10 of them in one page but they should not be selectable.

Posted: Sat Mar 05, 2016 9:54 am
by Ayuto
You can use PagedMenu and PagedOption for that.

Syntax: Select all

from menus import PagedMenu
from menus import PagedOption

menu = PagedMenu()
for x in range(100):
menu.apppend(PagedOption('SteamID {}'.format(x), selectable=False))

But you can't display 10 items with multi-page support. How would you go to the next page?