gtksourceview::SourceStyleScheme Class Reference

the styling properties applicable to a SourceLanguage. More...

Inherits Glib::Interface.

Collaboration diagram for gtksourceview::SourceStyleScheme:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual ~SourceStyleScheme ()
GtkSourceStyleScheme* gobj ()
 Provides access to the underlying C GObject.
const GtkSourceStyleScheme* gobj () const
 Provides access to the underlying C GObject.
Glib::ustring get_id () const
Glib::ustring get_name () const
Glib::ustring get_description () const
Glib::StringArrayHandle get_authors () const
std::string get_filename () const
Glib::RefPtr< SourceStyleget_style (const Glib::ustring& style_id)
Glib::RefPtr< const SourceStyleget_style (const Glib::ustring& style_id) const

Static Public Member Functions

static void add_interface (GType gtype_implementer)

Related Functions

(Note that these are not member functions.)



Glib::RefPtr
< gtksourceview::SourceStyleScheme
wrap (GtkSourceStyleScheme* object, bool take_copy=false)
 A Glib::wrap() method for this object.

Detailed Description

the styling properties applicable to a SourceLanguage.


Constructor & Destructor Documentation

virtual gtksourceview::SourceStyleScheme::~SourceStyleScheme (  )  [virtual]

Member Function Documentation

static void gtksourceview::SourceStyleScheme::add_interface ( GType  gtype_implementer  )  [static]
Glib::StringArrayHandle gtksourceview::SourceStyleScheme::get_authors (  )  const
Returns:
A 0-terminated array containing the scheme authors or 0 if no author is specified by the style scheme.
Since gtksourceviewmm 2.0:
Glib::ustring gtksourceview::SourceStyleScheme::get_description (  )  const
Returns:
scheme description (if defined) or 0.
Since gtksourceviewmm 2.0:
std::string gtksourceview::SourceStyleScheme::get_filename (  )  const
Returns:
scheme file name if the scheme was created parsing a style scheme file or 0 in the other cases.
Since gtksourceviewmm 2.0:
Glib::ustring gtksourceview::SourceStyleScheme::get_id (  )  const
Returns:
scheme id.
Since gtksourceviewmm 2.0:
Glib::ustring gtksourceview::SourceStyleScheme::get_name (  )  const
Returns:
scheme name.
Since gtksourceviewmm 2.0:
Glib::RefPtr<const SourceStyle> gtksourceview::SourceStyleScheme::get_style ( const Glib::ustring style_id  )  const
Parameters:
style_id Id of the style to retrieve.
Returns:
Style which corresponds to style_id in the scheme, or 0 when no style with this name found. It is owned by scheme and may not be unref'ed.
Since gtksourceviewmm 2.0:
Glib::RefPtr<SourceStyle> gtksourceview::SourceStyleScheme::get_style ( const Glib::ustring style_id  ) 
Parameters:
style_id Id of the style to retrieve.
Returns:
Style which corresponds to style_id in the scheme, or 0 when no style with this name found. It is owned by scheme and may not be unref'ed.
Since gtksourceviewmm 2.0:
const GtkSourceStyleScheme* gtksourceview::SourceStyleScheme::gobj (  )  const [inline]

Provides access to the underlying C GObject.

Reimplemented from Glib::Interface.

GtkSourceStyleScheme* gtksourceview::SourceStyleScheme::gobj (  )  [inline]

Provides access to the underlying C GObject.

Reimplemented from Glib::Interface.


Friends And Related Function Documentation

Glib::RefPtr< gtksourceview::SourceStyleScheme > wrap ( GtkSourceStyleScheme *  object,
bool  take_copy = false 
) [related]

A Glib::wrap() method for this object.

Parameters:
object The C instance.
take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
Returns:
A C++ instance that wraps this C instance.

The documentation for this class was generated from the following file:

Generated on 13 Jan 2010 for gtksourceviewmm by  doxygen 1.6.1