Reference Manual
Inti Logo
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

Inti::Gtk::SourceTagStyle Class Reference

A GtkSourceTagStyle C++ wrapper class. More...

#include <inti/gtk-sourceview/sourcetagstyle.h>

List of all members.

Public Member Functions

Constructors
Accessors
Methods

Detailed Description

A GtkSourceTagStyle C++ wrapper class.


Constructor & Destructor Documentation

Inti::Gtk::SourceTagStyle::SourceTagStyle GtkSourceTagStyle *  style  )  [explicit]
 

Construct a new tag style from an existing GtkSourceTagStyle.

Parameters:
style A pointer to a GtkSourceTagStyle.

The style can be a newly created GtkSourceTagStyle or an existing GtkSourceTagStyle. The SourceTagStyle object created is a temporary object. It doesn't take over the ownership of GtkSourceTagStyle and GtkSourceTagStyle is not freed by the destructor.

Inti::Gtk::SourceTagStyle::SourceTagStyle GtkSourceTagStyle *  style,
bool  copy
 

Construct a new tag style from an existing GtkSourceTagStyle.

Parameters:
style A pointer to a GtkSourceTagStyle.
copy Whether the SourceTagStyle object should make a copy of GtkSourceTagStyle or not.

The style can be a newly created GtkSourceTagStyle or an existing GtkSourceTagStyle. If copy is true SourceTagStyle will make a copy of GtkSourceTagStyle. If copy is false SourceTagStyle wont make a copy but instead takes over the ownership of GtkSourceTagStyle. Either way, the destructor will free GtkSourceTagStyle when the SourceTagStyle object is destroyed. This constructor is used by G::Boxed::wrap() to wrap GtkSourceTagStyle objects in a C++ wrapper.

Inti::Gtk::SourceTagStyle::SourceTagStyle const SourceTagStyle src  ) 
 

Copy constructor.

Parameters:
src The source tag style.


Member Function Documentation

SourceTagStyle& Inti::Gtk::SourceTagStyle::operator= const SourceTagStyle src  ) 
 

Assignment operator.

Parameters:
src The source tag style.

void Inti::Gtk::SourceTagStyle::set_background const Gdk::Color &  color  ) 
 

Set the tag style text background color.

Parameters:
color The background color.

void Inti::Gtk::SourceTagStyle::set_background const char *  spec  ) 
 

Set the tag style text background color from a textual specification.

Parameters:
spec The textual specification of the background color.

void Inti::Gtk::SourceTagStyle::set_foreground const Gdk::Color &  color  ) 
 

Set the tag style text foreground color.

Parameters:
color The foreground color.

void Inti::Gtk::SourceTagStyle::set_foreground const char *  spec  ) 
 

Set the tag style text foreground color from a textual specification.

Parameters:
spec The textual specification of the foreground color.


The documentation for this class was generated from the following file: Main Page - Footer


Generated on Wed Aug 27 21:17:28 2003 for Inti-SourceView by doxygen 1.3.2 written by Dimitri van Heesch, © 1997-2002