Ardour  8.7-15-gadf511264b
textattributes.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 // Generated by gmmproc 2.45.3 -- DO NOT MODIFY!
3 #ifndef _GTKMM_TEXTATTRIBUTES_H
4 #define _GTKMM_TEXTATTRIBUTES_H
5 
6 
7 #include <glibmm/ustring.h>
8 #include <sigc++/sigc++.h>
9 
10 /* $Id: textattributes.hg,v 1.1 2003/01/21 13:40:41 murrayc Exp $ */
11 
12 /* textattributes.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 
32 #include <glibmm/value.h>
33 
34 #ifndef DOXYGEN_SHOULD_SKIP_THIS
35 extern "C" { typedef struct _GtkTextAttributes GtkTextAttributes; }
36 #endif
37 
38 namespace Gtk
39 {
40 
45 {
46  public:
47 #ifndef DOXYGEN_SHOULD_SKIP_THIS
48  typedef TextAttributes CppObjectType;
49  typedef GtkTextAttributes BaseObjectType;
50 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
51 
54  static GType get_type() G_GNUC_CONST;
55 
57 
58  explicit TextAttributes(GtkTextAttributes* gobject, bool make_a_copy = true);
59 
61  TextAttributes& operator=(const TextAttributes& other);
62 
64 
65  void swap(TextAttributes& other);
66 
69 
71  const GtkTextAttributes* gobj() const { return gobject_; }
72 
75 
76 protected:
78 
79 private:
80 
81 public:
82 
83 
84 };
85 
86 } //namespace Gtk
87 
88 
89 namespace Gtk
90 {
91 
96 inline void swap(TextAttributes& lhs, TextAttributes& rhs)
97  { lhs.swap(rhs); }
98 
99 } // namespace Gtk
100 
101 namespace Glib
102 {
103 
112 Gtk::TextAttributes wrap(GtkTextAttributes* object, bool take_copy = false);
113 
114 #ifndef DOXYGEN_SHOULD_SKIP_THIS
115 template <>
116 class Value<Gtk::TextAttributes> : public Glib::Value_Boxed<Gtk::TextAttributes>
117 {};
118 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
119 
120 } // namespace Glib
121 
122 
123 #endif /* _GTKMM_TEXTATTRIBUTES_H */
124 
const GtkTextAttributes * gobj() const
Provides access to the underlying C instance.
GtkTextAttributes * gobj_copy() const
Provides access to the underlying C instance. The caller is responsible for freeing it....
void swap(TextAttributes &other)
void swap(TextAttributes &lhs, TextAttributes &rhs)
GtkTextAttributes * gobject_
GtkTextAttributes * gobj()
Provides access to the underlying C instance.
Gtk::TextAttributes wrap(GtkTextAttributes *object, bool take_copy=false)
static GType get_type() G_GNUC_CONST
Definition: ardour_ui.h:188
Definition: lobject.h:100