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


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

Accessors
Methods
Signal Proxies

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:
table A pointer to a GtkSourceTagTable.
reference Set 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).

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

Construct a new SourceTagTable from an existing GtkSourceTagTable.

Parameters:
table A pointer to a GtkSourceTagTable.
reference Set 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:
tags A 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.

void Xfc::Gtk::SourceTagTable::remove_source_tags (  ) 

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 4.3