In this recipe, we will change the title of the GUI we created in the previous recipe.
Changing the title of the GUI
Getting ready
We will be using the code from the previous recipe, so either type it into a module of your own or download it from the Packt website for this book.
How to do it...
We will enhance the GUI from the previous recipe by changing the title of this GUI. Let's get started:
- Open First_GUI_PyQt5.py and save it as GUI_PyQt5_title.py.
- Add the following line of code into the middle of the existing code:
gui.setWindowTitle('PyQt5 GUI&apos...