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); }