A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2001-April/116502.html below:

Pmw EntryField question

Pmw EntryField question Pmw EntryField questionElliott Chapin echapin at sympatico.ca
Sat Apr 14 22:07:42 EDT 2001
--

---------------------------------------------------------------

Elliott Chapin         http:// www3.sympatico.ca/echapin
"Matthew Dixon Cowles" <matt at mondoinfo.com> wrote in message
news:slrn9dhlcs.12k.matt at happy-hour.mondoinfo.com...
> On Sat, 14 Apr 2001 22:29:34 GMT, Elliott Chapin
> <echapin at sympatico.ca> wrote:
>
> >How to control the width? References I have don't seem to hold the
> >key. I'm pretty new - wondering if I have to make a new class to do
> >it.
>
> Elliott,
> As with many Pmw widgets, you need to explicitly configure the
> particular component. Something like this should work for you:
>
> e=Pmw.EntryField(root)
> e.component("entry").configure(width=42)

Thanks a lot! this line exposes an approach of which I was unaware.

> e.pack(side=TOP)
>
> The Pmw docs could be clearer about that sort of thing, I think.
>
> Regards,
> Matt



More information about the Python-list mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4