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

Creating buttons and changing their text property

In this recipe, we will add a button widget, and we will use this button to change a property of another widget that is a part of our GUI. This introduces us to callback functions and event handling in a Python GUI environment.