I’m using PupMenu for a list that can get very long and go outside the size of the view…
sadly the list doesn’t scroll when too large so I just can’t reach those items…
It seems from the docs that I can use “maxrow” to split my list into multiple columns…
sadly it doesn’t work and alll I get are errors.
chan = Draw.PupMenu(Puplist)
works fine
chan = Draw.PupMenu(Puplist, maxrow = 20)
gives me TypeError: PupMenu() takes no keyword arguments…
here’s what the doc has to say:
(string, maxrow = None) - Display a pop-up menu at the screen.
The contents of the pop-up are specified through the 'string' argument,
like with Draw.Menu.
'maxrow' is an optional int to control how many rows the pop-up should have.
Options are followed by a format code and separated
by the '|' (pipe) character.
Valid format codes are
%t - The option should be used as the title
%xN - The option should set the integer N in the button value.
Ex: Draw.PupMenu('OK?%t|QUIT BLENDER') # should be familiar ...
I’m mystified.