LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   GUI programming for linux (https://www.linuxquestions.org/questions/programming-9/gui-programming-for-linux-575086/)

sham 08-06-2007 09:22 AM

GUI programming for linux
 
hey all...
i have started using ubuntu7.04 for sometime now...
also i had a chance to look at "saboyano linux"(hope its spelt right)....
Its GUI and the various aspects of the user interface interested me a lot...

Now i want to become a GUI programmer myslf....
can anyone advice me on tat...
I have good knowledge in c/c++...
I really want to become a GUI programmer but dont know where to start...
pls help me.

thanks in advance.

rubadub 08-06-2007 10:02 AM

This will give you an overview of what's available and what they can and can't do... (most are c++ rather than c)
http://en.wikipedia.org/wiki/Widget_toolkit

pixellany 08-06-2007 11:00 AM

I've been reading this book:
http://www.wrox.com/WileyCDA/WroxTit...764544977.html

You'll also want to read up on things like Gtk and Qt.

Mega Man X 08-06-2007 01:15 PM

Depending of what you are writing, you may even consider Java. I would not use Java to write something as huge as Gnome or KDE, but I would use it for nearly everything else. It not only is easy to program in Java, but with tools such as Netbeans/Matisse you will make nice looking applications in no time. To do not mention how highly portable your application will be.

Java can also use Motif, GTK, Windows and Aqua look and feel. Besides, Java 6 has introduced several useful features for the Desktop/GUI developer, such as the possibility to use the system tray.

For a some good applications written in Java, take a look at azureus, Netbeans, jEdit, among others. It is just a matter of time for Java to also kick-in with some very good looking games as well.

Just my two cents ;)

iwasapenguin 08-07-2007 08:01 PM

I'd advise using an OS other than Ubuntu, It's a great Desktop OS but a tad lacking for the real nerds.
I'd say to start of with Fedora and program for KDE in QT as well as doing Java.
Both make it fairly quick to do things plus Fedora includes a package that can get you doing fairly good GUI's quick.

cyb0rg777 08-07-2007 09:30 PM

I started using GTK a couple months ago . I installed Anjuta and Glade interface builder. Glade automatically created all the code for the interface in c. So I had a good starting point. Since then Debian upgraded to Glade 3 .I could have stuck with my code I had ,but I went with libglade.
Libglade is a library to load a .glade xml document with the interface coded inside. You can make simple changes to the gui such as swapping toolbar buttons without changing your c source code. It was worth the upgrade from glade2 to glade3.

So I think the best place to start is with the IDE ,I recommend Anjuta.

Mega Man X 08-08-2007 02:14 AM

Quote:

Originally Posted by iwasapenguin
I'd advise using an OS other than Ubuntu, It's a great Desktop OS but a tad lacking for the real nerds.

Why exactly is Ubuntu not good for development. It is not like Fedora has "exclusive" applications. It is just a matter to apt-get install <whatever> you need to use. Really, no Linux distro is better than another when developing applications.


All times are GMT -5. The time now is 01:38 AM.