[issue35700] Place, Pack and Grid should return the widget

2019-01-09 Thread Peter Vex
Peter Vex added the comment: Thank you Zachary, very interesting examples, to say the least! -- type: enhancement -> behavior versions: +Python 3.7 -Python 3.8 ___ Python tracker <https://bugs.python.org/issu

[issue35700] Place, Pack and Grid should return the widget

2019-01-09 Thread Peter Vex
Peter Vex added the comment: I can somewhat agreed with your point, even if it's not too realistic, but reasonable enough. Also, I'd only use method chaining, because that'd be the only option. I can't pass an argument to tk.Label at creation like 'manager="grid"' or any

[issue35700] Place, Pack and Grid should return the widget

2019-01-09 Thread Peter Vex
New submission from Peter Vex : When you want to simply place a widget on a window and you also want to store the reference for that widget in a variable you can't do that in one line, which is really unpleasant, because when you create a new widget these things are usually the first what