class

UIng::EditableCombobox

Inherits UIng::Control < UIng::BlockConstructor < Reference < Object

EditableCombobox follows libui-ng's uiEditableCombobox API, which is text-centric rather than a selectable list API. libui-ng intentionally does not expose selected item, insert, delete, clear, or item-count operations here because editable comboboxes have no consistent native concept of a selected item across backends. Use Combobox when you need list management and selection indices.

Constructors

new(*args, &)
Source
new(*args, **kwargs, &)
Source
new(items : Array(String))
Source

Instance methods

append(text : String) : Nil
Source
clear_on_changed

Clears the callback; equivalent to on_changed(nil).

Source
on_changed
Source
on_changed(callback : Nil) : Nil
Source
text
Source
text=(text : String) : Nil
Source
to_unsafe
Source