View Full Version : Basics

01-10-2004, 10:12 AM
I just started programming in linux. And Iam amazed by how many free resources there are. I have the following questions.

1. How do I create a window.
2. Where is the linux api reference/documentation

Thanx in advance!

01-10-2004, 03:11 PM
try to find info on either QT (used by KDE) or Gtk (used by Gnome) (there're a lot of tuts out there, just google the subject...) :)

01-10-2004, 03:43 PM
Lets say I create one using gtk then will it work on qt? If not then how do I code a program to work on both e.g. KDevelop works on gnome and kde.

Thanx in advance!

01-10-2004, 04:02 PM
Your program will work in both KDE and Gnome either way. Gtk is in C and QT is c++ so that may or may not limit the choices depending on what languages you are good with. The differences between QT and Gtk other than the language its written in is the look.


01-10-2004, 05:55 PM
A program written with Qt will fit into the look and feel of KDE, a program written with GTK into that of Gnome. Both will run in both environments (and others, too), but they will look out of place in the "wrong" one.

01-10-2004, 07:15 PM
Thanks very much. I have another question. are the functions and parameters for both GTK and QT the same?

Thanx in advance!

01-11-2004, 04:37 AM
No, they are completly different. GTK is a C API using functions and structs, Qt is a C++ API using classes.