TextAttributes

Description You may wish to begin by reading the text widget conceptual overview which gives an overview of all the objects and data types related to the text widget and how they work together. Tags should be in the GtkTextTagTable for a given GtkTextBuffer before using them with that buffer. gtk_text_buffer_create_tag() is the best way to create tags. See gtk-demo for numerous examples. The "invisible" property was not implemented for GTK+ 2.0. It is working (with minor issues) since 2.8.

Constructors

this
this(GtkTextAttributes* gtkTextAttributes)

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.

Members

Functions

addOn
void addOn(bool delegate(GObject*, GdkEvent*, GtkTextIter*, TextAttributes) dlg, ConnectFlags connectFlags)

The ::event signal is emitted when an event occurs on a region of the buffer marked with this tag. TRUE to stop other handlers from being invoked for the event. FALSE to propagate the event further.

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()
Undocumented in source. Be warned that the author may not have intended to support it.
unref
void unref()

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

Static functions

callBack
gboolean callBack(GtkTextTag* tagStruct, GObject* object, GdkEvent* event, GtkTextIter* iter, TextAttributes _textAttributes)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

connectedSignals
int[string] connectedSignals;
gtkTextAttributes
GtkTextAttributes* gtkTextAttributes;

the main Gtk struct

onListeners
bool delegate(GObject*, GdkEvent*, GtkTextIter*, TextAttributes)[] onListeners;
Undocumented in source.

Meta