[pygtk] Multi-Line Entry

John Finlay finlay at moeraki.com
Tue Apr 22 05:20:17 WST 2008


ssa03d at fsu.edu wrote:
> Thanks for your reply Thorsten. I tried using gtk.TextView, but it 
> cannot preallocate space. The space grows as the text is entered. Is 
> there something where I can set an attribute (i.e. set_width()).
>
textview.set_size_request() should allocate minimum area for the textview.

John


More information about the pygtk mailing list