Closed sphh closed 1 year ago
Setting .visible to False calls https://github.com/moses-palmer/pystray/blob/6ad09b90ebbd25cfd7e7de1abf830a382577b052/lib/pystray/_appindicator.py#L60-L61 This disables all functionality of the AppIndicator, but does not hide it. Even if .visible is set to True again, the icon is not updated and stays in that disabled state.
.visible
False
AppIndicator
True
How hiding of the AppIndicator can be done is shown in
Thank you very much for your contribution!
You are more than welcome!
Thank you for writing pystray!
pystray
Setting
.visible
toFalse
calls https://github.com/moses-palmer/pystray/blob/6ad09b90ebbd25cfd7e7de1abf830a382577b052/lib/pystray/_appindicator.py#L60-L61 This disables all functionality of theAppIndicator
, but does not hide it. Even if.visible
is set toTrue
again, the icon is not updated and stays in that disabled state.How hiding of the
AppIndicator
can be done is shown in