|
Labels & | operator<< (std::string str) |
|
Labels & | operator<< (const char *str) |
|
Labels & | operator<< (labelFuncData nf) |
|
GtkWidget * | getWidget (void) |
| returns the current GtkWidget* in the list More...
|
|
void | pangoMarkup (const char *str) |
| Set the pango markup of the currently displayed text. Allows you to set the current text to different pango text styles, specified in str. Specify only the pango styles here. For example, to set the colour to red we require str="foreground='#ffffa5a50000'", Which we can generate like so: More...
|
|
void | pangoMarkup (Pango &p) |
| Set the pango markup of the currently displayed text. The Pango class is used to setup the label. More...
|
|
GtkWidget * | setAlignment (float xalign, float yalign) |
|
Labels & | operator<< (Pango &p) |
|
void | setLabelsFont (PangoFontDescription *pangoFontDescription) |
|
void | setAngle (double angle) |
|
| LinkList (void) |
| Initialiser This is for the first element - links to itself. More...
|
|
virtual | ~LinkList (void) |
| Small cleanup ... More...
|
|
void | add (GtkWidget *newElement) |
| Adds as the current element ... Added to the next of the current lug. More...
|
|
GtkWidget * | change (GtkWidget *changeElement) |
| exchange lugs The current lug is replaced with this lug. More...
|
|
GtkWidget * | remove (void) |
| remove the current lug from the LinkList The current lug is removed form the list and passed back to the caller. More...
|
|
GtkWidget * | current (void) |
| return a pointer to the current lug More...
|
|
GtkWidget * | next (void) |
| Return a pointer to the next lug and move on to that lug Increments according to dir (either forward or backwards). More...
|
|
GtkWidget * | prev (void) |
| Return a pointer to the previous lug and move to that lug Increments against dir (either forward or backwards). More...
|
|
GtkWidget * | grab (int i) |
| returns the i'th lug in the chain irrespective of direction More...
|
|
int | getCount (void) |
|
class to create and handle labels.
Generally you use istream operators as follows :
labels<<"label 1"<<"label 2";
topWindow << vBox;
You can also do the same thing inline :
You can have clickable labels like so :
gboolean labelCallback(GtkWidget *widget, GdkEventButton *event, gpointer data){
}
Definition at line 58 of file Labels.H.