-
Notifications
You must be signed in to change notification settings - Fork 11
InputDialog API
ben-sangster edited this page Nov 10, 2010
·
1 revision
JS binding for InputDialog
N/A
InputDialog create (Object o, [Widget parent])
Object o has the following fields required:
- title: String
- label: String
Once those values have been specified, the programmer may choose the specific type of input by including one of the required fields.
For integer input,
- Required:
- step: Int
- Optional:
- value: Int
- min: Int
- max: Int
For double input,
- Required:
- decimal: Int
- Optional:
- value: Double
- min: Double
- max: Double
For text input,
- Required:
- text: String
- Optional:
- mode: String
For ComboBox input,
- Required:
- items: String[]
- Optional:
- current: Int
- editable: Bool