Skip to content
ben-sangster edited this page Nov 10, 2010 · 1 revision

Description

JS binding for InputDialog

Associated Types

InputDialog

Constants

N/A

Functions

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

Clone this wiki locally