Re: change colour font of a label!
- From: Alessandro Oliva <gtk microsignum com>
- To: gtk-app-devel-list gnome org
- Subject: Re: change colour font of a label!
- Date: Thu, 22 Feb 2007 10:47:20 +0100
ferri_marllo gva es wrote:
Hello!!
I need to change the colour font of a label...can you help me??
thanks a lot!
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
GtkLabel *lbl_status;
GdkColor color;
gdk_color_parse ("white", &color);
PangoFontDescription *font_desc;
gtk_widget_modify_fg (GTK_WIDGET(lbl_status), GTK_STATE_NORMAL, &color);
font_desc = pango_font_description_from_string ("Arial 8");
gtk_widget_modify_font (GTK_WIDGET(lbl_status), font_desc);
pango_font_description_free (font_desc);
Alessandro
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]