GtkLabel Text Color

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

 



Hi friends

How to change the color of an text of
an GTK_LABEL widget

i've tryed the bellow with out sucess


        GdkColor color;
        gdk_color_parse ("#FF3341",
&color);
        GtkWidget *label;
        label = gtk_label_new("Test");
        gtk_widget_show( label );

        gtk_widget_modify_text (label,
GTK_STATE_NORMAL, &color);

Regards
Luiz

         }


 
---
Acabe com aquelas janelinhas que pulam na sua tela.
AntiPop-up UOL - É grátis! 
http://antipopup.uol.com.br

_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list


[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux