color in gtkentry
- From: Vallario Brigitte <brigitte vallario ases de>
- To: gtk-app-devel-list gnome org
- Subject: color in gtkentry
- Date: Tue, 23 May 2006 09:25:45 +0200
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]