Ardour  9.0-pre0-582-g084a23a80d
celleditable.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 // Generated by gmmproc 2.45.3 -- DO NOT MODIFY!
3 #ifndef _GTKMM_CELLEDITABLE_H
4 #define _GTKMM_CELLEDITABLE_H
5 
6 
7 #include <glibmm/ustring.h>
8 #include <sigc++/sigc++.h>
9 
10 /* $Id: celleditable.hg,v 1.2 2005/01/10 10:49:23 murrayc Exp $ */
11 
12 /* Copyright (C) 1998-2002 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 <glibmm/interface.h>
30 
31 
32 #ifndef DOXYGEN_SHOULD_SKIP_THIS
33 extern "C"
34 {
36 typedef union _GdkEvent GdkEvent;
37 }
38 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
39 
40 
41 #ifndef DOXYGEN_SHOULD_SKIP_THIS
42 typedef struct _GtkCellEditable GtkCellEditable;
43 typedef struct _GtkCellEditableClass GtkCellEditableClass;
44 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
45 
46 
47 #ifndef DOXYGEN_SHOULD_SKIP_THIS
48 namespace Gtk
49 { class CellEditable_Class; } // namespace Gtk
50 #endif // DOXYGEN_SHOULD_SKIP_THIS
51 
52 namespace Gtk
53 {
54 
59 class CellEditable : public Glib::Interface
60 {
61 
62 #ifndef DOXYGEN_SHOULD_SKIP_THIS
63 
64 public:
65  typedef CellEditable CppObjectType;
66  typedef CellEditable_Class CppClassType;
67  typedef GtkCellEditable BaseObjectType;
68  typedef GtkCellEditableIface BaseClassType;
69 
70 private:
71  friend class CellEditable_Class;
72  static CppClassType celleditable_class_;
73 
74  // noncopyable
75  CellEditable(const CellEditable&);
76  CellEditable& operator=(const CellEditable&);
77 
78 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
79 protected:
84 
85 #ifndef DOXYGEN_SHOULD_SKIP_THIS
92  explicit CellEditable(const Glib::Interface_Class& interface_class);
93 
94 public:
95  // This is public so that C++ wrapper instances can be
96  // created for C instances of unwrapped types.
97  // For instance, if an unexpected C type implements the C interface.
98  explicit CellEditable(GtkCellEditable* castitem);
99 
100 protected:
101 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
102 
103 public:
104  virtual ~CellEditable();
105 
106  static void add_interface(GType gtype_implementer);
107 
110  static GType get_type() G_GNUC_CONST;
111 
112 #ifndef DOXYGEN_SHOULD_SKIP_THIS
113  static GType get_base_type() G_GNUC_CONST;
114 #endif
115 
117  GtkCellEditable* gobj() { return reinterpret_cast<GtkCellEditable*>(gobject_); }
118 
120  const GtkCellEditable* gobj() const { return reinterpret_cast<GtkCellEditable*>(gobject_); }
121 
122 private:
123 
124 
125 public:
126 
133  void start_editing(GdkEvent* event);
134 
137  void editing_done();
138 
142 
143 
150  Glib::SignalProxy0< void > signal_editing_done();
151 
152 
159  Glib::SignalProxy0< void > signal_remove_widget();
160 
161 
167  Glib::PropertyProxy< bool > property_editing_canceled() ;
168 
174  Glib::PropertyProxy_ReadOnly< bool > property_editing_canceled() const;
175 
176 
177 protected:
178  virtual void start_editing_vfunc(GdkEvent* event);
179 
180 
181 public:
182 
183 public:
184  //C++ methods used to invoke GTK+ virtual functions:
185 
186 protected:
187  //GTK+ Virtual Functions (override these to change behaviour):
188 
189  //Default Signal Handlers::
191  virtual void on_editing_done();
193  virtual void on_remove_widget();
194 
195 
196 };
197 
198 } // namespace Gtk
199 
200 
201 namespace Glib
202 {
211  Glib::RefPtr<Gtk::CellEditable> wrap(GtkCellEditable* object, bool take_copy = false);
212 
213 } // namespace Glib
214 
215 
216 #endif /* _GTKMM_CELLEDITABLE_H */
217 
virtual void start_editing_vfunc(GdkEvent *event)
void start_editing(GdkEvent *event)
Glib::PropertyProxy< bool > property_editing_canceled()
Glib::PropertyProxy_ReadOnly< bool > property_editing_canceled() const
virtual void on_remove_widget()
This is a default handler for the signal signal_remove_widget().
GtkCellEditable * gobj()
Provides access to the underlying C GObject.
Definition: celleditable.h:117
Glib::SignalProxy0< void > signal_remove_widget()
static void add_interface(GType gtype_implementer)
Glib::RefPtr< Gtk::CellEditable > wrap(GtkCellEditable *object, bool take_copy=false)
virtual void on_editing_done()
This is a default handler for the signal signal_editing_done().
const GtkCellEditable * gobj() const
Provides access to the underlying C GObject.
Definition: celleditable.h:120
static GType get_type() G_GNUC_CONST
virtual ~CellEditable()
Glib::SignalProxy0< void > signal_editing_done()
struct _GtkCellEditable GtkCellEditable
Definition: ardour_ui.h:188