Awn

How can I develop my own AWN applet?

Asked by Ivan

Excuse me. I suppose this question is already answered but somehow I was not able to find it.

So, how can I create my own applet? Is there a guide somewhere, showing the way starting from setting up a project and finishing with a custom applet up and running in the AWN?

It's also interesting what languages can I use to write an AWN applet. For example I'd generally prefer a modern managed execution, scripting or markup language over low-level C/C++.

Question information

Language:
English Edit question
Status:
Solved
For:
Awn Edit question
Assignee:
No assignee Edit question
Solved by:
Alberto Aldegheri
Solved:
Last query:
Last reply:
Revision history for this message
Mark Lee (malept) said :
#1

You can write applets in C, Vala, or Python. There are experimental bindings for Mono, but I stress the term "experimental". I would suggest writing applets in Vala <http://live.gnome.org/Vala>, because it provides high-level language features with low-level speed. A good starting point would be to see currently written applets. There are also test applets for Python and Vala which show the bare minimum that you need to make a functioning applet.

If you really need a guide, there are a couple for Python on the wiki, but I don't know how up-to-date they are.

If you need help, there's usually one or more devs in #awn on irc.freenode.net during European daytime and possibly North American daytime.

Revision history for this message
Ivan (ivan-mashchenko) said :
#2

> A good starting point would be to see currently written applets. There are also test applets for Python and Vala which show the bare minimum that you need to make a functioning applet.

Where can I get these?

Revision history for this message
Best Alberto Aldegheri (albyrock87) said :
#3

To get lastest applets sources, from terminal:
bzr branch lp:awn-extras

or you can see the same code online at:
http://bazaar.launchpad.net/~awn-extras/awn-extras/trunk/files

I suggest the first option ;)

Revision history for this message
Ivan (ivan-mashchenko) said :
#4

Thanks. I just didn't knew that I need awn-extras project rather tan awn.