Tkinter module test: widget class not inserted in application frame

Peter J. Holzer hjp-python at hjp.at
Sat Jun 18 04:10:34 EDT 2022


On 2022-06-17 19:47:38 -0700, Rich Shepard wrote:
> On Fri, 17 Jun 2022, Dennis Lee Bieber wrote:
> 
> > >             ContactNameInput, 'lname',
> > >             ContactNameInput, 'fname',
> 
> This works if a tk.labelframe is where the widget is placed. In my case, as
> MRAB taught me, the proper syntax is
> 	self,'lname'...

There is a comma (U+002C) here ...

> 	self.'fname'...

And a dot (U+002E) here.

I don't think this is correct.

I would also recommend to always add a space after a comma.

        hp

-- 
   _  | Peter J. Holzer    | Story must make more sense than reality.
|_|_) |                    |
| |   | hjp at hjp.at         |    -- Charles Stross, "Creative writing
__/   | http://www.hjp.at/ |       challenge!"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://mail.python.org/pipermail/python-list/attachments/20220618/b8d9a7c1/attachment.sig>


More information about the Python-list mailing list