Ardour  9.0-pre0-384-ga76afae0e9
alignment.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 // Generated by gmmproc 2.45.3 -- DO NOT MODIFY!
3 #ifndef _GTKMM_ALIGNMENT_H
4 #define _GTKMM_ALIGNMENT_H
5 
6 
7 #include <glibmm/ustring.h>
8 #include <sigc++/sigc++.h>
9 
10 /* $Id: alignment.hg,v 1.5 2004/04/29 19:58:02 murrayc Exp $ */
11 
12 /* alignment.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 _GtkAlignment GtkAlignment;
37 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
38 
39 
40 namespace Gtk
41 { class Alignment_Class; } // namespace Gtk
42 namespace Gtk
43 {
44 
61 class Alignment : public Bin
62 {
63  public:
64 #ifndef DOXYGEN_SHOULD_SKIP_THIS
65  typedef Alignment CppObjectType;
66  typedef Alignment_Class CppClassType;
67  typedef GtkAlignment BaseObjectType;
68  typedef GtkAlignmentClass BaseClassType;
69 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
70 
71  virtual ~Alignment();
72 
73 #ifndef DOXYGEN_SHOULD_SKIP_THIS
74 
75 private:
76  friend class Alignment_Class;
77  static CppClassType alignment_class_;
78 
79  // noncopyable
80  Alignment(const Alignment&);
81  Alignment& operator=(const Alignment&);
82 
83 protected:
84  explicit Alignment(const Glib::ConstructParams& construct_params);
85  explicit Alignment(GtkAlignment* castitem);
86 
87 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
88 
89 public:
90 #ifndef DOXYGEN_SHOULD_SKIP_THIS
91  static GType get_type() G_GNUC_CONST;
92 
93 
94  static GType get_base_type() G_GNUC_CONST;
95 #endif
96 
98  GtkAlignment* gobj() { return reinterpret_cast<GtkAlignment*>(gobject_); }
99 
101  const GtkAlignment* gobj() const { return reinterpret_cast<GtkAlignment*>(gobject_); }
102 
103 
104 public:
105  //C++ methods used to invoke GTK+ virtual functions:
106 
107 protected:
108  //GTK+ Virtual Functions (override these to change behaviour):
109 
110  //Default Signal Handlers::
111 
112 
113 private:
114 
115 public:
116 
123  explicit Alignment(float xalign = 0.5, float yalign = 0.5, float xscale = 1.0, float yscale = 1.0);
124 
125 
132  explicit Alignment(AlignmentEnum xalign, AlignmentEnum yalign = Gtk::ALIGN_CENTER, float xscale = 1.0, float yscale = 1.0);
133 
134 
142  void set(float xalign = 0.5, float yalign = 0.5, float xscale = 1.0, float yscale = 1.0);
143 
151  void set(AlignmentEnum xalign, AlignmentEnum yalign = Gtk::ALIGN_CENTER, float xscale = 1.0, float yscale = 1.0);
152 
153  //New in GTK+ 2.4
154 
165  void set_padding(guint padding_top, guint padding_bottom, guint padding_left, guint padding_right);
166 
175  void get_padding(guint& padding_top, guint& padding_bottom, guint& padding_left, guint& padding_right);
176 
182  Glib::PropertyProxy< float > property_xalign() ;
183 
189  Glib::PropertyProxy_ReadOnly< float > property_xalign() const;
190 
196  Glib::PropertyProxy< float > property_yalign() ;
197 
203  Glib::PropertyProxy_ReadOnly< float > property_yalign() const;
204 
210  Glib::PropertyProxy< float > property_xscale() ;
211 
217  Glib::PropertyProxy_ReadOnly< float > property_xscale() const;
218 
224  Glib::PropertyProxy< float > property_yscale() ;
225 
231  Glib::PropertyProxy_ReadOnly< float > property_yscale() const;
232 
233 
234  //New in GTK+ 2.4
240  Glib::PropertyProxy< guint > property_top_padding() ;
241 
247  Glib::PropertyProxy_ReadOnly< guint > property_top_padding() const;
248 
254  Glib::PropertyProxy< guint > property_bottom_padding() ;
255 
261  Glib::PropertyProxy_ReadOnly< guint > property_bottom_padding() const;
262 
268  Glib::PropertyProxy< guint > property_left_padding() ;
269 
275  Glib::PropertyProxy_ReadOnly< guint > property_left_padding() const;
276 
282  Glib::PropertyProxy< guint > property_right_padding() ;
283 
289  Glib::PropertyProxy_ReadOnly< guint > property_right_padding() const;
290 
291 
292 };
293 
294 } /* namespace Gtk */
295 
296 
297 namespace Glib
298 {
307  Gtk::Alignment* wrap(GtkAlignment* object, bool take_copy = false);
308 } //namespace Glib
309 
310 
311 #endif /* _GTKMM_ALIGNMENT_H */
312 
Glib::PropertyProxy_ReadOnly< guint > property_left_padding() const
GtkAlignment * gobj()
Provides access to the underlying C GtkObject.
Definition: alignment.h:98
Glib::PropertyProxy< float > property_yalign()
Alignment(float xalign=0.5, float yalign=0.5, float xscale=1.0, float yscale=1.0)
Glib::PropertyProxy< float > property_xalign()
Glib::PropertyProxy< float > property_xscale()
Glib::PropertyProxy_ReadOnly< float > property_yalign() const
Glib::PropertyProxy< guint > property_right_padding()
Gtk::Alignment * wrap(GtkAlignment *object, bool take_copy=false)
Glib::PropertyProxy< float > property_yscale()
Glib::PropertyProxy_ReadOnly< guint > property_top_padding() const
Glib::PropertyProxy_ReadOnly< float > property_yscale() const
Glib::PropertyProxy_ReadOnly< guint > property_bottom_padding() const
virtual ~Alignment()
void set_padding(guint padding_top, guint padding_bottom, guint padding_left, guint padding_right)
void set(float xalign=0.5, float yalign=0.5, float xscale=1.0, float yscale=1.0)
void set(AlignmentEnum xalign, AlignmentEnum yalign=Gtk::ALIGN_CENTER, float xscale=1.0, float yscale=1.0)
const GtkAlignment * gobj() const
Provides access to the underlying C GtkObject.
Definition: alignment.h:101
Glib::PropertyProxy< guint > property_bottom_padding()
Alignment(AlignmentEnum xalign, AlignmentEnum yalign=Gtk::ALIGN_CENTER, float xscale=1.0, float yscale=1.0)
Glib::PropertyProxy_ReadOnly< guint > property_right_padding() const
void get_padding(guint &padding_top, guint &padding_bottom, guint &padding_left, guint &padding_right)
Glib::PropertyProxy_ReadOnly< float > property_xalign() const
Glib::PropertyProxy< guint > property_left_padding()
Glib::PropertyProxy< guint > property_top_padding()
Glib::PropertyProxy_ReadOnly< float > property_xscale() const
Definition: bin.h:55
Definition: ardour_ui.h:187