4.10  <entry>

The <entry> element provides a text entry widget with unicode support.

4.10.1  Attributes

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.

4.10.2  Action Handlers

Name Event Members Description
on-change Handler for change events. A change occurs every time when the value changes.

4.10.3  Examples

<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>