RE: Change font and Foreground of a Label




Ok, there is one thing I haven't used before.

GdkColor

How do I make this white?

To set the foreground I call the function : gtk_modify_fg (label,
GTK_STATE_NORMAL, "color");

So how would I set GdkColor *color to white?

-----Original Message-----
From: gtk-list-bounces gnome org [mailto:gtk-list-bounces gnome org] On
Behalf Of Demetris Zavorotnichenko
Sent: Tuesday, December 09, 2008 2:14 PM
To: gtk-list gnome org
Subject: RE: Change font and Foreground of a Label

Tnx. Much appriciate the help.

-----Original Message-----
From: Tadej Borovšak [mailto:tadeboro gmail com] 
Sent: Tuesday, December 09, 2008 2:01 PM
To: Demetris Zavorotnichenko
Cc: gtk-list gnome org
Subject: Re: Change font and Foreground of a Label

Hello.

Have a look at gtk_widget_modify_* family of functions: Link to docs:
http://library.gnome.org/devel/gtk/stable/GtkWidget.html


2008/12/9 Demetris Zavorotnichenko <fgcity4652 cytanet com cy>:
> Hi all.
>
> How can I change the font and foreground of a Label ?
>
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
>



-- 
Tadej Borovšak
00386 (0)40 613 131
tadeboro gmail com
tadej borovsak gmail com

_______________________________________________
gtk-list mailing list
gtk-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-list



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