Browse Source

Update Gooey-Options.md

Add missing quotes for map keys
pull/769/head
Chris 2 years ago
committed by GitHub
parent
commit
4ed1313ba4
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 11 deletions
  1. 22
      docs/Gooey-Options.md

22
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 |
Loading…
Cancel
Save