~ubuntu-branches/ubuntu/precise/gtkmm3.0/precise

« back to all changes in this revision

Viewing changes to gtk/src/recentchooserdialog.hg

  • Committer: Bazaar Package Importer
  • Author(s): Michael Biebl
  • Date: 2011-06-17 00:12:44 UTC
  • Revision ID: james.westby@ubuntu.com-20110617001244-9hl5an15hiaaahi6
Tags: upstream-3.0.1
ImportĀ upstreamĀ versionĀ 3.0.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* recentchooserdialog.h
 
2
 *
 
3
 * Copyright (C) 2006 The gtkmm Development Team
 
4
 *
 
5
 * This library is free software; you can redistribute it and/or
 
6
 * modify it under the terms of the GNU Lesser General Public
 
7
 * License as published by the Free Software Foundation; either
 
8
 * version 2.1 of the License, or (at your option) any later version.
 
9
 *
 
10
 * This library is distributed in the hope that it will be useful,
 
11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
13
 * Lesser General Public License for more details.
 
14
 *
 
15
 * You should have received a copy of the GNU Lesser General Public
 
16
 * License along with this library; if not, write to the Free
 
17
 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
18
 */
 
19
 
 
20
#include <gtkmm/dialog.h>
 
21
#include <gtkmm/recentchooser.h>
 
22
 
 
23
_DEFS(gtkmm,gtk)
 
24
_PINCLUDE(gtkmm/private/dialog_p.h)
 
25
 
 
26
namespace Gtk
 
27
{
 
28
 
 
29
/** RecentChooserDialog is a dialog box suitable for displaying the recently
 
30
 * used documents. This widget works by putting a RecentChooserWidget inside
 
31
 * a Dialog. It exposes the RecentChooser interface, so you can use
 
32
 * all the RecentChooser functions on the recent chooser dialog as well as
 
33
 * those for Dialog.
 
34
 *
 
35
 * Note that RecentChooserDialog does not have any methods of its own.
 
36
 * Instead, you should use the functions that work on a RecentChooser.
 
37
 *
 
38
 * A RecentChooserDialog looks like this:
 
39
 * @image html recentchooserdialog1.png
 
40
 *
 
41
 * @newin{2,10}
 
42
 *
 
43
 * @ingroup RecentFiles
 
44
 */
 
45
class RecentChooserDialog
 
46
  : public Dialog,
 
47
    public RecentChooser
 
48
{
 
49
  _CLASS_GTKOBJECT(RecentChooserDialog, GtkRecentChooserDialog, GTK_RECENT_CHOOSER_DIALOG, Gtk::Dialog, GtkDialog)
 
50
  _IMPLEMENTS_INTERFACE(RecentChooser)
 
51
  _UNMANAGEABLE
 
52
public:
 
53
  _IGNORE(gtk_recent_chooser_dialog_new)
 
54
  explicit RecentChooserDialog(Gtk::Window& parent, const Glib::ustring& title);
 
55
  explicit RecentChooserDialog(const Glib::ustring& title);
 
56
 
 
57
  _IGNORE(gtk_recent_chooser_dialog_new_for_manager)
 
58
  explicit RecentChooserDialog(Gtk::Window& parent, const Glib::ustring& title, const Glib::RefPtr<RecentManager>& recent_manager);
 
59
  explicit RecentChooserDialog(const Glib::ustring& title, const Glib::RefPtr<RecentManager>& recent_manager);
 
60
};
 
61
 
 
62
} // namespace Gtk
 
63