s�n 2004-11-14 klockan 12:04 -0600 skrev Mauricio Tellez:
> Hi, I'm using a CellRendererText with a ListView, it works fine, the
> only thing is that the user can type any amount of characters inside a
> the CellRendererText and I want to limit this no 'n' characters long,
> like the entry's set_max_length. Any ideas?

Cell renderers shouldn't really modify the data, or restrain it. But you
can do the filtering in the model. If it's not possible in your model,
use a special filtering model*

* according to jrb, treeview hacker.

-- 
Johan Dahlin <[EMAIL PROTECTED]>

_______________________________________________
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