Re: font size gtk_*_new_with_label



Hi All ! Is it the right list to post my message ? I will appreciate very much any help :)

I'm using

gtk_widget_modify_font()  and

style = gtk_rc_style_new();
pango_font_description_free( style->font_desc );
style->font_desc = pfont;
gtk_widget_modify_style( widget, style );

to change the font size of my labels, but I can't do it on created
buttons with gtk_*_new_with_label() and neither in my statusbar.

 

I couldn't find any example on the net. I understand that I dont have the reference to the labels... , but when gtk refresh the screen needs the reference to the labels...

So how to get the reference pointer or directly how to change the font size on these objects ?

 

could any body give me some help about this problem? I need to solve it


Thanks in advance, Regards
Luis




¡Buscá desde tu celular! Yahoo! oneSEARCH ahora está en Claro
http://ar.mobile.yahoo.com/onesearch


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