Re: Font and Color



Luiz Rafael Culik Guimaraes wrote:

Dear Friends

How can I can the Font and/or Color for an gtk_label

Regards
Luiz

As for font:
http://mail.gnome.org/archives/gtk-list/2002-August/msg00279.html

As for color:
0. gtk_widget_modify_base(), gtk_widget_modify_text()
1. ".rc" file.
2. gtk_label_set_attributes()
3. Pango markup language and gtk_label_set_markup()
<skipped>

You can find GTK and Pango API reference here:
http://developer.gnome.org/doc/API/2.0/gtk/index.html
http://developer.gnome.org/doc/API/2.0/pango/index.html

Olexiy





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]