2 // Generated by gtkmmproc -- DO NOT MODIFY!
3 #ifndef _GTKMM_RECENTCHOOSERDIALOG_H
4 #define _GTKMM_RECENTCHOOSERDIALOG_H
9 /* recentchooserdialog.h
11 * Copyright (C) 2006 The gtkmm Development Team
13 * This library is free software; you can redistribute it and/or
14 * modify it under the terms of the GNU Library General Public
15 * License as published by the Free Software Foundation; either
16 * version 2 of the License, or (at your option) any later version.
18 * This library is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21 * Library General Public License for more details.
23 * You should have received a copy of the GNU Library General Public
24 * License along with this library; if not, write to the Free
25 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
28 #include <gtkmm/dialog.h>
29 #include <gtkmm/recentchooser.h>
32 #ifndef DOXYGEN_SHOULD_SKIP_THIS
33 typedef struct _GtkRecentChooserDialog GtkRecentChooserDialog;
34 typedef struct _GtkRecentChooserDialogClass GtkRecentChooserDialogClass;
35 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
39 { class RecentChooserDialog_Class; } // namespace Gtk
43 /** RecentChooserDialog is a dialog box suitable for displaying the recently
44 * used documents. This widget works by putting a RecentChooserWidget inside
45 * a Dialog. It exposes the RecentChooser interface, so you can use
46 * all the RecentChooser functions on the recent chooser dialog as well as
49 * Note that RecentChooserDialog does not have any methods of its own.
50 * Instead, you should use the functions that work on a RecentChooser.
54 * @ingroup RecentFiles
57 class RecentChooserDialog
62 #ifndef DOXYGEN_SHOULD_SKIP_THIS
63 typedef RecentChooserDialog CppObjectType;
64 typedef RecentChooserDialog_Class CppClassType;
65 typedef GtkRecentChooserDialog BaseObjectType;
66 typedef GtkRecentChooserDialogClass BaseClassType;
67 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
69 virtual ~RecentChooserDialog();
71 #ifndef DOXYGEN_SHOULD_SKIP_THIS
74 friend class RecentChooserDialog_Class;
75 static CppClassType recentchooserdialog_class_;
78 RecentChooserDialog(const RecentChooserDialog&);
79 RecentChooserDialog& operator=(const RecentChooserDialog&);
82 explicit RecentChooserDialog(const Glib::ConstructParams& construct_params);
83 explicit RecentChooserDialog(GtkRecentChooserDialog* castitem);
85 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
88 #ifndef DOXYGEN_SHOULD_SKIP_THIS
89 static GType get_type() G_GNUC_CONST;
90 static GType get_base_type() G_GNUC_CONST;
93 ///Provides access to the underlying C GtkObject.
94 GtkRecentChooserDialog* gobj() { return reinterpret_cast<GtkRecentChooserDialog*>(gobject_); }
96 ///Provides access to the underlying C GtkObject.
97 const GtkRecentChooserDialog* gobj() const { return reinterpret_cast<GtkRecentChooserDialog*>(gobject_); }
101 //C++ methods used to invoke GTK+ virtual functions:
102 #ifdef GLIBMM_VFUNCS_ENABLED
103 #endif //GLIBMM_VFUNCS_ENABLED
106 //GTK+ Virtual Functions (override these to change behaviour):
107 #ifdef GLIBMM_VFUNCS_ENABLED
108 #endif //GLIBMM_VFUNCS_ENABLED
110 //Default Signal Handlers::
111 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
112 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
120 explicit RecentChooserDialog(Gtk::Window& parent, const Glib::ustring& title);
121 explicit RecentChooserDialog(const Glib::ustring& title);
124 explicit RecentChooserDialog(Gtk::Window& parent, const Glib::ustring& title, const Glib::RefPtr<RecentManager>& recent_manager);
125 explicit RecentChooserDialog(const Glib::ustring& title, const Glib::RefPtr<RecentManager>& recent_manager);
135 /** A Glib::wrap() method for this object.
137 * @param object The C instance.
138 * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
139 * @result A C++ instance that wraps this C instance.
141 * @relates Gtk::RecentChooserDialog
143 Gtk::RecentChooserDialog* wrap(GtkRecentChooserDialog* object, bool take_copy = false);
147 #endif /* _GTKMM_RECENTCHOOSERDIALOG_H */