Main Page | Modules | Data Structures | File List | Data Fields | Globals

Treeview widget
[Widgets]


Files

file  treeview.c
 Treeview core file.
file  treeview.h
 Treeview widget header file.

Data Structures

struct  TTreeItem
 Treeview item structure. More...
struct  TTreeView
 Treeview widget structure. More...

Typedefs

typedef TTreeItem TTreeItem
 Treeview item structure.
typedef TTreeItem TTreeviewItem
 Treeview item structure.
typedef TTreeView TTreeView
 Treeview widget structure.
typedef TTreeView TTreeview
 Treeview widget structure.

Functions

void TreeViewRenameItem (PTreeView t, PTreeItem i, l_text Caption)
 Changes the caption of a treeview item.
void TreeViewDeleteItem (PTreeView o, PTreeItem i)
 Removes the specified treeview item.
PTreeView InitTreeView (PTreeView b, PWidgetClass Class, PApplication App, TRect r, l_ulong OnSelMsg)
 Initialises a treeview widget.
PTreeView CreateTreeView (PApplication App, TRect r, l_ulong OnSelMsg)
 Creates a new treeview widget.

Detailed Description


Function Documentation

PTreeView CreateTreeView PApplication  App,
TRect  r,
l_ulong  OnSelMsg
 

Creates a new treeview widget.

Parameters:
App Application which want to allocate the widget( use &Me in most cases)
r Relative coordinates of new widget
OnSelMsg Message send when an item is selected
Returns:
Pointer to the new treeview
See also:
WidgetInsert

PTreeView InitTreeView PTreeView  b,
PWidgetClass  Class,
PApplication  App,
TRect  r,
l_ulong  OnSelMsg
 

Initialises a treeview widget.

Parameters:
b Treeview to initialise
Class Class of widget (TreeviewClass by default)
App Application which want to allocate the widget( use &Me in most cases)
r Relative coordinates of new widget
OnSelMsg Message send when an item is selected
Returns:
b
See also:
WidgetInsert

void TreeViewDeleteItem PTreeView  o,
PTreeItem  i
 

Removes the specified treeview item.

Parameters:
o Treeview owning the item
i Item to remove
Note:
Redraws scrolls bars and treeview

void TreeViewRenameItem PTreeView  t,
PTreeItem  i,
l_text  Caption
 

Changes the caption of a treeview item.

Parameters:
t Treeview owning the item
i Item to affect
Caption New caption
Note:
Redraws scrolls bars and treeview


Generated on Fri Oct 29 14:32:53 2004 for oZone GUI by doxygen 1.3.8