[pygtk] date & multiline cell renderers for sqlkit
Pietro Battiston
toobaz at email.it
Wed Jan 7 21:13:31 WST 2009
Il giorno mer, 07/01/2009 alle 11.29 +0100, Alessandro Dentella ha
scritto:
> Hi,
>
> I'd like to add good cellrenderers for date/datetime and multiline text to
> sqlkit [1].
>
> Since I believe that it's a pretty common renderer, before starting what
> I guess would be a long job for me, I ask you if there is some freely
> available renderer.
Maybe [2] could bring you some inspiration.
Notice however that on my pygtk installation (and probably in yours) it
is broken: while the standard renderer is ok (but goes monoline in edit
mode, and it's ugly to treat the newline as a character), the modified
one allows editing, but in a totally unfriendly way since you don't see
what you are editing (I imagine this worked instead when this example
was written, but I don't know if it's a bug which should be filed or an
error of the writer of the example).
There are other multiline renderers examples around, but I couldn't find
another one which can be edited.
Pietro
[2]: http://www.daa.com.au/pipermail/pygtk/2005-April/009990.html
P.S: Other examples of (tentatives of) custom cellrenderers:
http://faq.pygtk.org/index.py?req=show&file=faq13.045.htp
http://www.mail-archive.com/pygtk@daa.com.au/msg12797.html
http://www.mail-archive.com/pygtk@daa.com.au/msg05242.html
http://article.gmane.org/gmane.comp.gnome.gtk%2B.python/9539
More information about the pygtk
mailing list