docs: add quickstyle param

This commit is contained in:
Simon Renblad 2024-03-27 15:30:36 +08:00 committed by Sébastien Bourdeauducq
parent 9934c756b2
commit b4d070fa1b

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