#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <gtk/gtk.h>
#include "../gui/gui_types.h"
#include "../ut/ut_umem.h"
#include "../gui/gui_base.h"
#include "../gui_gtk2/gtk_base.h"
#include "../gui_gtk2/gtk_label.h"
=====================================================
List_functions_start:
List_functions_end:
=====================================================
int GUI_label_styl |
( |
MemObj * |
o_par, |
|
|
int |
iCol |
|
) |
| |
int GUI_label_mod |
( |
MemObj * |
o_par, |
|
|
char * |
txt |
|
) |
| |
MemObj GUI_label__ |
( |
MemObj * |
o_par, |
|
|
char * |
ltxt, |
|
|
char * |
opts |
|
) |
| |
display static text (Label) with align
Input:
o_par must be Obj_Box
ltxt text to display
opts options; (alignment)
first character 'l'=left aligned; 'r'=right aligned; def.=center.
Example: "l" or ""
Text with attributes: see GUI_HtmLabel
more than 1 line: use \n
int GUI_label_htm_mod |
( |
MemObj * |
o_par, |
|
|
char * |
txt |
|
) |
| |
MemObj GUI_label_htm__ |
( |
MemObj * |
o_par, |
|
|
char * |
ltxt, |
|
|
char * |
opts |
|
) |
| |
GUI_HtmLabel static text with html-attributes
Input:
o_par parentBox
ltxt text to display
opts options; (alignment)
first character 'l'=left aligned; 'r'=right aligned; def.=center.
Example: "l" or ""
Examples:
bgcolor ..
see "Pango Text Attribute Markup Language"
"<b>text<span foreground=\"blue">text</span></b>"