[pygtk] Reduce text_entry width
Tim Evans
t.evans at aranz.com
Thu Jan 28 06:10:10 WST 2010
On 2010-01-27 4:19, Mallikarjun(ಮಲ್ಲಿಕಾರ್ಜುನ್) wrote:
> Dear friends,
> I am a newbie to python, pygtk, glade. I created GUI using Glade
> Interface Designer and added a text entry but not able to reduce width
> of it. the real problem is if I add 7 text entries in a row, going out
> of screen as my resolution is quiet less.
>
> So can someone please help me reduce width of text entry using Glade
> Interface Designer + Pygtk
You should set the "width-chars" property to something small. Where
this is set will depend on the version of Glade. You can also set in
manually with this line of code:
my_entry.props.width_chars = 5
--
Tim Evans
Applied Research Associates NZ
http://www.aranz.com/
More information about the pygtk
mailing list