GtkLabel Text Color



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




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