You might customize your message boxes and reuse them in several of your GUIs. This video will take us through creating a small reusable component, which you can then import into different Python GUIs.
- [Instructor] In the previous video, we looked at…creating various types of message boxes.…We'll discuss independent message boxes in this video.…We will create our tkinter message boxes…as stand-alone top-level GUI windows.…We will first notice that by doing so…we end up with an extra window.…So we will explore ways to hide this window.…In the previous video we invoked tkinter…message boxes via our help about menu…from our main GUI form.…
So why would we wish to create an independent message box?…One reason is that we might customize our message boxes…and reuse them in several of our GUIs.…Instead of having to copy and paste the same code…into every Python GUI we design,…we could factor it out of our main GUI code.…This can create a small reusable component…which we can then import into different Python GUIs.…As we have already created the title of a…message box in the previous video,…we will not reuse the code from the previous video.…
Instead we will build a new GUI…in very few lines of Python code.…Our file is named independent message box.py.…
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?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
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.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.