Is it 'fine' to instantiate a widget without parent parameter?

Terry Reedy tjreedy at udel.edu
Tue Sep 10 05:15:57 EDT 2019


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




More information about the Python-list mailing list