Font change in CList.



Czesc! (Hi!)

    What is the correct way of changing clist's entry font?
Currently I do it by changing GtkStyle of gtkclist, but I don't
think that it is a rightest way, here is an example:

GtkStyle *style;
GdkFont  *my_font;

style = gtk_widget_get_style(gtkclist);
style->font = my_font;
gtk_widget_set_style(gtkclist, style);

This can sometimes change font not only in the clist but in
all window...

Pozdrowienia (Regards)
-- 
Karol Bryd                                       //
http://www.kki.net.pl/~kbryd                  \ //   Team *AMIGA*
kbryd@femina.com.pl                           \X/  Powered by Linux
 
If at first you dont succeed ... forget it!




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