#include <GList.h>
Inheritance diagram for GListItem:

Public Member Functions | |
| GList * | GetList () |
| Get the owning list. | |
| List< GListItemColumn > * | GetItemCols () |
| Gets the GListItemColumn's. | |
| bool | SetText (char *s, int i=0) |
| Set the text for a given column. | |
| char * | GetText (int i) |
| int | GetImage (int Flags=0) |
| void | SetImage (int i) |
| Sets the icon index. | |
| bool | Select () |
| Returns true if selected. | |
| void | Select (bool b) |
| Changes the selection start of the control. | |
| GRect * | GetPos (int Col=-1) |
| Gets the on screen position of the field at column 'col'. | |
| bool | OnScreen () |
| True if the item is visible. | |
| void | Update () |
| Update the text cache and display the updated data. | |
| void | ScrollTo () |
| Moves the item on screen if not visible. | |
| void | SetEditLabelSelection (int SelStart, int SelEnd) |
| Sets the default selection of text when editing a label. | |
| GView * | EditLabel (int Col=-1) |
| Opens an editbox over a column to let the user edit the value. | |
| void | OnMouseClick (GMouse &m) |
| Called when the item is clicked. | |
| void | OnMeasure (GMeasureInfo *Info) |
| Called when the owning container needs to know the size of the item. | |
| void | OnPaint (GSurface *pDC, GRect &r) |
| Called when the item needs painting. | |
Friends | |
| class | GList |
| class | GListColumn |
|
|
Get the icon index to display in the '0th' column. The image list is stored in the parent GList. Reimplemented from GItem. |
|
|
Get the text for a given column. Override this in your GListItem based class to return the text for a column. Otherwise call SetText to store the text in the control. Reimplemented from GItem. |
1.4.1