LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 09-08-2004, 02:01 AM   #1
frankli
LQ Newbie
 
Registered: Dec 2003
Posts: 25

Rep: Reputation: 15
How to develop a XWindow application


I'm a new guy in Linux development and I used to develop drivers and application in command line mode.
NowI'm very interested in developing programs in X window.So I want to know there are how many develop IDEs in X window and which is most popular.I want my application can be run in KDE and GNOME and easy to move to other X WINDOW. Now I know some c/c++ develop IDE such as Kdevelop and QT,jave develop IDE eclipse,and Tcl/TK. Can somebody explain these IDES clearly for me? I want to know which is the most powerful develop tools to develop X Window application. thanks for your help!
 
Old 09-08-2004, 07:40 AM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
The thing is that you can write for pure X Window or use one of the libraries. The difference is that using pure X (Xlib) is very time-consuming. Libraries (like Qt or GTK, wxWidgets and so on) make it much easier. So you'd rather use one of the libraries. The question which one to choose is not an easy one - it's just a personal preference or just one of the libraries supports something your need better than the others.

Then, GUIs. For C/C++ check Anjuta and KDevelop. The difference between them is that Anjuta is more GTK/GNOME related, where KDevelop is more connected with Qt/KDE.
For Java you can use Eclipse (but KDevelop also supports it, if I remember correctly).
I'd not recommend you to use Tcl/TK.

To answer your question, I can't tell you which one is most powerful. I'm afraid you'll need to install and test them, to see which one fits your needs best.
 
Old 09-08-2004, 07:47 AM   #3
Marius2
Member
 
Registered: Jan 2004
Location: Munich
Distribution: SuSE 9.2, 10.2, 10.3, knoppix
Posts: 276

Rep: Reputation: 31
If working without a IDE and programming your GUI directly, I'd re-
commend GTK, as it's really easy to code (and really free, different from
QT)

For a tutorial (GTK2), check http://www.gtk.org/tutorial/.

You may run such an application under Gnome as well as under KDE
(as long as the required libraries are installed).
 
Old 09-09-2004, 06:27 AM   #4
frankli
LQ Newbie
 
Registered: Dec 2003
Posts: 25

Original Poster
Rep: Reputation: 15
thanks for your advice.I'll try and test them one by one.
 
Old 09-09-2004, 07:29 PM   #5
ulmo
LQ Newbie
 
Registered: Jul 2004
Distribution: debian
Posts: 28
Blog Entries: 5

Rep: Reputation: 2
if you decided to program without any other libraries than xlib, have a look at the Xlib Programming Manual (http://www.oreilly.com/catalog/v1/index.html), it helped me a lot.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Which is the best language to develop a database using application tuxfood Linux - Newbie 2 12-18-2004 02:05 PM
xwindow to xwindow connection? ziggie216 Linux - Software 1 03-18-2004 12:53 PM
how to develop application for ipaq? penny21 Programming 0 03-14-2004 10:36 AM
How Slackware is develop? garyura Slackware 8 08-23-2002 11:17 AM
How the Slackware is develop? garyura Linux - General 5 08-22-2002 11:45 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration