Re: Font and Color

Luiz Rafael Culik Guimaraes wrote:

Dear Friends

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


As for font:

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()

You can find GTK and Pango API reference here:


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