The wxPython Cookbook is for anyone wanting to learn neat tips and tricks with the wonderful wxPython toolkit. With wxPython, you can create cross-platform desktop user interfaces quite easily. There are over 50 recipes included in this book. This book is targeted for Python 2 and 3.
Following is a listing of some of the recipes in no particular order:
Adding / Removing Widgets Dynamically
How to put a background image on a panel
Binding Multiple Widgets to the Same Handler
Catching Exceptions from Anywhere
wxPython's Context Managers
Converting wx.DateTime to Python datetime
Creating an About Box
How to Create a Login Dialog
How to Create a "Dark Mode"
Generating a Dialog from a Config File
How to Disable a Wizard's Next Button
How to Use Drag and Drop
How to Drag and Drop a File From Your App to the OS
How to Edit Your GUI Interactively Using reload()
How to Embed an Image in the Title Bar
Extracting XML from the RichTextCtrl
How to Fade-in a Frame / Dialog
How to Fire Multiple Event Handlers
Making your Frame Maximize or Full Screen
and many more!
Following is a listing of some of the recipes in no particular order:
Adding / Removing Widgets Dynamically
How to put a background image on a panel
Binding Multiple Widgets to the Same Handler
Catching Exceptions from Anywhere
wxPython's Context Managers
Converting wx.DateTime to Python datetime
Creating an About Box
How to Create a Login Dialog
How to Create a "Dark Mode"
Generating a Dialog from a Config File
How to Disable a Wizard's Next Button
How to Use Drag and Drop
How to Drag and Drop a File From Your App to the OS
How to Edit Your GUI Interactively Using reload()
How to Embed an Image in the Title Bar
Extracting XML from the RichTextCtrl
How to Fade-in a Frame / Dialog
How to Fire Multiple Event Handlers
Making your Frame Maximize or Full Screen
and many more!