Thursday, May 2, 2024
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 957  / 3 Years ago, fri, september 10, 2021, 4:40:13

I wrote an application indicator that displays information about my monthly network consumption.
I do not want it to have an icon next to the text I display.
How do I write an application indicator without an icon?



The code I use to initialize my indicator is:



self.indicator = appindicator.Indicator.new("VooMeter", "network", appindicator.IndicatorCategory.SYSTEM_SERVICES)


Reading the documentation I can not find the value to put instead of "network"


More From » application-development

 Answers
1

After some code tries, I couldn't find a way either and reading the docs, I don't think it's possible. Here's something interesting from the label property:




The label will not be shown unless there is an icon as well.




So, if there is a way to disable the icon, it won't even show the label.


[#33855] Friday, September 10, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
fotres

Total Points: 35
Total Questions: 124
Total Answers: 112

Location: Federated States of Micronesia
Member since Sat, Jun 4, 2022
2 Years ago
;