wxpython icon for task bar

前端 未结 4 2038
抹茶落季
抹茶落季 2021-01-03 03:08

I am trying to set an icon in my wxpython program. So far, after reading many pages and examples, I was able to set an icon at the window, which also works when using alt+ta

4条回答
  •  暗喜
    暗喜 (楼主)
    2021-01-03 03:38

    Both TyrantWave's and mine answers are true under specific circumstances. It depends on Windows 7 settings:

    Taskbar buttons settings

    When labels are hidden, the icon does not seem to be set:

    enter image description here

    With labels shown it works just fine as expected:

    enter image description here

提交回复
热议问题