Fw: Setting Font



Is

GtkStyle abc=gtk_widget_get_style(somewidget);
abc->font=SomeGDKFont;
gtk_widget_set_style(somewidget,abc);

the correct way?

Michael

----- Original Message ----- 
From: Michael <mikejuni@yahoo.com>
To: GNome List <gnome-list@gnome.org>
Sent: Friday, October 22, 1999 12:35 PM
Subject: Setting Font


> Hi,
> 
> If I want to change the font of a widget in my gtk+ program, how can I do
> it?
> 
> Michael
> 
> 
> 
> -- 
>         FAQ: Frequently-Asked Questions at http://www.gnome.org/gnomefaq
>          To unsubscribe: mail gnome-list-request@gnome.org with 
>                        "unsubscribe" as the Subject.
> 



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