gtksourceview::SourceStyleScheme Class Reference

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

#include <sourcestylescheme.h>

List of all members.

Public Types

typedef SourceStyleScheme CppObjectType
typedef SourceStyleScheme_Class CppClassType
typedef GtkSourceStyleScheme BaseObjectType
typedef GTypeInterface BaseClassType

Public Member Functions

virtual ~SourceStyleScheme ()
GtkSourceStyleSchemegobj ()
 Provides access to the underlying C GObject.
const GtkSourceStyleSchemegobj () const
 Provides access to the underlying C GObject.
SourceTagStyle get_tag_style (const Glib::ustring &a_style_name) const
 get a tag style from the scheme.
Glib::ustring get_name () const
 get the name of the scheme
Glib::SListHandle< Glib::ustring > get_style_names () const
 get the list of the different style names associated to this scheme

Static Public Member Functions

static void add_interface (GType gtype_implementer)
static GType get_type () G_GNUC_CONST
static GType get_base_type () G_GNUC_CONST
static Glib::RefPtr< SourceStyleSchemeget_default ()
 the default style scheme

Protected Member Functions

 SourceStyleScheme ()
 SourceStyleScheme (GtkSourceStyleScheme *castitem)

Friends

class SourceStyleScheme_Class

Related Functions

(Note that these are not member functions.)

Glib::RefPtr< gtksourceview::SourceStyleSchemewrap (GtkSourceStyleScheme *object, bool take_copy=false)


Detailed Description

the styling properties applicable to a SourceLanguage.


Member Typedef Documentation

typedef SourceStyleScheme gtksourceview::SourceStyleScheme::CppObjectType

typedef SourceStyleScheme_Class gtksourceview::SourceStyleScheme::CppClassType

typedef GtkSourceStyleScheme gtksourceview::SourceStyleScheme::BaseObjectType

typedef GTypeInterface gtksourceview::SourceStyleScheme::BaseClassType


Constructor & Destructor Documentation

gtksourceview::SourceStyleScheme::SourceStyleScheme (  )  [protected]

gtksourceview::SourceStyleScheme::SourceStyleScheme ( GtkSourceStyleScheme castitem  )  [explicit, protected]

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


Member Function Documentation

static void gtksourceview::SourceStyleScheme::add_interface ( GType  gtype_implementer  )  [static]

static GType gtksourceview::SourceStyleScheme::get_type (  )  [static]

static GType gtksourceview::SourceStyleScheme::get_base_type (  )  [static]

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

Provides access to the underlying C GObject.

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

Provides access to the underlying C GObject.

SourceTagStyle gtksourceview::SourceStyleScheme::get_tag_style ( const Glib::ustring &  a_style_name  )  const

get a tag style from the scheme.

Parameters:
a_style_name the name of the tag style to get
Returns:
the SourceTagStyle
Todo:
change the signature of this method to return a bool

Glib::ustring gtksourceview::SourceStyleScheme::get_name (  )  const

get the name of the scheme

Returns:
the name of the source style

Glib::SListHandle<Glib::ustring> gtksourceview::SourceStyleScheme::get_style_names (  )  const

get the list of the different style names associated to this scheme

Returns:
the list of style names

static Glib::RefPtr<SourceStyleScheme> gtksourceview::SourceStyleScheme::get_default (  )  [static]

the default style scheme

Returns:
the default style scheme


Friends And Related Function Documentation

friend class SourceStyleScheme_Class [friend]

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

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 Mon Jan 22 13:22:14 2007 for libgtksourceviewmm by  doxygen 1.5.1