ComboBoxBase

Abstract ComboBox.

Constructors

this
this(string ID, ListAdapter adapter, bool ownAdapter)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

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.
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.
layout
void layout(Rect rc)

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

onClick
bool onClick(Widget source)
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.
popupClosed
void popupClosed()
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.
showPopup
void showPopup()
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

enabled
bool enabled [@property setter]

change enabled state

enabled
bool enabled [@property getter]

return true if state has State.Enabled flag set

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.

Variables

_adapter
ListAdapter _adapter;
Undocumented in source.
_body
Widget _body;
Undocumented in source.
_button
ImageButton _button;
Undocumented in source.
_lastPopupCloseTimestamp
long _lastPopupCloseTimestamp;
Undocumented in source.
_ownAdapter
bool _ownAdapter;
Undocumented in source.
_popup
PopupWidget _popup;
Undocumented in source.
_popupList
ListWidget _popupList;
Undocumented in source.
_selectedItemIndex
int _selectedItemIndex;
Undocumented in source.
itemClick
Signal!OnItemSelectedHandler itemClick;

Handle item click.

Inherited Members

From OnClickHandler

onClick
bool onClick(Widget source)
Undocumented in source.

Meta