A string value setting. Its representation is a text entry field.
Name | Type | Default Value | Description |
---|---|---|---|
bind | string | The name of the variable or property to which the configuration element is bound. | |
callback | function | [new in 0.34] A callback function which is called every time the value changes. The callback takes the name of the bound property and the new value as arguments. | |
enabled | boolean | true | [new in 0.34] Whether the config item is enabled. Disabled items appear greyed out. |
help | string | The tooltip text for the element in the configuration dialog. | |
label | string | The label text for the element in the configuration dialog. | |
password | boolean | false | Whether this is a password field or not. |
<string label="Timezone:" bind="time.timezone" help="The timezone which will be used."/> <string label="Password" bind="pass" password="true" help="Your password"/>