Python GUI Programming Cookbook(Second Edition)
上QQ阅读APP看书,第一时间看更新

How to do it...

Check out the following code:

GUI_textbox_widget.py

Now, our GUI looks like this:

After entering some text and clicking the button, there is the following change in the GUI: