Debian Codegraph @

gtk/src/recentchooserwidget.hg

raw
1 /* Copyright (C) 2006 The gtkmm Development Team
2 *
3 * This library is free software; you can redistribute it and/or
4 * modify it under the terms of the GNU Lesser General Public
5 * License as published by the Free Software Foundation; either
6 * version 2.1 of the License, or (at your option) any later version.
7 *
8 * This library is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 * Lesser General Public License for more details.
12 *
13 * You should have received a copy of the GNU Lesser General Public
14 * License along with this library; if not, see <https://www.gnu.org/licenses/>.
15 */
16
17 #include <gtkmm/box.h>
18 #include <gtkmm/recentchooser.h>
19
20 _DEFS(gtkmm,gtk)
21 _PINCLUDE(gtkmm/private/hvbox_p.h)
22
23 namespace Gtk
24 {
25
26 /** RecentChooserWidget is a widget suitable for selecting recently used
27 * files. It is the main building block of a RecentChooserDialog. Most
28 * applications will only need to use the latter; you can use
29 * RecentChooserWidget as part of a larger window if you have special needs.
30 *
31 * Note that RecentChooserWidget does not have any methods of its own.
32 * Instead, you should use the functions that work on a RecentChooser.
33 *
34 * @newin{2,10}
35 *
36 * @ingroup RecentFiles
37 */
38 class GTKMM_API RecentChooserWidget
39 : public VBox,
40 public RecentChooser
41 {
42 _CLASS_GTKOBJECT(RecentChooserWidget, GtkRecentChooserWidget, GTK_RECENT_CHOOSER_WIDGET, Gtk::VBox, GtkVBox, , , GTKMM_API)
43 _IMPLEMENTS_INTERFACE(RecentChooser)
44 public:
45 _CTOR_DEFAULT;
46
47 _WRAP_CTOR(RecentChooserWidget(const Glib::RefPtr<RecentManager>& recent_manager), gtk_recent_chooser_widget_new_for_manager)
48 };
49
50 } // namespace Gtk