Created
January 4, 2016 09:18
-
-
Save awesomebytes/5a70a5a93ccb56ad9232 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| parameter_dict = {'dialog': [ | |
| { | |
| 'int_param': { | |
| 'type': 'int', | |
| 'text': 'Integer parameter', | |
| 'current_value': 5, | |
| 'min_value': 0, | |
| 'max_value': 10, | |
| } | |
| }, | |
| { | |
| 'float_param': { | |
| 'type': 'float', | |
| 'text': 'Float parameter', | |
| 'current_value': 5.0, | |
| 'min_value': 0.0, | |
| 'max_value': 10.0, | |
| } | |
| }, | |
| { | |
| 'bool_param': { | |
| 'type': 'bool', | |
| 'text': 'Boolean parameter', | |
| 'current_value': True | |
| } | |
| }, | |
| { | |
| 'enumerate_param': { | |
| 'type': 'enumerate', | |
| 'text': 'Enumerate parameter', | |
| 'options': ['enumerate 1', | |
| 'enumerate 2', | |
| 'enumerate 3'], | |
| 'current_value': 'enumerate 2', | |
| } | |
| }, | |
| { | |
| 'string_param': { | |
| 'type': 'string', | |
| 'text': 'String parameter', | |
| 'current_value': 'text here' | |
| } | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment