understand if systray displayed in a desktop environment

I'm writer of a pair off applications that take advantage of systray. Lately, given that in some desktop computers just the indication is sustained (see ubuntu unity), I presented a check and also if indication is sustained the application makes use of indication instead of systray.

try:
    import appindicator
    HAS_APPINDICATOR = True
except: HAS_APPINDICATOR = False

which functions respectable, the trouble is that I still would love to make use of systray instead of indication if systray is sustained. Exists a means to recognize if systray is supported/not obstructed from the existing desktop setting?

1
2022-06-07 14:42:07
Source Share
Answers: 0