Ardour  9.0-pre0-582-g084a23a80d
handlebox.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 // Generated by gmmproc 2.45.3 -- DO NOT MODIFY!
3 #ifndef _GTKMM_HANDLEBOX_H
4 #define _GTKMM_HANDLEBOX_H
5 
6 
7 #include <glibmm/ustring.h>
8 #include <sigc++/sigc++.h>
9 
10  /* $Id: handlebox.hg,v 1.1 2003/01/21 13:40:26 murrayc Exp $ */
11 
12 /* handlebox.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/eventbox.h>
32 
33 
34 #ifndef DOXYGEN_SHOULD_SKIP_THIS
35 typedef struct _GtkHandleBox GtkHandleBox;
37 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
38 
39 
40 namespace Gtk
41 { class HandleBox_Class; } // namespace Gtk
42 namespace Gtk
43 {
44 
57 class HandleBox : public Bin
58 {
59  public:
60 #ifndef DOXYGEN_SHOULD_SKIP_THIS
61  typedef HandleBox CppObjectType;
62  typedef HandleBox_Class CppClassType;
63  typedef GtkHandleBox BaseObjectType;
64  typedef GtkHandleBoxClass BaseClassType;
65 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
66 
67  virtual ~HandleBox();
68 
69 #ifndef DOXYGEN_SHOULD_SKIP_THIS
70 
71 private:
72  friend class HandleBox_Class;
73  static CppClassType handlebox_class_;
74 
75  // noncopyable
76  HandleBox(const HandleBox&);
77  HandleBox& operator=(const HandleBox&);
78 
79 protected:
80  explicit HandleBox(const Glib::ConstructParams& construct_params);
81  explicit HandleBox(GtkHandleBox* castitem);
82 
83 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
84 
85 public:
86 #ifndef DOXYGEN_SHOULD_SKIP_THIS
87  static GType get_type() G_GNUC_CONST;
88 
89 
90  static GType get_base_type() G_GNUC_CONST;
91 #endif
92 
94  GtkHandleBox* gobj() { return reinterpret_cast<GtkHandleBox*>(gobject_); }
95 
97  const GtkHandleBox* gobj() const { return reinterpret_cast<GtkHandleBox*>(gobject_); }
98 
99 
100 public:
101  //C++ methods used to invoke GTK+ virtual functions:
102 
103 protected:
104  //GTK+ Virtual Functions (override these to change behaviour):
105 
106  //Default Signal Handlers::
108  virtual void on_child_attached(Widget* child);
110  virtual void on_child_detached(Widget* child);
111 
112 
113 private:
114 
115 public:
117 
118 
120 
127 
129 
136 
138 
146 
147 
152  bool is_child_detached() const;
153 
154 
161  Glib::SignalProxy1< void,Widget* > signal_child_attached();
162 
163 
170  Glib::SignalProxy1< void,Widget* > signal_child_detached();
171 
172 
173 #ifndef GTKMM_DISABLE_DEPRECATED
174 
177  Glib::RefPtr<Gdk::Window> get_bin_window();
178  Glib::RefPtr<const Gdk::Window> get_bin_window() const;
179 
182  Glib::RefPtr<Gdk::Window> get_float_window();
183  Glib::RefPtr<const Gdk::Window> get_float_window() const;
184 
188 
191  bool is_in_drag() const;
192 
195  bool shrinks_on_detach() const;
196 #endif // GTKMM_DISABLE_DEPRECATED
197 
198 
199  //_WRAP_PROPERTY("shadow", ShadowType); //deprecated.
205  Glib::PropertyProxy< ShadowType > property_shadow_type() ;
206 
212  Glib::PropertyProxy_ReadOnly< ShadowType > property_shadow_type() const;
213 
219  Glib::PropertyProxy< PositionType > property_handle_position() ;
220 
226  Glib::PropertyProxy_ReadOnly< PositionType > property_handle_position() const;
227 
233  Glib::PropertyProxy< PositionType > property_snap_edge() ;
234 
240  Glib::PropertyProxy_ReadOnly< PositionType > property_snap_edge() const;
241 
247  Glib::PropertyProxy< bool > property_snap_edge_set() ;
248 
254  Glib::PropertyProxy_ReadOnly< bool > property_snap_edge_set() const;
255 
261  Glib::PropertyProxy_ReadOnly< bool > property_child_detached() const;
262 
263 
264 };
265 
266 } /* namespace Gtk */
267 
268 
269 namespace Glib
270 {
279  Gtk::HandleBox* wrap(GtkHandleBox* object, bool take_copy = false);
280 } //namespace Glib
281 
282 
283 #endif /* _GTKMM_HANDLEBOX_H */
284 
Definition: bin.h:55
bool is_child_detached() const
Glib::SignalProxy1< void, Widget * > signal_child_attached()
Glib::PropertyProxy< PositionType > property_handle_position()
Glib::PropertyProxy_ReadOnly< bool > property_child_detached() const
Glib::RefPtr< Gdk::Window > get_float_window()
Glib::RefPtr< Gdk::Window > get_bin_window()
Glib::PropertyProxy_ReadOnly< PositionType > property_handle_position() const
bool shrinks_on_detach() const
ShadowType get_shadow_type() const
Glib::PropertyProxy_ReadOnly< bool > property_snap_edge_set() const
PositionType get_handle_position() const
Gtk::HandleBox * wrap(GtkHandleBox *object, bool take_copy=false)
virtual void on_child_detached(Widget *child)
This is a default handler for the signal signal_child_detached().
void set_handle_position(PositionType position)
Glib::PropertyProxy< bool > property_snap_edge_set()
virtual ~HandleBox()
GtkHandleBox * gobj()
Provides access to the underlying C GtkObject.
Definition: handlebox.h:94
Glib::RefPtr< const Gdk::Window > get_float_window() const
Glib::PropertyProxy< ShadowType > property_shadow_type()
Glib::SignalProxy1< void, Widget * > signal_child_detached()
bool is_float_window_mapped() const
Glib::RefPtr< const Gdk::Window > get_bin_window() const
void set_shadow_type(ShadowType type)
bool is_in_drag() const
const GtkHandleBox * gobj() const
Provides access to the underlying C GtkObject.
Definition: handlebox.h:97
Glib::PropertyProxy_ReadOnly< ShadowType > property_shadow_type() const
PositionType get_snap_edge() const
Glib::PropertyProxy< PositionType > property_snap_edge()
void set_snap_edge(PositionType edge)
virtual void on_child_attached(Widget *child)
This is a default handler for the signal signal_child_attached().
Glib::PropertyProxy_ReadOnly< PositionType > property_snap_edge() const
Definition: ardour_ui.h:188