From 68250ea3f8102fdea970c21b7e033fae6d0edfe0 Mon Sep 17 00:00:00 2001 From: Johan Pauwels Date: Thu, 10 Sep 2020 14:31:37 +0100 Subject: [PATCH] Add Listbox height option to documentation --- docs/Gooey-Options.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/Gooey-Options.md b/docs/Gooey-Options.md index 1f8843c..e46d031 100644 --- a/docs/Gooey-Options.md +++ b/docs/Gooey-Options.md @@ -26,6 +26,7 @@ and with that, you're ready to rock. * Custom Widget Options * Textarea * BlockCheckbox + * Listbox * RadioGroups * Argument Group Options @@ -96,6 +97,14 @@ parser.add_argument('-my-arg', widget='BlockCheckbox', gooey_options={ }) ``` +### Listbox + +```python +parser.add_argument('-my-arg', widget='Listbox', gooey_options={ + # height of the listbox in pixels + 'height': int +}) +``` ### Radio Group