docs: add quickstyle param

pull/2387/head
Simon Renblad 2024-03-27 15:30:36 +08:00 committed by Sébastien Bourdeauducq
parent 9934c756b2
commit b4d070fa1b
1 changed files with 2 additions and 0 deletions

View File

@ -89,6 +89,8 @@ class EnumerationValue(_SimpleArgProcessor):
:param choices: A list of string representing the possible values of the
argument.
:param quickstyle: Enables the choices to be displayed in the GUI as a
list of buttons that submit the experiment when clicked.
"""
def __init__(self, choices, default=NoDefault, quickstyle=False):
self.choices = choices