default font for a widget?



hi,

what's the way to set a default font for a widget?

 style = gtk_widget_get_style (dir_list);
 style->font = gdk_font_load ("fixed");
    if (style->font)
		gtk_widget_set_style (dir_list, style);

sets the 'fixed' font for *all* widgets :(

cu
 rasca
-- 
 -=#=- Internet eMail: thron@gmx.de, FidoNet: 2:2410/304.5@fido -=#=-
 http://home.pages.de/~rasca/ Fax +49.30.335-63-28 (15:00-23:00h MET)
 -=#=- please do not quote these lines or other useless stuff! --=#=-



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