Recipe 11-1. Creating Taskbar Icons
Problem
Have you ever wondered how to create those little status icons in the Windows System Tray that usually appear on the lower right of your screen? The wxPython toolkit provides a pretty simple way to do just that and this chapter will walk you through the process
.
You will need to find an icon file to use or create a Python image file via the img2py utility that was mentioned in Recipe 2-2 back in Chapter 2.
Solution
We will look at how to create the TaskBarIcon in both Classic wxPython and in the new wxPython 4 (Phoenix).