#include <GList.h>
Inheritance diagram for GItem:
Public Member Functions | |
virtual void | OnSelect () |
Called when the item is selected. | |
virtual void | OnMouseClick (GMouse &m) |
Called when the item is clicked. | |
virtual void | OnPaint (GSurface *pDC, GRect &r) |
Called when the item needs painting. | |
virtual bool | OnBeginDrag (GMouse &m) |
Called when the item is dragged. | |
virtual void | OnMeasure (GMeasureInfo *Info) |
Called when the owning container needs to know the size of the item. | |
virtual void | OnInsert () |
Called when the item is inserted into a new container. | |
virtual void | OnRemove () |
Called when the item is removed from it's container. | |
virtual void | Update () |
Call to tell the container that the data displayed by the item has changed. | |
virtual void | ScrollTo () |
Moves the item onscreen. | |
virtual GView * | EditLabel (int Col=-1) |
Shows a editable label above the item allowing the user to change the value associated with the column 'Col'. | |
virtual void | OnEditLabelEnd () |
Event called when the edit label ends. | |
virtual bool | Select () |
True if the item is selected. | |
virtual void | Select (bool b) |
Select/Deselect the item. | |
virtual char * | GetText (int Col=0) |
Gets the text associated with the column 'Col'. | |
virtual bool | SetText (char *s, int Col=0) |
Sets the text associated with the column 'Col'. | |
virtual int | GetImage (int Flags=0) |
Gets the icon index. | |
virtual void | SetImage (int Col) |
Sets the icon index. | |
virtual GRect * | GetPos (int Col=-1) |
Gets the position. | |
virtual GFont * | GetFont () |
Gets the font for the item. |