How widgets dynamically expand the GUI

You may have noticed in the previous screenshots and by running the code that the widgets have the capability of extending themselves to the space they need in order to visually display their text.

  • Java introduced the concept of dynamic GUI layout management. In comparison, visual development IDEs, such as VS.NET, lay out the GUI in a visual manner, and basically hardcode the x and y coordinates of the UI elements.
  • Using tkinter, this dynamic capability creates both an advantage and a little bit of a challenge because sometimes our GUI dynamically expands when we would rather it not be so dynamic! Well, we are dynamic Python programmers, so we can figure out how to make the best use of this fantastic behavior!
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.15.189.199