ComboBox

ComboBox with list of strings.

Constructors

this
this()

empty parameter list constructor - for usage by factory

this
this(string ID)

create with ID parameter

this
this(string ID, string[] items)
Undocumented in source.
this
this(string ID, dstring[] items)
Undocumented in source.
this
this(string ID, StringListValue[] items)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

createSelectedItemWidget
Widget createSelectedItemWidget()
Undocumented in source. Be warned that the author may not have intended to support it.
initialize
void initialize()
Undocumented in source. Be warned that the author may not have intended to support it.
setStringListValueListProperty
bool setStringListValueListProperty(string propName, StringListValue[] values)

StringListValue list values

Properties

adapter
StringListAdapter adapter [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
items
string[] items [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
items
dstring[] items [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
items
StringListValue[] items [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
items
const(UIStringCollection) items [@property getter]

returns list of items

selectedItem
dstring selectedItem [@property getter]

get selected item as text

selectedItemIndex
int selectedItemIndex [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
selectedItemIndex
int selectedItemIndex [@property getter]

Selected item index.

text
dstring text [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
text
dstring text [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
text
UIString text [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From ComboBoxBase

_body
Widget _body;
Undocumented in source.
_button
ImageButton _button;
Undocumented in source.
_adapter
ListAdapter _adapter;
Undocumented in source.
_ownAdapter
bool _ownAdapter;
Undocumented in source.
_selectedItemIndex
int _selectedItemIndex;
Undocumented in source.
itemClick
Signal!OnItemSelectedHandler itemClick;

Handle item click.

createSelectedItemWidget
Widget createSelectedItemWidget()
Undocumented in source. Be warned that the author may not have intended to support it.
selectedItemIndex
int selectedItemIndex [@property getter]

Selected item index.

selectedItemIndex
int selectedItemIndex [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
enabled
bool enabled [@property setter]

change enabled state

enabled
bool enabled [@property getter]

return true if state has State.Enabled flag set

onClick
bool onClick(Widget source)
Undocumented in source. Be warned that the author may not have intended to support it.
createButton
ImageButton createButton()
Undocumented in source. Be warned that the author may not have intended to support it.
createPopup
ListWidget createPopup()
Undocumented in source. Be warned that the author may not have intended to support it.
_popup
PopupWidget _popup;
Undocumented in source.
_popupList
ListWidget _popupList;
Undocumented in source.
layout
void layout(Rect rc)

Set widget rectangle to specified value and layout widget contents. (Step 2 of two phase layout).

_lastPopupCloseTimestamp
long _lastPopupCloseTimestamp;
Undocumented in source.
popupClosed
void popupClosed()
Undocumented in source. Be warned that the author may not have intended to support it.
showPopup
void showPopup()
Undocumented in source. Be warned that the author may not have intended to support it.
setAdapter
void setAdapter(ListAdapter adapter, bool ownAdapter)
Undocumented in source. Be warned that the author may not have intended to support it.
onThemeChanged
void onThemeChanged()
Undocumented in source. Be warned that the author may not have intended to support it.
initialize
void initialize()
Undocumented in source. Be warned that the author may not have intended to support it.
~this
~this()
Undocumented in source.

Meta