From b4d070fa1bab29859162a97c7b9329ac5d2a30bb Mon Sep 17 00:00:00 2001 From: Simon Renblad Date: Wed, 27 Mar 2024 15:30:36 +0800 Subject: [PATCH] docs: add quickstyle param --- artiq/language/environment.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/artiq/language/environment.py b/artiq/language/environment.py index edb8865b1..a80701c78 100644 --- a/artiq/language/environment.py +++ b/artiq/language/environment.py @@ -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