Is it 'fine' to instantiate a widget without parent parameter?
Terry Reedy? 2019?9?10???? UTC+8??5?16?19????
> On 9/10/2019 12:02 AM, jfong at ms4.hinet.net wrote:
> > Got it. The first Tk object is always the default one no matter where it was created. The default one is always the one which the widget constructor refer to when required.
> Or one can call tkinter.NoDefaultRoot() and not worry about default roots.
> Terry Jan Reedy
May I say this call has to be at the very beginning, before any widget was created using default root? And after this call, the 'parent' argument has to be explicitly assigned in the widget constructor?