A class implementing a text menu.
Methods
Create a text menu.
This creates a menu with items to be selected.
Parameters : | heading : str
menu_items : str or list
width : int
position : (int, int), optional text_size : int, optional background_colour : (int, int, int), optional
gap : int, optional
text_colour : (int, int, int), optional
heading_text_colour : (int, int, int), optional
select_background_colour : (int, int, int), optional
select_text_colour : (int, int, int), optional
select_frame_colour : (int, int, int), optional
select_frame_line_width : int, optional
justification : int, optional
scroll_menu : int, optional
background_stimulus : expyriment stimulus, optional
|
---|
Getter for background_colour
Getter for background_stimulus
Getter for gap
Present the menu and return the selected item.
Parameters : | preselected_item : int, optional
|
---|---|
Returns : | selected : int
|
Getter for heading
Getter for heading_text_colour
Getter for justification
Getter for menu_items
Getter for position
Getter for scroll_menu
Getter for select_background_colour
Getter for select_frame_colour
Getter for select_frame_line_width
Getter for select_text_colour
Getter for text_colour
Getter for text_size
Enter search terms or a module, class or function name.