12#ifndef _GTK_FILEDIALOGPRIVATE_H_
13#define _GTK_FILEDIALOGPRIVATE_H_
15#include <wx/gtk/filectrl.h>
28 const wxString& message = wxFileSelectorPromptStr,
29 const wxString& defaultDir = wxEmptyString,
30 const wxString& defaultFile = wxEmptyString,
31 const wxString& wildCard = wxFileSelectorDefaultWildcardStr,
32 long style = wxFD_DEFAULT_STYLE,
33 const wxPoint& pos = wxDefaultPosition,
34 const wxSize& sz = wxDefaultSize,
35 const wxString&
name = wxFileDialogNameStr);
36 bool Create(wxWindow *parent,
37 const wxString& message = wxFileSelectorPromptStr,
38 const wxString& defaultDir = wxEmptyString,
39 const wxString& defaultFile = wxEmptyString,
40 const wxString& wildCard = wxFileSelectorDefaultWildcardStr,
41 long style = wxFD_DEFAULT_STYLE,
42 const wxPoint& pos = wxDefaultPosition,
43 const wxSize& sz = wxDefaultSize,
44 const wxString&
name = wxFileDialogNameStr);
47 virtual wxString GetPath()
const;
48 virtual void GetPaths(wxArrayString& paths)
const;
49 virtual wxString GetFilename()
const;
50 virtual void GetFilenames(wxArrayString& files)
const;
51 virtual int GetFilterIndex()
const;
53 virtual void SetMessage(
const wxString& message);
54 virtual void SetPath(
const wxString& path);
55 virtual void SetDirectory(
const wxString& dir);
56 virtual void SetFilename(
const wxString&
name);
57 virtual void SetWildcard(
const wxString& wildCard);
58 virtual void SetFilterIndex(
int filterIndex);
60 virtual int ShowModal();
67 void GTKSelectionChanged(
const wxString& filename);
68 void GTKFolderChanged();
69 void GTKFilterChanged();
76 int width,
int height,
77 int sizeFlags = wxSIZE_AUTO);
81 void OnFakeOk( wxCommandEvent &event );
83 virtual void AddChildGTK(wxWindowGTK* child);
static void OnSize(wxSizeEvent &evt)
virtual void SetFileExtension(const wxString &extension)
Dialog used to present platform specific "Save As" dialog with custom controls.
virtual bool SupportsExtraControl() const
virtual void DoSetSize(int x, int y, int width, int height, int sizeFlags=wxSIZE_AUTO)
ProjectFileIOExtensionRegistry::Extension extension