Closed jason-s closed 11 years ago
Never mind, the problem is not in enaml but the way Windows 7 works.
I got this solution from http://qt-project.org/forums/viewthread/28752
if (os.name == 'nt'):
# This is needed to display the app icon on the taskbar on Windows 7
import ctypes
myappid = 'MyOrganization.MyGui.1.0.0' # arbitrary string
ctypes.windll.shell32.SetCurrentProcessExplicitAppUserModelID(myappid)
See my code in https://github.com/nucleic/enaml/issues/65
It adds an icon that shows up in the window titlebar; but the icon that shows up in the taskbar is this:
I am using Anaconda Python 1.6.0 with enaml 0.7.19 on Windows 7.