[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gtk-app-devel
Subject:    Re: color in gtkentry
From:       David =?iso-8859-2?B?TmXoYXMgKFlldGkp?= <yeti () physics ! muni ! cz>
Date:       2006-05-23 15:40:35
Message-ID: 20060523154035.GB22668 () potato ! chello ! upc ! cz
[Download RAW message or body]

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.
_______________________________________________
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