Ardour  9.0-pre0-582-g084a23a80d
cellrendereraccel.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 // Generated by gmmproc 2.45.3 -- DO NOT MODIFY!
3 #ifndef _GTKMM_CELLRENDERERACCEL_H
4 #define _GTKMM_CELLRENDERERACCEL_H
5 
6 
7 #include <glibmm/ustring.h>
8 #include <sigc++/sigc++.h>
9 
10 /* $Id: cellrendereraccel.hg,v 1.2 2006/05/11 11:40:24 murrayc Exp $ */
11 
12 /* cellrendereraccel.h
13  *
14  * Copyright (C) 2005 The gtkmm Development Team
15  *
16  * This library is free software; you can redistribute it and/or
17  * modify it under the terms of the GNU Lesser General Public
18  * License as published by the Free Software Foundation; either
19  * version 2.1 of the License, or (at your option) any later version.
20  *
21  * This library is distributed in the hope that it will be useful,
22  * but WITHOUT ANY WARRANTY; without even the implied warranty of
23  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
24  * Lesser General Public License for more details.
25  *
26  * You should have received a copy of the GNU Lesser General Public
27  * License along with this library; if not, write to the Free
28  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
29  */
30 
31 #include <gtkmm/cellrenderertext.h>
32 #include <gtkmm/accelkey.h>
33 
34 
35 #ifndef DOXYGEN_SHOULD_SKIP_THIS
38 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
39 
40 
41 namespace Gtk
42 { class CellRendererAccel_Class; } // namespace Gtk
43 namespace Gtk
44 {
45 
53 {
56 };
57 
58 } // namespace Gtk
59 
60 
61 #ifndef DOXYGEN_SHOULD_SKIP_THIS
62 namespace Glib
63 {
64 
65 template <>
66 class Value<Gtk::CellRendererAccelMode> : public Glib::Value_Enum<Gtk::CellRendererAccelMode>
67 {
68 public:
69  static GType value_type() G_GNUC_CONST;
70 };
71 
72 } // namespace Glib
73 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
74 
75 
76 namespace Gtk
77 {
78 
79 
91 {
92  public:
93 #ifndef DOXYGEN_SHOULD_SKIP_THIS
94  typedef CellRendererAccel CppObjectType;
95  typedef CellRendererAccel_Class CppClassType;
96  typedef GtkCellRendererAccel BaseObjectType;
97  typedef GtkCellRendererAccelClass BaseClassType;
98 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
99 
101 
102 #ifndef DOXYGEN_SHOULD_SKIP_THIS
103 
104 private:
105  friend class CellRendererAccel_Class;
106  static CppClassType cellrendereraccel_class_;
107 
108  // noncopyable
110  CellRendererAccel& operator=(const CellRendererAccel&);
111 
112 protected:
113  explicit CellRendererAccel(const Glib::ConstructParams& construct_params);
114  explicit CellRendererAccel(GtkCellRendererAccel* castitem);
115 
116 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
117 
118 public:
119 #ifndef DOXYGEN_SHOULD_SKIP_THIS
120  static GType get_type() G_GNUC_CONST;
121 
122 
123  static GType get_base_type() G_GNUC_CONST;
124 #endif
125 
127  GtkCellRendererAccel* gobj() { return reinterpret_cast<GtkCellRendererAccel*>(gobject_); }
128 
130  const GtkCellRendererAccel* gobj() const { return reinterpret_cast<GtkCellRendererAccel*>(gobject_); }
131 
132 
133 public:
134  //C++ methods used to invoke GTK+ virtual functions:
135 
136 protected:
137  //GTK+ Virtual Functions (override these to change behaviour):
138 
139  //Default Signal Handlers::
141  virtual void on_accel_edited(const Glib::ustring& path_string, guint accel_key, Gdk::ModifierType accel_mods, guint hardware_keycode);
143  virtual void on_accel_cleared(const Glib::ustring& path_string);
144 
145 
146 private:
147 
148 public:
149 
151 
152 
153  //TODO: Wrap accel_key and accel_mods in an AccelKey?
154 
161  Glib::SignalProxy4< void,const Glib::ustring&,guint,Gdk::ModifierType,guint > signal_accel_edited();
162 
163 
170  Glib::SignalProxy1< void,const Glib::ustring& > signal_accel_cleared();
171 
172 
178  Glib::PropertyProxy< guint > property_accel_key() ;
179 
185  Glib::PropertyProxy_ReadOnly< guint > property_accel_key() const;
186 
192  Glib::PropertyProxy< Gdk::ModifierType > property_accel_mods() ;
193 
199  Glib::PropertyProxy_ReadOnly< Gdk::ModifierType > property_accel_mods() const;
200 
206  Glib::PropertyProxy< guint > property_keycode() ;
207 
213  Glib::PropertyProxy_ReadOnly< guint > property_keycode() const;
214 
220  Glib::PropertyProxy< CellRendererAccelMode > property_accel_mode() ;
221 
227  Glib::PropertyProxy_ReadOnly< CellRendererAccelMode > property_accel_mode() const;
228 
229 
230  virtual Glib::PropertyProxy_Base _property_renderable(); //override
231 
232 
233 };
234 
235 } /* namespace Gtk */
236 
237 
238 namespace Glib
239 {
248  Gtk::CellRendererAccel* wrap(GtkCellRendererAccel* object, bool take_copy = false);
249 } //namespace Glib
250 
251 
252 #endif /* _GTKMM_CELLRENDERERACCEL_H */
253 
Gtk::CellRendererAccel * wrap(GtkCellRendererAccel *object, bool take_copy=false)
Glib::PropertyProxy< Gdk::ModifierType > property_accel_mods()
Glib::PropertyProxy< CellRendererAccelMode > property_accel_mode()
virtual void on_accel_edited(const Glib::ustring &path_string, guint accel_key, Gdk::ModifierType accel_mods, guint hardware_keycode)
This is a default handler for the signal signal_accel_edited().
GtkCellRendererAccel * gobj()
Provides access to the underlying C GtkObject.
Glib::PropertyProxy_ReadOnly< CellRendererAccelMode > property_accel_mode() const
virtual ~CellRendererAccel()
Glib::PropertyProxy< guint > property_accel_key()
Glib::PropertyProxy< guint > property_keycode()
Glib::SignalProxy4< void, const Glib::ustring &, guint, Gdk::ModifierType, guint > signal_accel_edited()
Glib::PropertyProxy_ReadOnly< Gdk::ModifierType > property_accel_mods() const
Glib::PropertyProxy_ReadOnly< guint > property_keycode() const
virtual void on_accel_cleared(const Glib::ustring &path_string)
This is a default handler for the signal signal_accel_cleared().
const GtkCellRendererAccel * gobj() const
Provides access to the underlying C GtkObject.
Glib::SignalProxy1< void, const Glib::ustring & > signal_accel_cleared()
virtual Glib::PropertyProxy_Base _property_renderable()
Glib::PropertyProxy_ReadOnly< guint > property_accel_key() const
CellRendererAccelMode
@ CELL_RENDERER_ACCEL_MODE_OTHER
@ CELL_RENDERER_ACCEL_MODE_GTK
Definition: ardour_ui.h:188
Definition: lobject.h:100