LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-12-2004, 11:38 AM   #1
f0rmula
Member
 
Registered: Dec 2003
Posts: 72

Rep: Reputation: 15
Simple XWindows API for C under linux..


Basically i want to make a very simple xwindows application..

I'm competent command line programmer, but don't know where to start when writing an X windows app.. Is there anything like the Java Swing API?

Thanks

James
 
Old 11-12-2004, 11:48 AM   #2
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,994

Rep: Reputation: 76
One of the most common widget libraries for X in the C language is libgtk+ (and libgnome which extends it).

The most similar thing to the Java Swing API that I have yet used (outside of Java) is the Qt toolkit (extended by libkde), which is for C++ (although it also uses a meta-object compiler). C++ is not much different from C, and should be fairly easy to learn the basics of if you know Java.
 
Old 11-13-2004, 01:52 PM   #3
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Qt

I would definitely urge you to take a look at Qt:


http://www.programming-x.com/programming/qt.html
.. or ..
http://www.pconline.com/~erc/xprog.htm
 
Old 11-15-2004, 06:14 AM   #4
f0rmula
Member
 
Registered: Dec 2003
Posts: 72

Original Poster
Rep: Reputation: 15
supurb replies.. cheers people.. i'll start looking at the QT stuff then..

C++ should be fine

thanks

james
 
  


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
linux api refernce site mail4sasi@gmail.com Linux - Newbie 3 05-19-2005 02:55 PM
linux crypto api saajii Programming 3 08-31-2004 10:16 PM
What API do you program Linux apps in? Ekim Gram Programming 9 01-17-2004 05:58 PM
What API availible under the Linux? sonm Programming 3 12-30-2003 04:45 AM
Does Linux have API-like functions solartear Programming 8 04-03-2002 01:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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