Font Description to CSS string



Hi all,

as gtk_widget_override_font is deprecated from gtk 3.16, i try to use
GtkStyleProvider. But, when I sent style data with font variable
definitioin, I got WARNING message: 
        Using Pango syntax for the font: style property is deprecated;
        please use CSS syntax

So question is, if gtk_widget_override_font is deprecated, ane font
string is deprecated, is there some function, which can I use, to
generate right CSS ?

Or I must write own function to generate css style with right variables
font-family, font-size, font-style etc... ?

Thanks a lot
-- 
Ondřej Tůma <mcbig zeropage cz>
www: http://ipv6.mcbig.cz   jabber: mcbig jabber cz   twitter: mcbig_cz


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