Ardour  8.7-14-g57a6773833
paned.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 // Generated by gmmproc 2.45.3 -- DO NOT MODIFY!
3 #ifndef _GTKMM_PANED_H
4 #define _GTKMM_PANED_H
5 
6 
7 #include <glibmm/ustring.h>
8 #include <sigc++/sigc++.h>
9 
10 /* $Id: paned.hg,v 1.6 2006/04/12 11:11:25 murrayc Exp $ */
11 
12 
13 /* paned.h
14  *
15  * Copyright (C) 1998-2002 The gtkmm Development Team
16  *
17  * This library is free software; you can redistribute it and/or
18  * modify it under the terms of the GNU Lesser General Public
19  * License as published by the Free Software Foundation; either
20  * version 2.1 of the License, or (at your option) any later version.
21  *
22  * This library is distributed in the hope that it will be useful,
23  * but WITHOUT ANY WARRANTY; without even the implied warranty of
24  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
25  * Lesser General Public License for more details.
26  *
27  * You should have received a copy of the GNU Lesser General Public
28  * License along with this library; if not, write to the Free
29  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
30  */
31 
32 #include <gtkmm/container.h>
33 #include <gtkmm/enums.h>
34 
35 
36 #ifndef DOXYGEN_SHOULD_SKIP_THIS
37 typedef struct _GtkPaned GtkPaned;
38 typedef struct _GtkPanedClass GtkPanedClass;
39 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
40 
41 
42 namespace Gtk
43 { class Paned_Class; } // namespace Gtk
44 #ifndef DOXYGEN_SHOULD_SKIP_THIS
45 typedef struct _GtkHPaned GtkHPaned;
46 typedef struct _GtkHPanedClass GtkHPanedClass;
47 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
48 
49 
50 namespace Gtk
51 { class HPaned_Class; } // namespace Gtk
52 #ifndef DOXYGEN_SHOULD_SKIP_THIS
53 typedef struct _GtkVPaned GtkVPaned;
54 typedef struct _GtkVPanedClass GtkVPanedClass;
55 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
56 
57 
58 namespace Gtk
59 { class VPaned_Class; } // namespace Gtk
60 namespace Gtk
61 {
62 
63 //TODO: Inherit/Implement Orientation when we can break ABI.
64 
92 class Paned : public Container
93 {
94  public:
95 #ifndef DOXYGEN_SHOULD_SKIP_THIS
96  typedef Paned CppObjectType;
97  typedef Paned_Class CppClassType;
98  typedef GtkPaned BaseObjectType;
99  typedef GtkPanedClass BaseClassType;
100 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
101 
102  virtual ~Paned();
103 
104 #ifndef DOXYGEN_SHOULD_SKIP_THIS
105 
106 private:
107  friend class Paned_Class;
108  static CppClassType paned_class_;
109 
110  // noncopyable
111  Paned(const Paned&);
112  Paned& operator=(const Paned&);
113 
114 protected:
115  explicit Paned(const Glib::ConstructParams& construct_params);
116  explicit Paned(GtkPaned* castitem);
117 
118 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
119 
120 public:
121 #ifndef DOXYGEN_SHOULD_SKIP_THIS
122  static GType get_type() G_GNUC_CONST;
123 
124 
125  static GType get_base_type() G_GNUC_CONST;
126 #endif
127 
129  GtkPaned* gobj() { return reinterpret_cast<GtkPaned*>(gobject_); }
130 
132  const GtkPaned* gobj() const { return reinterpret_cast<GtkPaned*>(gobject_); }
133 
134 
135 public:
136  //C++ methods used to invoke GTK+ virtual functions:
137 
138 protected:
139  //GTK+ Virtual Functions (override these to change behaviour):
140 
141  //Default Signal Handlers::
142 
143 
144 private:
145 
146 
147 public:
148  Paned();
149 
150 
151  void add1(Widget& child);
152 
153  void add2(Widget& child);
154 
155 
156  void pack1(Widget& child, bool resize, bool shrink);
157  void pack1(Widget& child, AttachOptions options = Gtk::EXPAND);
158 
159 
160  void pack2(Widget& child, bool resize, bool shrink);
161  void pack2(Widget& child, AttachOptions options = Gtk::EXPAND);
162 
163 
168  int get_position() const;
169 
176 
177 
183 
188  const Widget* get_child1() const;
189 
190 
196 
201  const Widget* get_child2() const;
202 
203 
211  Glib::RefPtr<Gdk::Window> get_handle_window();
212 
220  Glib::RefPtr<const Gdk::Window> get_handle_window() const;
221 
222  //Keybinding signals:
223 
224 
230  Glib::PropertyProxy< int > property_position() ;
231 
237  Glib::PropertyProxy_ReadOnly< int > property_position() const;
238 
244  Glib::PropertyProxy< bool > property_position_set() ;
245 
251  Glib::PropertyProxy_ReadOnly< bool > property_position_set() const;
252 
258  Glib::PropertyProxy_ReadOnly< int > property_min_position() const;
259 
260 
266  Glib::PropertyProxy_ReadOnly< int > property_max_position() const;
267 
268 
269 };
270 
279 class HPaned : public Paned
280 {
281  public:
282 #ifndef DOXYGEN_SHOULD_SKIP_THIS
283  typedef HPaned CppObjectType;
284  typedef HPaned_Class CppClassType;
285  typedef GtkHPaned BaseObjectType;
286  typedef GtkHPanedClass BaseClassType;
287 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
288 
289  virtual ~HPaned();
290 
291 #ifndef DOXYGEN_SHOULD_SKIP_THIS
292 
293 private:
294  friend class HPaned_Class;
295  static CppClassType hpaned_class_;
296 
297  // noncopyable
298  HPaned(const HPaned&);
299  HPaned& operator=(const HPaned&);
300 
301 protected:
302  explicit HPaned(const Glib::ConstructParams& construct_params);
303  explicit HPaned(GtkHPaned* castitem);
304 
305 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
306 
307 public:
308 #ifndef DOXYGEN_SHOULD_SKIP_THIS
309  static GType get_type() G_GNUC_CONST;
310 
311 
312  static GType get_base_type() G_GNUC_CONST;
313 #endif
314 
316  GtkHPaned* gobj() { return reinterpret_cast<GtkHPaned*>(gobject_); }
317 
319  const GtkHPaned* gobj() const { return reinterpret_cast<GtkHPaned*>(gobject_); }
320 
321 
322 public:
323  //C++ methods used to invoke GTK+ virtual functions:
324 
325 protected:
326  //GTK+ Virtual Functions (override these to change behaviour):
327 
328  //Default Signal Handlers::
329 
330 
331 private:
332 
333 public:
335 
336 
337 };
338 
347 class VPaned : public Paned
348 {
349  public:
350 #ifndef DOXYGEN_SHOULD_SKIP_THIS
351  typedef VPaned CppObjectType;
352  typedef VPaned_Class CppClassType;
353  typedef GtkVPaned BaseObjectType;
354  typedef GtkVPanedClass BaseClassType;
355 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
356 
357  virtual ~VPaned();
358 
359 #ifndef DOXYGEN_SHOULD_SKIP_THIS
360 
361 private:
362  friend class VPaned_Class;
363  static CppClassType vpaned_class_;
364 
365  // noncopyable
366  VPaned(const VPaned&);
367  VPaned& operator=(const VPaned&);
368 
369 protected:
370  explicit VPaned(const Glib::ConstructParams& construct_params);
371  explicit VPaned(GtkVPaned* castitem);
372 
373 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
374 
375 public:
376 #ifndef DOXYGEN_SHOULD_SKIP_THIS
377  static GType get_type() G_GNUC_CONST;
378 
379 
380  static GType get_base_type() G_GNUC_CONST;
381 #endif
382 
384  GtkVPaned* gobj() { return reinterpret_cast<GtkVPaned*>(gobject_); }
385 
387  const GtkVPaned* gobj() const { return reinterpret_cast<GtkVPaned*>(gobject_); }
388 
389 
390 public:
391  //C++ methods used to invoke GTK+ virtual functions:
392 
393 protected:
394  //GTK+ Virtual Functions (override these to change behaviour):
395 
396  //Default Signal Handlers::
397 
398 
399 private:
400 
401 public:
403 
404 
405 };
406 
407 } // namespace Gtk
408 
409 
410 namespace Glib
411 {
420  Gtk::Paned* wrap(GtkPaned* object, bool take_copy = false);
421 } //namespace Glib
422 
423 
424 namespace Glib
425 {
434  Gtk::HPaned* wrap(GtkHPaned* object, bool take_copy = false);
435 } //namespace Glib
436 
437 
438 namespace Glib
439 {
448  Gtk::VPaned* wrap(GtkVPaned* object, bool take_copy = false);
449 } //namespace Glib
450 
451 
452 #endif /* _GTKMM_PANED_H */
453 
virtual ~HPaned()
Gtk::HPaned * wrap(GtkHPaned *object, bool take_copy=false)
GtkHPaned * gobj()
Provides access to the underlying C GtkObject.
Definition: paned.h:316
const GtkHPaned * gobj() const
Provides access to the underlying C GtkObject.
Definition: paned.h:319
void pack2(Widget &child, AttachOptions options=Gtk::EXPAND)
Glib::PropertyProxy< bool > property_position_set()
Widget * get_child1()
void pack1(Widget &child, bool resize, bool shrink)
Glib::PropertyProxy_ReadOnly< int > property_max_position() const
void set_position(int position)
const Widget * get_child1() const
Widget * get_child2()
Glib::RefPtr< const Gdk::Window > get_handle_window() const
Glib::PropertyProxy< int > property_position()
GtkPaned * gobj()
Provides access to the underlying C GtkObject.
Definition: paned.h:129
const Widget * get_child2() const
Glib::PropertyProxy_ReadOnly< int > property_position() const
const GtkPaned * gobj() const
Provides access to the underlying C GtkObject.
Definition: paned.h:132
Gtk::Paned * wrap(GtkPaned *object, bool take_copy=false)
void add1(Widget &child)
void pack2(Widget &child, bool resize, bool shrink)
int get_position() const
void pack1(Widget &child, AttachOptions options=Gtk::EXPAND)
Glib::PropertyProxy_ReadOnly< int > property_min_position() const
virtual ~Paned()
void add2(Widget &child)
Glib::PropertyProxy_ReadOnly< bool > property_position_set() const
Glib::RefPtr< Gdk::Window > get_handle_window()
const GtkVPaned * gobj() const
Provides access to the underlying C GtkObject.
Definition: paned.h:387
virtual ~VPaned()
GtkVPaned * gobj()
Provides access to the underlying C GtkObject.
Definition: paned.h:384
Gtk::VPaned * wrap(GtkVPaned *object, bool take_copy=false)
Definition: ardour_ui.h:188