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


Xfc::Gtk::SourceTagStyle Class Reference

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

Inheritance diagram for Xfc::Gtk::SourceTagStyle:

Xfc::G::Boxed Xfc::Object Xfc::Trackable List of all members.

Constructors

Public Member Functions

Accessors
Methods

Detailed Description

A GtkSourceTagStyle C++ wrapper class.


Constructor & Destructor Documentation

Xfc::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.

Xfc::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.

Xfc::Gtk::SourceTagStyle::SourceTagStyle ( const SourceTagStyle src  ) 

Copy constructor.

Parameters:
src The source tag style.


Member Function Documentation

SourceTagStyle& Xfc::Gtk::SourceTagStyle::operator= ( const SourceTagStyle src  ) 

Assignment operator.

Parameters:
src The source tag style.

void Xfc::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.

void Xfc::Gtk::SourceTagStyle::set_foreground ( const Gdk::Color color  ) 

Set the tag style text foreground color.

Parameters:
color The foreground color.

void Xfc::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 Xfc::Gtk::SourceTagStyle::set_background ( const Gdk::Color color  ) 

Set the tag style text background color.

Parameters:
color The background color.


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