Looking for "hello world" introduction to mate panel apps

Forum rules
Before you post please read this

Looking for "hello world" introduction to mate panel apps

Postby fishol on Thu Feb 07, 2013 5:58 am

Hello, i want to code some apps that will appear in mate panel, near the clock. It could be cool to make this app available to turn on via "add to panel" button from context menu that appears after right click on the panel.

At the moment i would like to make an clock-like app, that counts down work time.

I can work with any language, but if there are no limitations on that, it would be cool to make that app in java, since i like it most.
fishol
Level 1
Level 1
 
Posts: 1
Joined: Thu Feb 07, 2013 5:06 am

Linux Mint is funded by ads and donations.
 

Re: Looking for "hello world" introduction to mate panel app

Postby xenopeek on Thu Feb 07, 2013 7:15 am

Java :shock: After all the bad press it is getting right now? Does anybody still have it installed :) Probably a better bet in C, as that was the common programming language for GNOME2. The source code for the MATE applets is here: https://github.com/mate-desktop/mate-applets (all in C). So you could pick one that looks a bit like what you want to do, and perhaps copy & paste to get it to where you want it to go?

There's some documentation links (not specific to applets) on the MATE wiki: http://wiki.mate-desktop.org/contribute. You could also try the MATE development forum for seeing if anybody has more useful links to share specific to writing MATE applets: http://forums.mate-desktop.org/viewforu ... 655aa30de1.

Perhaps old GNOME2 applet tutorials will still be of use, though things will have changed from moving GNOME2 to MATE. Here is a "hello world" example as a GNOME2 applet: http://projects.gnome.org/ORBit2/appletstutorial.html.
User avatar
xenopeek
Level 21
Level 21
 
Posts: 14807
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands


Return to Scripts & Bash

Who is online

Users browsing this forum: No registered users and 1 guest