Ardour  9.0-pre0-582-g084a23a80d
recentchoosermenu.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 // Generated by gmmproc 2.45.3 -- DO NOT MODIFY!
3 #ifndef _GTKMM_RECENTCHOOSERMENU_H
4 #define _GTKMM_RECENTCHOOSERMENU_H
5 
6 
7 #include <glibmm/ustring.h>
8 #include <sigc++/sigc++.h>
9 
10 /* recentchoosermenu.h
11  *
12  * Copyright (C) 2006 The gtkmm Development Team
13  *
14  * This library is free software; you can redistribute it and/or
15  * modify it under the terms of the GNU Lesser General Public
16  * License as published by the Free Software Foundation; either
17  * version 2.1 of the License, or (at your option) any later version.
18  *
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  * Lesser General Public License for more details.
23  *
24  * You should have received a copy of the GNU Lesser 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.
27  */
28 
29 #include <gtkmm/menu.h>
30 #include <gtkmm/recentchooser.h>
31 
32 
33 #ifndef DOXYGEN_SHOULD_SKIP_THIS
36 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
37 
38 
39 namespace Gtk
40 { class RecentChooserMenu_Class; } // namespace Gtk
41 namespace Gtk
42 {
43 
44 // TODO: Inherit/Implement Activatable when we can break ABI.
45 
57  : public Menu,
58  public RecentChooser
59 {
60  public:
61 #ifndef DOXYGEN_SHOULD_SKIP_THIS
62  typedef RecentChooserMenu CppObjectType;
63  typedef RecentChooserMenu_Class CppClassType;
64  typedef GtkRecentChooserMenu BaseObjectType;
65  typedef GtkRecentChooserMenuClass BaseClassType;
66 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
67 
68  virtual ~RecentChooserMenu();
69 
70 #ifndef DOXYGEN_SHOULD_SKIP_THIS
71 
72 private:
73  friend class RecentChooserMenu_Class;
74  static CppClassType recentchoosermenu_class_;
75 
76  // noncopyable
78  RecentChooserMenu& operator=(const RecentChooserMenu&);
79 
80 protected:
81  explicit RecentChooserMenu(const Glib::ConstructParams& construct_params);
82  explicit RecentChooserMenu(GtkRecentChooserMenu* castitem);
83 
84 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
85 
86 public:
87 #ifndef DOXYGEN_SHOULD_SKIP_THIS
88  static GType get_type() G_GNUC_CONST;
89 
90 
91  static GType get_base_type() G_GNUC_CONST;
92 #endif
93 
95  GtkRecentChooserMenu* gobj() { return reinterpret_cast<GtkRecentChooserMenu*>(gobject_); }
96 
98  const GtkRecentChooserMenu* gobj() const { return reinterpret_cast<GtkRecentChooserMenu*>(gobject_); }
99 
100 
101 public:
102  //C++ methods used to invoke GTK+ virtual functions:
103 
104 protected:
105  //GTK+ Virtual Functions (override these to change behaviour):
106 
107  //Default Signal Handlers::
108 
109 
110 private:
111 
112 
113 public:
115 
116  explicit RecentChooserMenu(const Glib::RefPtr<RecentManager>& recent_manager);
117 
118 
126  void set_show_numbers(bool show_numbers = true);
127 
132  bool get_show_numbers() const;
133 
139  Glib::PropertyProxy< bool > property_show_numbers() ;
140 
146  Glib::PropertyProxy_ReadOnly< bool > property_show_numbers() const;
147 
148 
149 };
150 
151 } // namespace Gtk
152 
153 
154 namespace Glib
155 {
164  Gtk::RecentChooserMenu* wrap(GtkRecentChooserMenu* object, bool take_copy = false);
165 } //namespace Glib
166 
167 
168 #endif /* _GTKMM_RECENTCHOOSERMENU_H */
169 
Gtk::RecentChooserMenu * wrap(GtkRecentChooserMenu *object, bool take_copy=false)
bool get_show_numbers() const
virtual ~RecentChooserMenu()
Glib::PropertyProxy< bool > property_show_numbers()
RecentChooserMenu(const Glib::RefPtr< RecentManager > &recent_manager)
const GtkRecentChooserMenu * gobj() const
Provides access to the underlying C GtkObject.
GtkRecentChooserMenu * gobj()
Provides access to the underlying C GtkObject.
void set_show_numbers(bool show_numbers=true)
Glib::PropertyProxy_ReadOnly< bool > property_show_numbers() const
static GType get_type() G_GNUC_CONST
Definition: ardour_ui.h:188