GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Mon Aug 29, 2016 12:10 am

All times are UTC

Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Simple Vala application
PostPosted: Thu Dec 17, 2009 1:09 pm 
Never Seen the Sunlight

Joined: Wed Jul 23, 2008 10:31 am
Posts: 2406
Location: Slovenia

I started playing with Vala this week and since the best way to learn is to write an application, I created simple vala application named sampala (and because I know you're wondering what the hell sampala means: sample vala application).

What sampala does? Nothing useful. It simply displays gauge with moving needle.

Where can you get sampala? Sources are available from GitHub. In order to compile git sources, you'll need git, automake >= 1.11 (older version won't work with my sources), autoconf, intltool (gettext), and vala installed along other GTK+ dependencies. After all of the prerequisites are installed, just run:
./ && make
make install
or Ubuntu users
./ && make && sudo make install

If you're only interested in how does this application works, I also created distributable tarball. To compile this package, you'll only need normal GTK+ compile time tools (vala files in this file are already compiled into C code, so no valac is needed).

Hopefully, someone will find it useful.

Have a nice day.


 Post subject:
PostPosted: Wed Dec 30, 2009 10:46 am 
Familiar Face

Joined: Fri Jan 30, 2009 9:59 am
Posts: 24
Location: Berlin / Germany
Hi tadeboro
Very nice nice cairo example! Here it's so easy to make derrived widgets.
I just love vala: Less clutter, real focussing on programming, no interpreter and fast as C.
Btw, here is my vala app:

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group