LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 07-05-2002, 03:21 PM   #1
lackluster
Member
 
Registered: Apr 2002
Location: D.C - USA
Distribution: slackware-current
Posts: 488

Rep: Reputation: 30
Programming across X


What [language|libraries] do I need to learn if I want to write X programs that'll run on KDE & GNOME and most other window managers?
 
Old 07-05-2002, 03:58 PM   #2
dorward
Member
 
Registered: Sep 2001
Distribution: Gentoo
Posts: 760

Rep: Reputation: 31
Language - almost any
Libraries - GTK or FOX or QT or a whole bunch of others

I'd start by picking a language I like, then look in to the various language bindings available for it. I'm thinking about playing around with Ruby and FOX next time I want to fiddle with a GUI.

Last edited by dorward; 07-05-2002 at 04:01 PM.
 
Old 07-05-2002, 04:03 PM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
persoanlly i'd suggest c++ and gtk. the new gtk2 api is a good improvement on the 1.2 api, with some really good standards in place. and of course it looks a lot nicer than kde. and then also there's glade if you want to cheat and get it to write teh code for you.
 
Old 07-05-2002, 04:19 PM   #4
lackluster
Member
 
Registered: Apr 2002
Location: D.C - USA
Distribution: slackware-current
Posts: 488

Original Poster
Rep: Reputation: 30
I'm sorry, I meant libraries only, not language. But if I use QT aren't I stuck with only KDE?
 
Old 07-05-2002, 04:31 PM   #5
dorward
Member
 
Registered: Sep 2001
Distribution: Gentoo
Posts: 760

Rep: Reputation: 31
No, if you use QT then (unless the program is statically linked - and huge) it will only run on systems with QT installed. You don't need to run KDE to run apps that use the QT toolkit.
 
Old 07-05-2002, 05:20 PM   #6
lackluster
Member
 
Registered: Apr 2002
Location: D.C - USA
Distribution: slackware-current
Posts: 488

Original Poster
Rep: Reputation: 30
COOL! Thanks all. As a side question, which is the easiest/fastest to learn? I'm sure that will only spawn opinion and little fact, so which would be the easiest to learn if I have a windows programming background (or is that even applicatble?)?
 
Old 07-05-2002, 05:34 PM   #7
dorward
Member
 
Registered: Sep 2001
Distribution: Gentoo
Posts: 760

Rep: Reputation: 31
What language are you used to using? If C then GTK is probably the way to go, if C++ then probably QT.
 
Old 07-05-2002, 07:17 PM   #8
lackluster
Member
 
Registered: Apr 2002
Location: D.C - USA
Distribution: slackware-current
Posts: 488

Original Poster
Rep: Reputation: 30
Either is okay to me, but I guess I prefer C just because it dosen't have all that fancy template crap in my way.
 
  


Reply



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 programming language is used to do tcp/ip programming?? gajaykrishnan Linux - Networking 9 12-21-2012 05:16 AM
im new to programming but..... boxerboy Programming 6 08-26-2005 06:17 AM
Difference between Top Down programming & Bottom up programming minil Programming 1 06-17-2005 02:42 AM
C programming oranj Linux - Networking 1 12-07-2004 12:40 AM
Qt Programming... jinksys Programming 1 08-06-2003 04:33 AM

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

All times are GMT -5. The time now is 04:25 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