class multichoice.Multichoice(PaletteView, Control)

Multichoice is an abstract base class for controls allowing one of a number of options to be selected. Concrete subclasses of Multichoice include TextMultichoice and ImageMultichoice.

Theme Properties

highlight_color
Color to use for highlighting the control when it has the input focus.

cell_margin
Amount of space to leave between the borders of each cell and its contents. The precise interpretation is up to subclasses.

Constructor

Multichoice(cell_size, values)
Initialises the control with the specified cell size and list of values. It is up to subclasses to define how the values are displayed to the user.
---