The <entry> element provides a text entry widget with unicode support.
Name | Type | Default Value | Description |
---|---|---|---|
color | color | (system default) | The font color to use. The alpha channel cannot be used here. |
font | font | (system default) | The font of the entry text. |
value | string | The current value in the entry field. |
Name | Event Members | Description |
---|---|---|
on-change | Handler for change events. A change occurs every time when the value changes. |
<display> <entry id="entry" on-change="Dsp.lbl.value = self.value"/> <label id="lbl" relative-to="entry, y"/> </display>
<display> <entry id="entry" on-key-press="if self.event.key == 'Return': Dsp.lbl.value = self.value"/> <label id="lbl" relative-to="entry, y"/> </display>