Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

GItem Class Reference

Base class for items in widget containers. More...

#include <GList.h>

Inheritance diagram for GItem:

GEvent GListItem GTreeItem GTree GFilterView List of all members.

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 GViewEditLabel (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 GRectGetPos (int Col=-1)
 Gets the position.
virtual GFontGetFont ()
 Gets the font for the item.

Detailed Description

Base class for items in widget containers.


The documentation for this class was generated from the following file:
Generated on Wed Oct 26 14:47:00 2005 for Lgi by  doxygen 1.4.1