Tuesday, December 6, 2022

Iconify

 I have been wondering how to get the iconify() function to work. What 

it does - on submit - is create an icon of the calling window on the taskbar.  It

can then be replaced by the toplevel window. On closing the latter, the base window

returns. The code, below:

                                                      


                                                                             

                                                                                   

https://stackoverflow.com/questions/46387629/iconify-in-tkinter-in-python

Merely adding iconify to the base window on creating the top one. 

                                                                             

  

     I close the window, and the icon remains.                                                                         


*     *     *

It would appear Ukraine is now hitting targets deep within Russia 😮

One can, easily enough, bind to the toplevel:

                                                        



                                                                                    

No comments: