[prev in list] [next in list] [prev in thread] [next in thread]
List: gtk-app-devel
Subject: color in gtkentry
From: Vallario Brigitte <brigitte.vallario () ases ! de>
Date: 2006-05-23 7:25:45
Message-ID: 527CFCD935ABD711A86E0003473A917E01349F49 () Spirit
[Download RAW message or body]
Hello,
I will set the color in a GtkEntry, but under SuSE 9.3 with KDE does not
work.
With SuSE 8.2 it works!! The text in the GtkEntry is red.
My sourcecode:
entry = gtk_entry_new();
gtk_box_pack_start_defaults( GTK_BOX(vbox), GTK_WIDGET(entry));
gtk_entry_set_text( GTK_ENTRY(entry), "text text text" );
gdk_color_parse("red", &color);
gtk_widget_modify_text(entry, GTK_STATE_NORMAL, &color);
gtk_widget_show_all(GTK_WIDGET(fenster));
Who can help me? Thanks
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic