27 #ifndef _vdkfc_form_h_
28 #define _vdkfc_form_h_
72 static void file_activated (GtkFileChooser *filechooser,
88 private:
void Setup(
void);
90 protected:
VDKBox* mainbox;
93 protected:
VDKBox* buttonbox;
97 bool OncancelButtonClick(
VDKObject* sender);
109 static GtkWindowType DisplayType;
110 static GtkWindowPosition InitialPosition;
123 void AddMimeType(
char* name,
char* mime);
142 VDKReadWriteValueProp<VDKFileChooser,GtkFileChooserAction>
Action;
144 bool GetMultiSelection() {
return gtk_file_chooser_get_select_multiple (GTK_FILE_CHOOSER(
sigwid)); }
145 void SetMultiSelection(
bool ms) { gtk_file_chooser_set_select_multiple(GTK_FILE_CHOOSER(
sigwid),ms); }
146 GtkFileChooserAction GetAction() {
return gtk_file_chooser_get_action(GTK_FILE_CHOOSER(
sigwid)); }
147 void SetAction(GtkFileChooserAction a) { gtk_file_chooser_set_action (GTK_FILE_CHOOSER(
sigwid),a); }
Provides a separator widget.
Definition: separator.h:35
void AddFilterPattern(char *name, char *pattern)
Definition: vdkfilechooser.cc:266
VDKReadWriteValueProp< VDKFileChooser, bool > MultiSelection
Definition: vdkfilechooser.h:134
VDKFileChooser(VDKForm *owner, FileStringArray *selections, char *title)
Definition: vdkfilechooser.cc:162
One of the most used widget containers.
Definition: boxes.h:37
provides a templatized array
Definition: vdkarray.h:72
Provides a wrap for GtkFileChooser widget.
Definition: vdkfilechooser.h:66
void SetDefaultFilter(char *name)
Definition: vdkfilechooser.cc:283
void Setup(void)
Definition: vdkfilechooser.cc:181
VDKReadWriteValueProp< VDKFileChooser, GtkFileChooserAction > Action
Definition: vdkfilechooser.h:142
void RemoveFilter(char *name)
Definition: vdkfilechooser.cc:301
GtkWidget * sigwid
Definition: vdkobj.h:249