Ardour  9.0-pre0-582-g084a23a80d
eventbox.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 // Generated by gmmproc 2.45.3 -- DO NOT MODIFY!
3 #ifndef _GTKMM_EVENTBOX_H
4 #define _GTKMM_EVENTBOX_H
5 
6 
7 #include <glibmm/ustring.h>
8 #include <sigc++/sigc++.h>
9 
10 /* $Id: eventbox.hg,v 1.2 2003/10/12 09:38:11 murrayc Exp $ */
11 
12 /* eventbox.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/bin.h>
32 
33 
34 #ifndef DOXYGEN_SHOULD_SKIP_THIS
35 typedef struct _GtkEventBox GtkEventBox;
36 typedef struct _GtkEventBoxClass GtkEventBoxClass;
37 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
38 
39 
40 namespace Gtk
41 { class EventBox_Class; } // namespace Gtk
42 namespace Gtk
43 {
44 
58 class EventBox : public Bin
59 {
60  public:
61 #ifndef DOXYGEN_SHOULD_SKIP_THIS
62  typedef EventBox CppObjectType;
63  typedef EventBox_Class CppClassType;
64  typedef GtkEventBox BaseObjectType;
65  typedef GtkEventBoxClass BaseClassType;
66 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
67 
68  virtual ~EventBox();
69 
70 #ifndef DOXYGEN_SHOULD_SKIP_THIS
71 
72 private:
73  friend class EventBox_Class;
74  static CppClassType eventbox_class_;
75 
76  // noncopyable
77  EventBox(const EventBox&);
78  EventBox& operator=(const EventBox&);
79 
80 protected:
81  explicit EventBox(const Glib::ConstructParams& construct_params);
82  explicit EventBox(GtkEventBox* 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  GtkEventBox* gobj() { return reinterpret_cast<GtkEventBox*>(gobject_); }
96 
98  const GtkEventBox* gobj() const { return reinterpret_cast<GtkEventBox*>(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 public:
114 
115 
121  bool get_visible_window() const;
122 
161  void set_visible_window(bool visible_window = true);
162 
170  bool get_above_child() const;
171 
182  void set_above_child(bool above_child = true);
183 
189  Glib::PropertyProxy< bool > property_visible_window() ;
190 
196  Glib::PropertyProxy_ReadOnly< bool > property_visible_window() const;
197 
203  Glib::PropertyProxy< bool > property_above_child() ;
204 
210  Glib::PropertyProxy_ReadOnly< bool > property_above_child() const;
211 
212 
213 };
214 
215 } /* namespace Gtk */
216 
217 
218 namespace Glib
219 {
228  Gtk::EventBox* wrap(GtkEventBox* object, bool take_copy = false);
229 } //namespace Glib
230 
231 
232 #endif /* _GTKMM_EVENTBOX_H */
233 
Definition: bin.h:55
Glib::PropertyProxy_ReadOnly< bool > property_above_child() const
Gtk::EventBox * wrap(GtkEventBox *object, bool take_copy=false)
Glib::PropertyProxy< bool > property_visible_window()
void set_above_child(bool above_child=true)
Glib::PropertyProxy< bool > property_above_child()
bool get_above_child() const
virtual ~EventBox()
Glib::PropertyProxy_ReadOnly< bool > property_visible_window() const
bool get_visible_window() const
GtkEventBox * gobj()
Provides access to the underlying C GtkObject.
Definition: eventbox.h:95
const GtkEventBox * gobj() const
Provides access to the underlying C GtkObject.
Definition: eventbox.h:98
void set_visible_window(bool visible_window=true)
Definition: ardour_ui.h:188