GObject.Object
Gtk.TextTagTable
Import line: | Gtk = imports.gi.Gtk; |
GIR File: | Gtk-3.0.gir |
C documentation: | GtkTextTagTable |
Class : | TextTagTable |
Implements: | Gtk.Buildable |
Extends: | GObject.Object |
Properties | Defined By | |
---|---|---|
parent_instance : GObject.Object
read only
|
Gtk.TextTagTable | |
priv : Gtk.TextTagTablePrivate
read only
|
Gtk.TextTagTable |
Method / Constructor | Defined By | |
---|---|---|
new Gtk.TextTagTable
(Object properties)
Create a new Gtk.TextTagTable
Create a new Gtk.TextTagTable
|
||
add
(TextTag tag)
:
none
Add a tag to the table.
Add a tag to the table. The tag is assigned the highest priority
in the table. the same name as an already-added tag.
|
Gtk.TextTagTable | |
Adds a child to buildable.
Adds a child to buildable. type is an optional string
describing how the child should be added.
|
Gtk.Buildable | |
Constructs a child of buildable with the name name.
Constructs a child of buildable with the name name.
GtkBuilder calls this function if a "constructor" has been specified in the UI definition.
|
Gtk.Buildable | |
This is similar to gtk_buildable_parser_finished() but is
called once for each custom tag handled by the buildable.
This is similar to gtk_buildable_parser_finished() but is
called once for each custom tag handled by the buildable.
|
Gtk.Buildable | |
This is called at the end of each custom element handled by
the buildable.
This is called at the end of each custom element handled by
the buildable.
|
Gtk.Buildable | |
This is called for each unknown element under <child>.
This is called for each unknown element under <child>.
if it doesn't.
|
Gtk.Buildable | |
Calls func on each tag in table, with user data data.
Calls func on each tag in table, with user data data.
Note that the table may not be modified while iterating over it (you can't add/remove tags).
|
Gtk.TextTagTable | |
Get the internal child called childname of the buildable object.
Get the internal child called childname of the buildable object.
|
Gtk.Buildable | |
get_name
()
:
String
Gets the name of the buildable object.
Gets the name of the buildable object.
GtkBuilder sets the name based on the the GtkBuilder UI definition used to construct the buildable.
|
Gtk.Buildable | |
get_size
()
:
gint32
Returns the size of the table (number of tags)
Returns the size of the table (number of tags)
|
Gtk.TextTagTable | |
lookup
(String name)
:
Gtk.TextTag
Look up a named tag.
Look up a named tag.
|
Gtk.TextTagTable | |
parser_finished
(Builder builder)
:
none
Called when the builder finishes the parsing of a
GtkBuilder UI definition.
Called when the builder finishes the parsing of a
GtkBuilder UI definition. Note that this will be called once for each time gtk_builder_add_from_file() or gtk_builder_add_from_string() is called on a builder.
|
Gtk.Buildable | |
remove
(TextTag tag)
:
none
Remove a tag from the table.
Remove a tag from the table. This will remove the table's
reference to the tag, so be careful - the tag will end up destroyed if you don't have a reference to it.
|
Gtk.TextTagTable | |
Sets the property name name to value on the buildable object.
Sets the property name name to value on the buildable object.
|
Gtk.Buildable | |
set_name
(String name)
:
none
Sets the name of the buildable object.
Sets the name of the buildable object.
|
Gtk.Buildable |
Event | Defined By | |
---|---|---|
tag_added (TextTagTable self, TextTag tag)
:
none
|
Gtk.TextTagTable | |
|
Gtk.TextTagTable | |
tag_removed (TextTagTable self, TextTag tag)
:
none
|
Gtk.TextTagTable |
Class / Namespace | Method / Signal / Properties |
---|---|
Gtk.TextBuffer
Property |
tag_table : Gtk.TextTagTable
|
Gtk.TextBuffer
Method |
Create a new Gtk.TextBuffer
|
Gtk.TextBuffer
Method |
get_tag_table
()
:
Gtk.TextTagTable
Get the GtkTextTagTable associated with this buffer.
|
GtkSource.Buffer
Method |
Create a new GtkSource.Buffer
|