Ardour  9.0-pre0-582-g084a23a80d
drawingarea.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 // Generated by gmmproc 2.45.3 -- DO NOT MODIFY!
3 #ifndef _GTKMM_DRAWINGAREA_H
4 #define _GTKMM_DRAWINGAREA_H
5 
6 
7 #include <glibmm/ustring.h>
8 #include <sigc++/sigc++.h>
9 
10 /* $Id: drawingarea.hg,v 1.1 2003/01/21 13:38:48 murrayc Exp $ */
11 
12 /* drawingarea.h
13  *
14  * Copyright (C) 1998-2002 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/widget.h>
32 
33 
34 #ifndef DOXYGEN_SHOULD_SKIP_THIS
35 typedef struct _GtkDrawingArea GtkDrawingArea;
37 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
38 
39 
40 namespace Gtk
41 { class DrawingArea_Class; } // namespace Gtk
42 namespace Gtk
43 {
44 
50 class DrawingArea : public Widget
51 {
52  public:
53 #ifndef DOXYGEN_SHOULD_SKIP_THIS
54  typedef DrawingArea CppObjectType;
55  typedef DrawingArea_Class CppClassType;
56  typedef GtkDrawingArea BaseObjectType;
57  typedef GtkDrawingAreaClass BaseClassType;
58 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
59 
60  virtual ~DrawingArea();
61 
62 #ifndef DOXYGEN_SHOULD_SKIP_THIS
63 
64 private:
65  friend class DrawingArea_Class;
66  static CppClassType drawingarea_class_;
67 
68  // noncopyable
69  DrawingArea(const DrawingArea&);
70  DrawingArea& operator=(const DrawingArea&);
71 
72 protected:
73  explicit DrawingArea(const Glib::ConstructParams& construct_params);
74  explicit DrawingArea(GtkDrawingArea* castitem);
75 
76 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
77 
78 public:
79 #ifndef DOXYGEN_SHOULD_SKIP_THIS
80  static GType get_type() G_GNUC_CONST;
81 
82 
83  static GType get_base_type() G_GNUC_CONST;
84 #endif
85 
87  GtkDrawingArea* gobj() { return reinterpret_cast<GtkDrawingArea*>(gobject_); }
88 
90  const GtkDrawingArea* gobj() const { return reinterpret_cast<GtkDrawingArea*>(gobject_); }
91 
92 
93 public:
94  //C++ methods used to invoke GTK+ virtual functions:
95 
96 protected:
97  //GTK+ Virtual Functions (override these to change behaviour):
98 
99  //Default Signal Handlers::
100 
101 
102 private:
103 
104 public:
105 
107 
108 
109 };
110 
111 } /* namespace Gtk */
112 
113 
114 namespace Glib
115 {
124  Gtk::DrawingArea* wrap(GtkDrawingArea* object, bool take_copy = false);
125 } //namespace Glib
126 
127 
128 #endif /* _GTKMM_DRAWINGAREA_H */
129 
Gtk::DrawingArea * wrap(GtkDrawingArea *object, bool take_copy=false)
virtual ~DrawingArea()
const GtkDrawingArea * gobj() const
Provides access to the underlying C GtkObject.
Definition: drawingarea.h:90
GtkDrawingArea * gobj()
Provides access to the underlying C GtkObject.
Definition: drawingarea.h:87
Definition: ardour_ui.h:188