[pygtk] Question about gtk.Entry

Johan Dahlin jdahlin at async.com.br
Mon Aug 7 23:04:55 WST 2006


Mauricio Tellez wrote:
> Hi, I also need to change the background of an gtk.Entry to red, and I
> found that after my_entry.modify_bg() or my_entry.modify_base(), I only
> get a red square around my entry, but not "inside" an entry. So, I open
> another Xwindow session but without any window manager, only Xterm and
> run my app, and found It works ok, so I think that my gnome theme is
> overriding the modify_xxx settings. I hope this help someone

An Entry has two windows, you need to change the color of both of them,
check out kiwi it does exactly what you want to do.

-- 
Johan Dahlin <jdahlin at async.com.br>
Async Open Source


More information about the pygtk mailing list