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 VDK_GNOME_ENTRY_H
00028
#define VDK_GNOME_ENTRY_H
00029
00030
#if HAVE_GNOME
00031
#include <vdk/combo.h>
00032
#include <gnome.h>
00033
class VDKForm;
00041
class VDKGnomeEntry:
public VDKCombo
00042 {
00043
protected:
00044
public:
00049 VDKReadWriteValueProp<VDKGnomeEntry,char*> History;
00053 VDKReadWriteValueProp<VDKGnomeEntry,unsigned int> MaxSaved;
00060 VDKGnomeEntry(
VDKForm* owner,
00061
char* def = (
char*) NULL,
00062
char* history = (
char*) NULL
00063 );
00067
virtual ~VDKGnomeEntry();
00068
00069
void SetHistory(
char* history)
00070 {
00071 gnome_entry_set_history_id(GNOME_ENTRY(widget),history);
00072 }
00073
00074
void SetMaxSaved(
unsigned int max)
00075 {
00076 gnome_entry_set_max_saved(GNOME_ENTRY(widget),max);
00077 }
00078
00079 };
00080
#endif
00081
00082
#endif