gtkIOStream
1.7.0
GTK+ << C++ IOStream operators for GTK+. Now with ORBing, numerical computation, audio client and more ...
|
#include <Pango.H>
Public Member Functions | |
Pango (void) | |
~Pango (void) | |
Deconstructor Destructor, delete allocated memory and empty the linked lists. More... | |
string & | getMarkup (void) |
void | setLabelText (GtkWidget *l) |
Pango & | operator<< (Font f) |
Pango & | operator<< (ColourLineSpec cls) |
Pango & | operator<< (string &s) |
Pango & | operator<< (const char *s) |
Pango & | operator<< (PangoIOS::specialFlags sf) |
void | reset (void) |
Private Types | |
enum | pangoMarkupsIDs { COLOUR =1, SIZE, FONT } |
Private Member Functions | |
void | nextTag (void) |
Private Attributes | |
LinkList< LinkList< pair< string *, string * > * > * > | markups |
Each of the strings is associated with a set of markup and markup variable strings. More... | |
LinkList< string * > | strings |
The strings to apply the markups to. More... | |
LinkList< string * > | pangoMarkups |
The pango markup strings which are pointed to by markups. More... | |
string | formattedMarkup |
The complete marked up string, set using getMarkup() More... | |
Construct a pango markup
This class enables the user to construct pango markups like so :
Markups must be added before the string they are to makrup. String may then be added.
PangoIOS provides special features for the Pango input stream.
For example using PangoIOS::Next, strings without markups can be provided :
Or markups without text can be provided :
To remove previous markups and strings :
|
private |
|
inline |
|
inline |
|
inline |
|
inlineprivate |
|
inline |
Add a ColourLineSpec for marking up. If a string already exists, then start a new markups / strings pair. The ColourLineSpec class is copied, to allow temporaries in overloading like so : << ColourLineSpec("r10000") <<
cls | ColourLineSpec, where the integer is in thousands of a point, e.g. ColourLineSpec("r10000") is 10 point red. |
Definition at line 207 of file Pango.H.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
The complete marked up string, set using getMarkup()
|
private |
|
private |
GTK+ IOStream
Beta
|