vdkcsortlist.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
#ifndef VDKCSORTLIST_H
00028
#define VDKCSORTLIST_H
00029
#include <vdk/vdkclist.h>
00030
00043 class VDKCustomSortedList:
public VDKCustomList
00044 {
00045
protected:
00046
int keypos;
00047
char *oldkey;
00048
public:
00049
00054 bool Unique;
00062
VDKCustomSortedList(
VDKForm* owner,
00063
int keyPos,
00064
int columns = 1,
00065
char **titles = NULL,
00066 GtkSelectionMode mode = GTK_SELECTION_SINGLE);
00070 ~VDKCustomSortedList() {}
00077
bool AddKey(
char **s,
char** pixdata = NULL,
int col = 0);
00085
void UpdateKey(
const char* key,
char** s,
00086
char** pixdata = NULL,
int col = 0);
00093
void UpdateCellKey(
const char* key,
int col,
00094
const char* s,
char** pixdata = NULL);
00099
void RemoveKey(
const char* key);
00103
int FindKey(
const char* key);
00107 int KeyPos() {
return keypos; }
00108 };
00109
#endif
Generated on Tue Aug 17 12:39:50 2004 for vdk 2.4.0 by
1.3.7