At 10:53 AM +0200 4/24/06, [EMAIL PROTECTED] wrote:
 ...
>I have a small problem with 'gtk.Entry'. Indeed I would like to change the
>color of the text of the Entry, but I don't know how.
>I tried to modify the pango.Layout of the Entry (see the small example
>bellow), but I didn't work (the text of the Entry was expected to become
>red).
 ...

I just use entry.modify_fg( gtk.STATE_NORMAL, gtk.gdk.Color(0xFFFF, 0, 0)
).  Also, modify_base does the background.
____________________________________________________________________
TonyN.:'                       <mailto:[EMAIL PROTECTED]>
      '                              <http://www.georgeanelson.com/>
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to