Monday, August 1, 2022

Lesson 17

 Starting to hit things I just know will be very useful!


The notebook widget allows one to create different pages or tabs within

an application. it is part of the ttk module. One has to make sure to

both expand the notebook - to have the notebook space expand - and set

fill to true for both x and y - keeping the tabs at the upper left corner, even as

the content stays centered.

                                                        


                                                                                


  True, there are both same and new widgets in ttk; but many complain it

is hard to code for. So far, I know it is different:

                                                                     


                                                                  


ttk has a possibility to use style(); here background only shows if spelled out...

                                                      *     *     *

One interesting aspect of ttk is that there is a pre-defined style, which one can look up

and, hence, alter. Below, I have changed the font.


                                                                                         


                                                                              
                                                                         

                                                                            


                                                                 


No comments: