Thursday, September 1, 2022

In_tandem

Sometimes, it's all in the details. Putting the pack() function on a different line

allows me to query the state of the button, and change it programatically.

                                                 


                                                                              


https://stackoverflow.com/questions/1101750/tkinter-attributeerror-nonetype-object-has-no-attribute-attribute-name

                                                             *     *     *

I was asked how a hover function is accomplished. Below, adapted from from Codemy:


                                                                  

                                                                           

                                                            

                                                                                 


On hover, an informative text appears in the label. It disappears once one

leaves the label. It is done with a 'bind' function, which tracks the mouse

coordinates. As weel, I have disabled the entry widget during the hover ‽


Code also works on a button.


                                                           *     *     *
Working with a list:
                             
                                                                     


All well and good, but not a true list. I'm not getting multiple matches...

No comments: