Back to Seed Clases

Gtk


Classes

Interfaces

Structs

Unions

Enums

GObject.Object
parent-child marker Gtk.TextTag

Class Gtk.TextTag

Import line: Gtk = imports.gi.Gtk;
GIR File: Gtk-3.0.gir
C documentation: GtkTextTag
Class : TextTag
Extends: GObject.Object
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 gtk3-demo for numerous examples.
Properties
Properties Defined By
Methods / Constructors
Method / Constructor Defined By
Events - usage syntax: this.signals.EVENTNAME.connect( Function )
Event Defined By
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
Gtk.TextBuffer
Signal
apply_tag (TextBuffer self, TextTag tag, TextIter start, TextIter end) : none
The ::apply-tag signal is emitted to apply a tag to a
range of text in a GtkTextBuffer.
Gtk.TextBuffer
Signal
remove_tag (TextBuffer self, TextTag tag, TextIter start, TextIter end) : none
The ::remove-tag signal is emitted to remove all occurrences of tag from
a range of text in a GtkTextBuffer.
Gtk.TextBuffer
Method
apply_tag (TextTag tag, TextIter start, TextIter end) : none
Emits the "apply-tag" signal on buffer.
Gtk.TextBuffer
Method
remove_tag (TextTag tag, TextIter start, TextIter end) : none
Emits the "remove-tag" signal.
Gtk.TextIter
Method
backward_to_tag_toggle (TextTag tag) : gboolean
Moves backward to the next toggle (on or off) of the
GtkTextTag tag, or to the next toggle of any tag if
returns FALSE, otherwise TRUE.
Gtk.TextIter
Method
begins_tag (TextTag tag) : gboolean
Returns TRUE if tag is toggled on at exactly this point.
Gtk.TextIter
Method
ends_tag (TextTag tag) : gboolean
Returns TRUE if tag is toggled off at exactly this point.
Gtk.TextIter
Method
forward_to_tag_toggle (TextTag tag) : gboolean
Moves forward to the next toggle (on or off) of the
GtkTextTag tag, or to the next toggle of any tag if
returns FALSE, otherwise TRUE.
Gtk.TextIter
Method
has_tag (TextTag tag) : gboolean
Returns TRUE if iter is within a range tagged with tag.
Gtk.TextIter
Method
toggles_tag (TextTag tag) : gboolean
This is equivalent to (gtk_text_iter_begins_tag () ||
gtk_text_iter_ends_tag ()), i.e.
Gtk.TextTagTable
Signal
tag_added (TextTagTable self, TextTag tag) : none
Gtk.TextTagTable
Signal
tag_changed (TextTagTable self, TextTag tag, gboolean size_changed) : none
Gtk.TextTagTable
Signal
tag_removed (TextTagTable self, TextTag tag) : none
Gtk.TextTagTable
Method
add (TextTag tag) : none
Add a tag to the table.
Gtk.TextTagTable
Method
lookup (String name) : Gtk.TextTag
Look up a named tag.
Gtk.TextTagTable
Method
remove (TextTag tag) : none
Remove a tag from the table.
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Sat Apr 16 2011 17:14:04 GMT+0800 (HKT)