Ardour  9.0-pre0-582-g084a23a80d
Gtk::TextAttributes Class Reference

#include <textattributes.h>

Public Member Functions

 TextAttributes ()
 
 TextAttributes (GtkTextAttributes *gobject, bool make_a_copy=true)
 
 TextAttributes (const TextAttributes &other)
 
TextAttributesoperator= (const TextAttributes &other)
 
 ~TextAttributes ()
 
void swap (TextAttributes &other)
 
GtkTextAttributesgobj ()
 Provides access to the underlying C instance. More...
 
const GtkTextAttributesgobj () const
 Provides access to the underlying C instance. More...
 
GtkTextAttributesgobj_copy () const
 Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs. More...
 

Static Public Member Functions

static GType get_type () G_GNUC_CONST
 

Protected Attributes

GtkTextAttributesgobject_
 

Related Functions

(Note that these are not member functions.)

void swap (TextAttributes &lhs, TextAttributes &rhs)
 
Gtk::TextAttributes wrap (GtkTextAttributes *object, bool take_copy=false)
 

Detailed Description

Definition at line 44 of file textattributes.h.

Constructor & Destructor Documentation

◆ TextAttributes() [1/3]

Gtk::TextAttributes::TextAttributes ( )

◆ TextAttributes() [2/3]

Gtk::TextAttributes::TextAttributes ( GtkTextAttributes gobject,
bool  make_a_copy = true 
)
explicit

◆ TextAttributes() [3/3]

Gtk::TextAttributes::TextAttributes ( const TextAttributes other)

◆ ~TextAttributes()

Gtk::TextAttributes::~TextAttributes ( )

Member Function Documentation

◆ get_type()

static GType Gtk::TextAttributes::get_type ( )
static

Get the GType for this class, for use with the underlying GObject type system.

◆ gobj() [1/2]

GtkTextAttributes* Gtk::TextAttributes::gobj ( )
inline

Provides access to the underlying C instance.

Definition at line 68 of file textattributes.h.

◆ gobj() [2/2]

const GtkTextAttributes* Gtk::TextAttributes::gobj ( ) const
inline

Provides access to the underlying C instance.

Definition at line 71 of file textattributes.h.

◆ gobj_copy()

GtkTextAttributes* Gtk::TextAttributes::gobj_copy ( ) const

Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs.

◆ operator=()

TextAttributes& Gtk::TextAttributes::operator= ( const TextAttributes other)

◆ swap()

void Gtk::TextAttributes::swap ( TextAttributes other)

Friends And Related Function Documentation

◆ swap()

void swap ( TextAttributes lhs,
TextAttributes rhs 
)
related
Parameters
lhsThe left-hand side
rhsThe right-hand side

Definition at line 96 of file textattributes.h.

◆ wrap()

Gtk::TextAttributes wrap ( GtkTextAttributes object,
bool  take_copy = false 
)
related

A Glib::wrap() method for this object.

Parameters
objectThe C instance.
take_copyFalse if the result should take ownership of the C instance. True if it should take a new copy or ref.
Returns
A C++ instance that wraps this C instance.

Member Data Documentation

◆ gobject_

GtkTextAttributes* Gtk::TextAttributes::gobject_
protected

Definition at line 77 of file textattributes.h.


The documentation for this class was generated from the following file: