TextAttributes

Using #GtkTextAttributes directly should rarely be necessary. It’s primarily useful with gtk_text_iter_get_attributes(). As with most GTK+ structs, the fields in this struct should only be read, never modified directly.

Constructors

this
this(GtkTextAttributes* gtkTextAttributes, bool ownedRef)

Sets our main struct and passes it to the parent class.

this
this()

Creates a #GtkTextAttributes, which describes a set of properties on some text.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

copy
TextAttributes copy()

Copies @src and returns a new #GtkTextAttributes.

copyValues
void copyValues(TextAttributes dest)

Copies the values from @src to @dest so that @dest has the same values as @src. Frees existing values in @dest.

doref
TextAttributes doref()

Increments the reference count on @values.

getStruct
void* getStruct()

the main Gtk struct as a void*

getTextAttributesStruct
GtkTextAttributes* getTextAttributesStruct()

Get the main Gtk struct

unref
void unref()

Decrements the reference count on @values, freeing the structure if the reference count reaches 0.

Static functions

getType
GType getType()

Variables

gtkTextAttributes
GtkTextAttributes* gtkTextAttributes;

the main Gtk struct

ownedRef
bool ownedRef;
Undocumented in source.

Meta