#include <listbox.h>
Inheritance diagram for CL_ListBox:


Public Methods | |
| CL_ListBox (const CL_ComponentOptions &options, CL_Component *parent, CL_StyleManager *style=NULL) | |
| Construction:. | |
| CL_ListBox (const CL_Rect &pos, CL_Component *parent, CL_StyleManager *style=NULL) | |
| virtual | ~CL_ListBox () |
| CL_Component* | get_client_area () const |
| Attributes:. | |
| int | get_count () const |
| std::list<std::string>& | get_items () const |
| std::string | get_current_text () const |
| std::string | get_text (int index) const |
| int | get_current_item () const |
| bool | is_selected (int index) const |
| int | get_item_height () const |
| int | get_top_item () const |
| int | get_max_visible_items () const |
| bool | has_scrollbar () const |
| int | insert_item (const std::string &text, int index=-1) |
| Operations:. | |
| void | remove_item (int index) |
| void | change_item (const std::string &text, int index) |
| void | set_current_item (int index) |
| void | clear_selection () |
| void | set_item_height (int height) |
| void | set_max_visible_items (int count) |
| void | set_top_item (int index) |
| void | sort (bool ascending=true) |
| void | clear () |
| CL_Signal_v1<int>& | sig_highlighted () |
| Signals:. | |
| CL_Signal_v1<int>& | sig_activated () |
Private Methods | |
| CL_ListBox (const CL_ListBox ©) | |
| Implementation:. | |
Private Attributes | |
| class CL_ListBox_Generic* | impl |
| Implementation:. | |
Definition at line 16 of file listbox.h.
|
|
Construction:.
|
|
|
|
|
|
|
|
|
Implementation:.
|
|
|
|
|
|
|
|
|
|
|
|
Attributes:.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Operations:.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Signals:.
|
|
|
|
|
|
Implementation:.
Reimplemented from CL_Component. |
1.2.6 written by Dimitri van Heesch,
© 1997-2001