2 // Generated by gtkmmproc -- DO NOT MODIFY!
3 #ifndef _GTKMM_FILECHOOSERDIALOG_H
4 #define _GTKMM_FILECHOOSERDIALOG_H
11 /* filechooserdialog.h
13 * Copyright (C) 1998-2002 The gtkmm Development Team
15 * This library is free software; you can redistribute it and/or
16 * modify it under the terms of the GNU Library General Public
17 * License as published by the Free Software Foundation; either
18 * version 2 of the License, or (at your option) any later version.
20 * This library is distributed in the hope that it will be useful,
21 * but WITHOUT ANY WARRANTY; without even the implied warranty of
22 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
23 * Library General Public License for more details.
25 * You should have received a copy of the GNU Library General Public
26 * License along with this library; if not, write to the Free
27 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
30 #include <gtkmm/dialog.h>
31 #include <gtkmm/filechooser.h>
34 #ifndef DOXYGEN_SHOULD_SKIP_THIS
35 typedef struct _GtkFileChooserDialog GtkFileChooserDialog;
36 typedef struct _GtkFileChooserDialogClass GtkFileChooserDialogClass;
37 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
41 { class FileChooserDialog_Class; } // namespace Gtk
45 /** Convenient file chooser window.
50 class FileChooserDialog
55 #ifndef DOXYGEN_SHOULD_SKIP_THIS
56 typedef FileChooserDialog CppObjectType;
57 typedef FileChooserDialog_Class CppClassType;
58 typedef GtkFileChooserDialog BaseObjectType;
59 typedef GtkFileChooserDialogClass BaseClassType;
60 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
62 virtual ~FileChooserDialog();
64 #ifndef DOXYGEN_SHOULD_SKIP_THIS
67 friend class FileChooserDialog_Class;
68 static CppClassType filechooserdialog_class_;
71 FileChooserDialog(const FileChooserDialog&);
72 FileChooserDialog& operator=(const FileChooserDialog&);
75 explicit FileChooserDialog(const Glib::ConstructParams& construct_params);
76 explicit FileChooserDialog(GtkFileChooserDialog* castitem);
78 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
81 #ifndef DOXYGEN_SHOULD_SKIP_THIS
82 static GType get_type() G_GNUC_CONST;
83 static GType get_base_type() G_GNUC_CONST;
86 ///Provides access to the underlying C GtkObject.
87 GtkFileChooserDialog* gobj() { return reinterpret_cast<GtkFileChooserDialog*>(gobject_); }
89 ///Provides access to the underlying C GtkObject.
90 const GtkFileChooserDialog* gobj() const { return reinterpret_cast<GtkFileChooserDialog*>(gobject_); }
94 //C++ methods used to invoke GTK+ virtual functions:
95 #ifdef GLIBMM_VFUNCS_ENABLED
96 #endif //GLIBMM_VFUNCS_ENABLED
99 //GTK+ Virtual Functions (override these to change behaviour):
100 #ifdef GLIBMM_VFUNCS_ENABLED
101 #endif //GLIBMM_VFUNCS_ENABLED
103 //Default Signal Handlers::
104 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
105 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
113 explicit FileChooserDialog(Gtk::Window& parent, const Glib::ustring& title, FileChooserAction action = FILE_CHOOSER_ACTION_OPEN);
114 explicit FileChooserDialog(const Glib::ustring& title, FileChooserAction action = FILE_CHOOSER_ACTION_OPEN);
117 explicit FileChooserDialog(Gtk::Window& parent, const Glib::ustring& title, FileChooserAction action, const Glib::ustring& backend);
118 explicit FileChooserDialog(const Glib::ustring& title, FileChooserAction action, const Glib::ustring& backend);
128 /** A Glib::wrap() method for this object.
130 * @param object The C instance.
131 * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
132 * @result A C++ instance that wraps this C instance.
134 * @relates Gtk::FileChooserDialog
136 Gtk::FileChooserDialog* wrap(GtkFileChooserDialog* object, bool take_copy = false);
140 #endif /* _GTKMM_FILECHOOSERDIALOG_H */