diff --git a/docs/Gooey-Options.md b/docs/Gooey-Options.md index 1f60d5d..deafef0 100644 --- a/docs/Gooey-Options.md +++ b/docs/Gooey-Options.md @@ -104,9 +104,9 @@ parser.add_argument('-my-arg', widget='Textarea', gooey_options={ ```python parser.add_argument('-my-arg', widget='IntegerField', gooey_options={ - min: int, - max: int, - increment: int + 'min': int, + 'max': int, + 'increment': int }) ``` @@ -115,10 +115,10 @@ parser.add_argument('-my-arg', widget='IntegerField', gooey_options={ ```python parser.add_argument('-my-arg', widget='IntegerField', gooey_options={ - min: float, - max: float, - increment: float, - precision: int # 0 - 20 + 'min': float, + 'max': float, + 'increment': float, + 'precision': int # 0 - 20 }) ``` @@ -128,9 +128,9 @@ The Slider is just a reskinned IntegerField, so it has the same options ```python parser.add_argument('-my-arg', widget='Slider', gooey_options={ - min: int, - max: int, - increment: int + 'min': int, + 'max': int, + 'increment': int }) ``` @@ -245,4 +245,4 @@ parser.add_argument("MultiFileSaver", widget="MultiFileChooser", | default_path | string | The default path | - \ No newline at end of file +