2
// Generated by gtkmmproc -- DO NOT MODIFY!
3
#ifndef _GTKMM_TEXTATTRIBUTES_H
4
#define _GTKMM_TEXTATTRIBUTES_H
9
/* $Id: textattributes.hg,v 1.1 2003/01/21 13:40:41 murrayc Exp $ */
13
* Copyright(C) 1998-2002 The gtkmm Development Team
15
* This library is free software, ) you can redistribute it and/or
16
* modify it under the terms of the GNU Lesser General Public
17
* License as published by the Free Software Foundation, ) either
18
* version 2.1 of the License, or(at your option) any later version.
20
* This library is distributed in the hope that it will be useful,
21
* but WITHOUT ANY WARRANTY, ) without even the implied warranty of
22
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
23
* Lesser General Public License for more details.
25
* You should have received a copy of the GNU Lesser General Public
26
* License along with this library, ) if not, write to the Free
27
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
31
#ifndef DOXYGEN_SHOULD_SKIP_THIS
32
extern "C" { typedef struct _GtkTextAttributes GtkTextAttributes; }
44
#ifndef DOXYGEN_SHOULD_SKIP_THIS
45
typedef TextAttributes CppObjectType;
46
typedef GtkTextAttributes BaseObjectType;
48
static GType get_type() G_GNUC_CONST;
49
#endif /* DOXYGEN_SHOULD_SKIP_THIS */
53
explicit TextAttributes(GtkTextAttributes* gobject, bool make_a_copy = true);
55
TextAttributes(const TextAttributes& other);
56
TextAttributes& operator=(const TextAttributes& other);
60
void swap(TextAttributes& other);
62
///Provides access to the underlying C instance.
63
GtkTextAttributes* gobj() { return gobject_; }
65
///Provides access to the underlying C instance.
66
const GtkTextAttributes* gobj() const { return gobject_; }
68
///Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs.
69
GtkTextAttributes* gobj_copy() const;
72
GtkTextAttributes* gobject_;
87
/** @relates Gtk::TextAttributes
88
* @param lhs The left-hand side
89
* @param rhs The right-hand side
91
inline void swap(TextAttributes& lhs, TextAttributes& rhs)
99
/** A Glib::wrap() method for this object.
101
* @param object The C instance.
102
* @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
103
* @result A C++ instance that wraps this C instance.
105
* @relates Gtk::TextAttributes
107
Gtk::TextAttributes wrap(GtkTextAttributes* object, bool take_copy = false);
109
#ifndef DOXYGEN_SHOULD_SKIP_THIS
111
class Value<Gtk::TextAttributes> : public Glib::Value_Boxed<Gtk::TextAttributes>
113
#endif /* DOXYGEN_SHOULD_SKIP_THIS */
118
#endif /* _GTKMM_TEXTATTRIBUTES_H */