#include <albaGUIListCtrl.h>
|
| | albaGUIListCtrl (wxWindow *parent, wxWindowID id=-1, bool CloseButton=false, bool HideTitle=false) |
| |
| virtual | ~albaGUIListCtrl () |
| |
| void | SetListener (albaObserver *listener) |
| |
| void | Reset () |
| |
| bool | AddItem (wxString label, ITEM_ICONS icon=ITEM_GRAY) |
| |
| bool | DeleteItem (long index) |
| |
| void | DeselectItem (long index) |
| |
| bool | SetItemLabel (long index, wxString label) |
| |
| wxString | GetItemLabel (long index) |
| |
| bool | SetItemIcon (long index, ITEM_ICONS icon) |
| |
| ITEM_ICONS | GetItemIcon (long index) |
| |
| bool | SelectItem (long index) |
| |
| void | SetColumnLabel (int col, wxString label) |
| |
| | albaGUINamedPanel (wxWindow *parent, wxWindowID id=-1, bool CloseButton=false, bool HideTitle=false) |
| |
| virtual | ~albaGUINamedPanel () |
| |
| void | Add (wxWindow *window, int option=0, int flag=wxEXPAND, int border=0) |
| |
| void | Add (wxSizer *sizer, int option=0, int flag=wxEXPAND, int border=0) |
| |
| bool | Remove (wxWindow *window) |
| |
| bool | Remove (wxSizer *sizer) |
| |
| void | SetTitle (wxString label) |
| |
| void | SetTitleColor (wxColour *color=NULL) |
| |
| wxBoxSizer * | GetTopSizer () |
| |
| wxPanel * | GetTopPanel () |
| |
| | albaGUIPanel (wxWindow *parent, wxWindowID id, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL, const wxString &name="panel") |
| |
albaGUIListCtrl allows a simplified use of a wxWindows ListCtrl widget.
Definition at line 48 of file albaGUIListCtrl.h.
◆ albaGUIListCtrl()
| albaGUIListCtrl::albaGUIListCtrl |
( |
wxWindow * |
parent, |
|
|
wxWindowID |
id = -1, |
|
|
bool |
CloseButton = false, |
|
|
bool |
HideTitle = false |
|
) |
| |
◆ ~albaGUIListCtrl()
| virtual albaGUIListCtrl::~albaGUIListCtrl |
( |
| ) |
|
|
virtual |
◆ SetListener()
| void albaGUIListCtrl::SetListener |
( |
albaObserver * |
listener | ) |
|
|
inline |
◆ Reset()
| void albaGUIListCtrl::Reset |
( |
| ) |
|
◆ AddItem()
Add one item to the list.
◆ DeleteItem()
| bool albaGUIListCtrl::DeleteItem |
( |
long |
index | ) |
|
Remove the item from the list.
◆ DeselectItem()
| void albaGUIListCtrl::DeselectItem |
( |
long |
index | ) |
|
Deselect an item from the list.
◆ SetItemLabel()
| bool albaGUIListCtrl::SetItemLabel |
( |
long |
index, |
|
|
wxString |
label |
|
) |
| |
◆ GetItemLabel()
| wxString albaGUIListCtrl::GetItemLabel |
( |
long |
index | ) |
|
◆ SetItemIcon()
| bool albaGUIListCtrl::SetItemIcon |
( |
long |
index, |
|
|
ITEM_ICONS |
icon |
|
) |
| |
Set the item's icon, return true on success.
◆ GetItemIcon()
| ITEM_ICONS albaGUIListCtrl::GetItemIcon |
( |
long |
index | ) |
|
◆ SelectItem()
| bool albaGUIListCtrl::SelectItem |
( |
long |
index | ) |
|
◆ SetColumnLabel()
| void albaGUIListCtrl::SetColumnLabel |
( |
int |
col, |
|
|
wxString |
label |
|
) |
| |
Set the label for the list's column.
◆ OnSelectionChanged()
| void albaGUIListCtrl::OnSelectionChanged |
( |
wxListEvent & |
event | ) |
|
|
protected |
Notify the Listener of item selection and deselection.
◆ m_PreventNotify
| bool albaGUIListCtrl::m_PreventNotify |
|
protected |
◆ m_List
| wxListCtrl* albaGUIListCtrl::m_List |
|
protected |
◆ m_Images
| wxImageList* albaGUIListCtrl::m_Images |
|
protected |
◆ m_Listener
The documentation for this class was generated from the following file: