org.gnu.gtk
public class TextTagTable extends GObject
Constructor Summary | |
---|---|
TextTagTable()
Constructs a new table, containing no tags |
Method Summary | |
---|---|
void | add(TextTag tag)
Add a tag to the table. |
int | getSize()
Returns the size of the table (number of tags) |
static Type | getType()
Retrieve the runtime type used by the GLib library. |
TextTag | lookup(String name)
Look up a named tag.
|
void | remove(TextTag tag)
Remove a tag from the table. |
tag must not be in a tag table already, and may not have the same name as an already-added tag.
Parameters: name name of a tag
Returns: The tag, or null
if no tag exists by that name.