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

Listview widget
[Widgets]

Display icons lists in differents styles. More...


Files

file  listview.c
 Listvisw core file.
file  listview.h
 Listview header file.

Modules

group  Listview flags
 Values that can be set into TListview Flags field.

Data Structures

struct  TListview
 Listview structure. More...

Typedefs

typedef TListview TListview
 Listview structure.

Functions

void ListviewAddColum (PListview p, l_text Caption, PIcon Icon, l_int Width, l_ulong Flags)
 Add a colum to a listview.
void ListviewSetStyle (PListview p, l_int Style, l_int Flags)
 Change the displaying style of a listview.
PListview InitListview (PListview p, PWidgetClass Class, PApplication App, TRect r, l_text CaptionColumName, l_uchar Style, l_ulong Flags)
 Initialise a listview widget, or a listview derivated widget.
PListview CreateListview (PApplication App, TRect r, l_text CaptionColumName, l_uchar Style, l_ulong Flags)
 Creates a listview widget.

Detailed Description

Display icons lists in differents styles.


Function Documentation

PListview CreateListview PApplication  App,
TRect  r,
l_text  CaptionColumName,
l_uchar  Style,
l_ulong  Flags
 

Creates a listview widget.

Parameters:
App Application which want to allocate the widget( use &Me in most cases)
r Relative coordinates of new widget
CaptionColumName First colum caption, the one wich is associated to all item 'caption' field
Style Displaying style of items
Flags Flags
See also:
WidgetInsert

PListview InitListview PListview  p,
PWidgetClass  Class,
PApplication  App,
TRect  r,
l_text  CaptionColumName,
l_uchar  Style,
l_ulong  Flags
 

Initialise a listview widget, or a listview derivated widget.

Parameters:
p listview to initialise
Class Class of widget (ListviewClass by default)
App Application which want to allocate the widget( use &Me in most cases)
r Relative coordinates of new widget
CaptionColumName First colum caption, the one wich is associated to all item 'caption' field
Style Displaying style of items
Flags Flags

void ListviewAddColum PListview  p,
l_text  Caption,
PIcon  Icon,
l_int  Width,
l_ulong  Flags
 

Add a colum to a listview.

Parameters:
p Listview to affect
Caption Caption of the new colum
Icon Icon of the new colum
Width Width in pixel of the new colum
Flags Flags of the new colum

void ListviewSetStyle PListview  p,
l_int  Style,
l_int  Flags
 

Change the displaying style of a listview.

Parameters:
p Listview to affect
Style New style
Flags If set, change the flags to the specified value
Note:
Redraw widget and scrollbars


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