PDA

View Full Version : Best way to programming GNOME apps?



nemesa
June 22nd, 2006, 07:56 PM
Hi!

I would like to learn programming GUI apps for GNOME. Which are the best programming languages / tools / ways for that purpose? I know PHP and I work with it everyday... I learned Pascal, C, Visual Basic (.NET) in school... and tasted Java and C# a bit.

What do you recommend?

Thanks... :)

GeneralZod
June 22nd, 2006, 08:02 PM
Ruby and Python have great GTK bindings, and are wonderfully easy languages to learn and use.

xtacocorex
June 22nd, 2006, 08:49 PM
I've been messing with Python and GTK+ and using Glade to design the interface for my program.

zachtib
June 22nd, 2006, 08:51 PM
I've been messing with Python and GTK+ and using Glade to design the interface for my program.

thats what id recommend. im using python, gtk, and glade for gTorrent. Python was incredibly easy to learn and use.

Kimm
June 22nd, 2006, 08:52 PM
If you know VB.NET you can use that...

I havnt tried GTK# in VB, but its great in C#!

Virogenesis
June 22nd, 2006, 08:57 PM
Surprised no one has suggested mono as nemesa has done a bit of c#

Kvark
June 22nd, 2006, 09:01 PM
I agree that Python is the way to go. Python programs are usually shorter, cleaner and clearer then programs in most other languages.

For the GUI use wxWidgets. GTK and wxWidgets both uses GTK widgets so they achieve exactly exactly the same result and blend in perfectly with Gnome. Therefore GTK has no real advantage over wxWidgets. wxWidgets on the other hand has a big advantage if you would ever want to port one of your apps to other platforms. It blends in perfectly on Windows and OSX too by using the native widgets on those platforms.

bruce89
June 22nd, 2006, 09:01 PM
Surprised no one has suggested mono as nemesa has done a bit of c#
Saying as that's true, MonoDevelop is a nice IDE for C#, VB.net etc.

Kimm
June 22nd, 2006, 09:12 PM
Surprised no one has suggested mono as nemesa has done a bit of c#

Ehem... I believe I suggested VB.NET...

Virogenesis
June 22nd, 2006, 09:42 PM
Ehem... I believe I suggested VB.NET...
Unaware that mono supported VB.net, no getting offended by a simple mistake.

bruce89
June 22nd, 2006, 09:44 PM
Unaware that mono supported VB.net, no getting offended by a simple mistake.
It doesn't have a compiler for VB.NET yet AFAIK, but they are working on it on the Google SoC.

Kimm
June 22nd, 2006, 10:28 PM
It doesn't have a compiler for VB.NET yet AFAIK, but they are working on it on the Google SoC.

Huh, your kidding??
My Monodevelop can compile VB...

And I wasnt offended, I was merely making an atempt at being humorus :-P

bruce89
June 22nd, 2006, 10:31 PM
I know this is a bit offtopic (I'll add more to this post in a minute), but if you lookup mono in google, you get disease info. It reminds me of Polyp audio renaming itself, after people complained that polyp sounds like a disease.
It seems you are right about the VB.net compiler, I thought it wasn't complete - http://www.mono-project.com/VisualBasic.NET_support.

ronoc
August 19th, 2006, 11:08 AM
guys i am trying to use gnome with ruby. I have installed the ruby bindings
but when i try to use 'require gnome2' in my rubyscripts I get a load error on that line