Using Tkinter, this dynamic capability creates both an advantage and a little bit of a challenge, because sometimes your GUI dynamically expands when you would prefer it rather not to be so dynamic.
- [Instructor] In the previous video,…we added space around widgets.…This video will take us through…expanding widgets dynamically.…You probably noticed, in previous videos,…that widgets have a capability…to extend themselves to the space they need…to visually display their text.…Java introduced the concept…of dynamic GUI layout management.…In comparison, visual development IDEs…like Visual Studio .NET lay out the GUI in a visual manner…and are basically hard coding…the X and Y coordinates of UI elements.…
Use in Tkinter, this dynamic capability creates…both an advantage and a little bit of a challenge…because, sometimes, our GUI dynamically expands…when we would prefer it rather not to be so dynamic.…Well, we are dynamic Python programmers,…so we could figure out how to make the best use…of this fantastic behavior.…At the beginning of the previous video,…we added a LabelFrame widget.…This moved some of our controls…to the center of column zero.…
We might not wish this modification to our GUI layout.…Next, we will explore some ways to fix this.…
Note: This course was created by Packt Publishing. We are pleased to host this training in our library.
- Creating buttons and widgets
- Adding labels and features
- Expanding a GUI dynamically
- Aligning frames and embedding frames
- Creating menu bars, message boxes, and tooltips
- Using module-level global variables
- Coding in classes
- Using Matplotlib to create charts
- Working with multiple threads, queues, and TCP/IP
- Using URLOpen to read data from websites
- Localizing a GUI and preparing for internationalization
- Testing a GUI using unit tests and Eclipse PyDev IDE
- Using the wxPython library
- Using Tkinter, PyOpenGL, and Pyglet
Skill Level Intermediate
Python GUI Development with Tkinterwith Barron Stone4h 55m Intermediate
1. Creating the GUI Form and Adding Widgets
2. Layout Management
3. Look and Feel Customization
4. Data and Classes
Using the StringVar() type8m 14s
5. Matplotlib Charts
6. Threads and Networking
7. Storing Data in Our MySQL Database via Our GUI
8. Internationalization and Testing
9. Extending Our GUI with the wxPython Library
10. Creating Amazing 3D GUIs with PyOpenGL and Pyglet
11. Best Practices
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.