Xfce Foundation Classes
Main Page  | IndexNamespace List  |  Alphabetical List  |  Class List  |  File List


Public Member Functions
Xfc::Gtk::SourceTagTable Class Reference

A GtkSourceTagTable C++ wrapper class. More...

Inheritance diagram for Xfc::Gtk::SourceTagTable:
Xfc::Gtk::TextTagTable Xfc::G::Object Xfc::G::TypeInstance Xfc::Trackable

List of all members.

Public Member Functions

Constructors


Detailed Description

A GtkSourceTagTable C++ wrapper class.


Constructor & Destructor Documentation

Xfc::Gtk::SourceTagTable::SourceTagTable ( GtkSourceTagTable *  table,
bool  reference = false 
) [explicit, protected]

Construct a new SourceTagTable from an existing GtkSourceTagTable.

Parameters:
tableA pointer to a GtkSourceTagTable.
referenceSet false if the initial reference count is floating, set true if it's not.


The table can be a newly created GtkSourceTagTable or an existing GtkSourceTagTable (see G::Object::Object).


Member Function Documentation

void Xfc::Gtk::SourceTagTable::add_tags ( const std::vector< TextTag * > &  tags)

Add a list of tags to the table.

Parameters:
tagsA vector of SourceTag pointers holding the source tags to add.


The added tags are assigned the highest priority in the table. If a tag is already present in table or has the same name as an already-added tag, then it is not added to the table.

Removes all the source tags from the table.

This will remove the table's reference to the tags, so be careful - tags will end up destroyed if you don't have a reference to them.


The documentation for this class was generated from the following file:
Xfce Foundation Classes
Copyright © 2004-2005 The XFC Development Team XFC