The InputPush class has this constructor:
name,choices,default=None,direction='h') |
choices is a list/tuple of possible values. default is the initial/default choice. If default is not in the choices list, it is prepended. If default is None, the first item of choices is taken as the default.
The choices are presented to the user as a hbox with radio buttons, of which the default will initially be pressed. If direction == 'v', the options are in a vbox.
InputPush objects have the following methods:
text,index=0) |
icon,index=0) |
) |
val) |