2 // Generated by gtkmmproc -- DO NOT MODIFY!
3 #ifndef _GTKMM_FILECHOOSERDIALOG_H
4 #define _GTKMM_FILECHOOSERDIALOG_H
10 /* filechooserdialog.h
12 * Copyright (C) 1998-2002 The gtkmm Development Team
14 * This library is free software; you can redistribute it and/or
15 * modify it under the terms of the GNU Library General Public
16 * License as published by the Free Software Foundation; either
17 * version 2 of the License, or (at your option) any later version.
19 * This library is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
22 * Library General Public License for more details.
24 * You should have received a copy of the GNU Library General Public
25 * License along with this library; if not, write to the Free
26 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
29 #include <gtkmm/dialog.h>
30 #include <gtkmm/filechooser.h>
33 #ifndef DOXYGEN_SHOULD_SKIP_THIS
34 typedef struct _GtkFileChooserDialog GtkFileChooserDialog;
35 typedef struct _GtkFileChooserDialogClass GtkFileChooserDialogClass;
36 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
40 { class FileChooserDialog_Class; } // namespace Gtk
44 /** Convenient file chooser window.
49 class FileChooserDialog
54 #ifndef DOXYGEN_SHOULD_SKIP_THIS
55 typedef FileChooserDialog CppObjectType;
56 typedef FileChooserDialog_Class CppClassType;
57 typedef GtkFileChooserDialog BaseObjectType;
58 typedef GtkFileChooserDialogClass BaseClassType;
59 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
61 virtual ~FileChooserDialog();
63 #ifndef DOXYGEN_SHOULD_SKIP_THIS
66 friend class FileChooserDialog_Class;
67 static CppClassType filechooserdialog_class_;
70 FileChooserDialog(const FileChooserDialog&);
71 FileChooserDialog& operator=(const FileChooserDialog&);
74 explicit FileChooserDialog(const Glib::ConstructParams& construct_params);
75 explicit FileChooserDialog(GtkFileChooserDialog* castitem);
77 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
80 #ifndef DOXYGEN_SHOULD_SKIP_THIS
81 static GType get_type() G_GNUC_CONST;
82 static GType get_base_type() G_GNUC_CONST;
85 ///Provides access to the underlying C GtkObject.
86 GtkFileChooserDialog* gobj() { return reinterpret_cast<GtkFileChooserDialog*>(gobject_); }
88 ///Provides access to the underlying C GtkObject.
89 const GtkFileChooserDialog* gobj() const { return reinterpret_cast<GtkFileChooserDialog*>(gobject_); }
93 //C++ methods used to invoke GTK+ virtual functions:
96 //GTK+ Virtual Functions (override these to change behaviour):
98 //Default Signal Handlers::
106 explicit FileChooserDialog(Gtk::Window& parent, const Glib::ustring& title, FileChooserAction action = FILE_CHOOSER_ACTION_OPEN);
107 explicit FileChooserDialog(const Glib::ustring& title, FileChooserAction action = FILE_CHOOSER_ACTION_OPEN);
110 explicit FileChooserDialog(Gtk::Window& parent, const Glib::ustring& title, FileChooserAction action, const Glib::ustring& backend);
111 explicit FileChooserDialog(const Glib::ustring& title, FileChooserAction action, const Glib::ustring& backend);
121 /** @relates Gtk::FileChooserDialog
122 * @param object The C instance
123 * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
124 * @result A C++ instance that wraps this C instance.
126 Gtk::FileChooserDialog* wrap(GtkFileChooserDialog* object, bool take_copy = false);
128 #endif /* _GTKMM_FILECHOOSERDIALOG_H */