The Gnome Chemistry Utils 0.13.3
Public Member Functions
gccv::StyleTextTag Class Reference

Font style. More...

#include <text-tag.h>

Inheritance diagram for gccv::StyleTextTag:
gccv::TextTag

List of all members.

Public Member Functions

 StyleTextTag (PangoStyle style)
virtual ~StyleTextTag ()
void Filter (PangoAttrList *l, unsigned start, unsigned end)
bool operator== (TextTag const &tag) const
TextTagDuplicate () const
PangoStyle GetStyle () const

Detailed Description

Font style.

TextTag class for font style.

Definition at line 358 of file text-tag.h.


Constructor & Destructor Documentation

gccv::StyleTextTag::StyleTextTag ( PangoStyle  style)
Parameters:
stylea font style.

Constructs a StyleTextTag with style as font style.

virtual gccv::StyleTextTag::~StyleTextTag ( ) [virtual]

The destructor.


Member Function Documentation

TextTag* gccv::StyleTextTag::Duplicate ( ) const [virtual]

Creates a copy of the StyleTextTag with the same font style.

Returns:
the new TextTag.

Implements gccv::TextTag.

void gccv::StyleTextTag::Filter ( PangoAttrList *  l,
unsigned  start,
unsigned  end 
) [virtual]
Parameters:
la PangoAttrList.
startthe start index of the relevant text.
endthe end index of the relevant text.

Filter method for the StyleTextTag class.

Implements gccv::TextTag.

PangoStyle gccv::StyleTextTag::GetStyle ( ) const [inline]
Returns:
the font style.

Definition at line 396 of file text-tag.h.

bool gccv::StyleTextTag::operator== ( TextTag const &  tag) const [virtual]
Parameters:
taga TextTag.

Equality operator.

Returns:
true if tag is a StyleTextTag and has the same font style than this.

Implements gccv::TextTag.


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