PDA

View Full Version : GUIs in KDE



(TNT)
05-18-2006, 09:04 AM
Hey,

Ive done very little programming on linux, infact ive only written a simple console program for it with gcc. I have however had a fair bit of experience with the win32 api and general windows programming.

Is it a big step into programming GUIs for linux? I was wondering if someone could point me into what i need to learn and if its much harder than windows based GUI design? Theres a few things im unsure of, firstly if i make a gui for KDE will it work in other windows managers such as Gnome? Ive heard of QT but i have no idea if thats what i need? Is there some specific APIs i should look into?

Any tutorials on basic GUI programming that someone can point me to would be great.

Also would it be ok to develop a said program with the mono project using C#? Is this project far enough ahead to devleop appications with it.

Thanks for any help,
Jack

silk.odyssey
05-18-2006, 09:46 AM
For programming GUIs on linux there are a lot of options. For portability with windows, wxWidgets and Qt are good options. KDE is based on qt.Gtk is portable with windows but it looks ugly there. As far as I know the frameworks are portable between window managers as long as the required libraries are present. The only desktop environments I use are kde and gnome and I don't have any problems running gtk and kde/qt apps on either one.There are free tutorials availlable on the web.

Qt:
http://www.digitalfanatics.org/projects/qt_tutorial/

Gtk:
http://www.gtk.org/tutorial/

GanglyLamb
05-19-2006, 09:16 AM
Also would it be ok to develop a said program with the mono project using C#? Is this project far enough ahead to devleop appications with it.


Although I have not used Mono for any GUI application I know that for now they are using the gtk library as well.

Before you start using mono, check wether all the namespaces of C# that you are planning to use are already implemented , it will save you alot of frustration :) . ( we are working in school on a multithreaded ftp server in C# and I wanted to port it so we could use mono, but unfortunately most of the namespaces we are using are not implemented yet in mono... )