Re: color in gtkentry
- From: David Nečas (Yeti) <yeti physics muni cz>
- To: gtk-app-devel-list gnome org
- Subject: Re: color in gtkentry
- Date: Tue, 23 May 2006 17:40:35 +0200
On Tue, May 23, 2006 at 09:25:45AM +0200, Vallario Brigitte wrote:
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));
I suppose this is another problem of their theme engine,
because it does work in SuSE 9.3 -- except it does not work
in KDE which sets up some theme engine to make Gtk+ look
more like itself...
Yeti
--
Anonyms eat their boogers.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]