Re: Alternative for gtk_style_get_font



On 10/31/06, Madhusudan E <madhusudan huawei com> wrote:
Hi All,

The API gtk_style_get_font is deprecated.
Can anyone tell us which is the alternative for this API

Hello,
use GtkStyle::font_desc field:
http://developer.gnome.org/doc/API/2.0/gtk/GtkStyle.html#GtkStyle-struct
Some useful links, related to topic:
http://developer.gnome.org/doc/API/2.0/gtk/GtkWidget.html#gtk-widget-modify-font
http://developer.gnome.org/doc/API/2.0/pango/pango-Layout-Objects.html

 Olexiy



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