logo

class

fwt::Combo

sys::Obj
  fwt::Widget
    fwt::Combo

Combo is a combination of a text field and a list drop down.

Slots

const Bool dropDown := true

If true then the list is displayed in a drop down window. If false then the list is displayed directly under the text field. Default is true.

Source

editable

const Bool editable := false

Set to true to display editing of the combo's text field.

Source

font

Font font := null

Font for text. Defaults to null (system default).

Source

items

Obj[] items := Obj[,]

The list selection items displayed via Obj.toStr. Defaults to the empty list.

Source

onAction

|Event| onAction

Callback when Return/Enter key is pressed.

Source

onModify

|Event| onModify

Callback when either the text field or item is changed.

Source

text

Str text

The widget's current text

Source