Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want to develop an indicator app using mono c#. I want to display text instead of icons in the indicator, how can I do it ?

share|improve this question
1  
Try asking this on stackoverflow.com –  Mostafa Shahverdy Mar 12 '13 at 14:45
1  
App indicators are a ubuntu specific API. You wont get any help for it on stackoverflow. –  trampster Mar 13 '13 at 9:33
add comment

2 Answers

You will need c# bindings to libappindicator. You will probably need to generate these yourself using a tool like bindinator (meebey used this to generate the c# messagemenu bindings)

The help for the api is here

I have not used it myself but it looks like you would call the constructor

void (* new_label)  

to create an indicator with a label but no icon.

share|improve this answer
add comment

The "label" property

  "label"                    gchar*                : Read / Write

A label that can be shown next to the string in the application indicator. The label will not be shown unless there is an icon as well. The label is useful for numerical and other frequently updated information. In general, it shouldn't be shown unless a user requests it as it can take up a significant amount of space on the user's panel. This may not be shown in all visualizations.

Source of Text above

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.