[pygtk] Disable gtk.Entry

Arie Timmerman arietimmerman at gmail.com
Thu Feb 23 21:15:48 WST 2006


How can i show my users the gtk.Entry is disabled. I know how to set it
disabled (set_editable(False)). But when i do this, the visual part doesn't
change. So, how can i change the color. I allready tried this:

        colormap = entry.get_colormap()
        colormap.alloc_color(65000,0,0)
        self.dag.set_colormap(colormap)

but it doesn' work.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.daa.com.au/pipermail/pygtk/attachments/20060223/d2932755/attachment.htm


More information about the pygtk mailing list