A message box is a pop-up window that gives feedback to the user. It can be informational, hinting at potential problems, as well as catastrophic errors.
Using Python to create message boxes is very easy.
A message box is a pop-up window that gives feedback to the user. It can be informational, hinting at potential problems, as well as catastrophic errors.
Using Python to create message boxes is very easy.
We will add functionality to the Help | About menu item we created in Chapter 2, Layout Management, in the Creating tabbed widgets recipe.
The code is from GUI_tabbed_all_widgets_both_tabs.py. The typical feedback to the user when clicking the Help | About menu in most applications is informational. We'll start with this information and then vary the design pattern to show warnings and errors.