Skip to content

EditableCombobox

Travis Gibson edited this page Sep 19, 2018 · 6 revisions

EditableCombobox

Libui::EditableCombobox

A combobox that can be edited by the end user.

Methods

new()

Creates a new EditableCombobox.

append(Str:D $text)

Adds another row containing $text to the Combobox.

text() returns Str

Returns the currently selected text.

set-text(Str:D $text) or text(Str:D $text)

Sets the text field of the currently selected item to $text.

changed() returns Supply

Returns a Supply. An event is emitted whenever a new item is selected.

Clone this wiki locally