LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-18-2007, 03:37 PM   #1
manolakis
Member
 
Registered: Nov 2006
Distribution: xubuntu
Posts: 464

Rep: Reputation: 37
programming with GUIs


Hi there
Does anyone know any language except Java that can be used for constructing GUIs?(graphical user interfaces)

Thanks
 
Old 08-18-2007, 03:42 PM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Err lots? C, C++, Python, ...
 
Old 08-18-2007, 05:03 PM   #3
95se
Member
 
Registered: Apr 2002
Location: Windsor, ON, CA
Distribution: Ubuntu
Posts: 740

Rep: Reputation: 32
There are very few non-trivial languages that don't have at least some library/module/whatever to allow GUI construction. Pretty much any language you would be interested in will have a number of ways to construct GUIs. Regardless of the languages, some of the popular ones are wxWidgets, GTK+, and Qt (they are available for all sorts of langauges, like C, C++, Python, Perl, Ruby, Java, etc. If you are using .NET (C#, J#, L#, VB.NET, etc), there is Windows.Forms, and the JVM has Swing (Groovy, JRuby, etc.).
 
Old 08-22-2007, 01:12 PM   #4
manolakis
Member
 
Registered: Nov 2006
Distribution: xubuntu
Posts: 464

Original Poster
Rep: Reputation: 37
Hi again
Do you actually know if GTK+ can make better GUIs than Java?
Thanks
 
Old 08-22-2007, 01:34 PM   #5
95se
Member
 
Registered: Apr 2002
Location: Windsor, ON, CA
Distribution: Ubuntu
Posts: 740

Rep: Reputation: 32
That really depends on your idea of better. If you mean in terms of usability, only the GUI developers can make it better or worse, not the GUI toolkit. If you mean simpler to program for, I would say Swing is slightly easier. If you mean performance, GTK+ would win just because it is native. Though Swing apps can definitely be very fast. Do you mean in terms of "built-in" functionality (like video support, etc)? Well, both provide a very basic UI, then depend on third party developers to create extensions to handle more complex UI components. Do you mean technically? Well, that is very subjective. Swing's event-driven model is much more intuitive. It directly follows from the Observer pattern. Thus, it is easier to extend and manipulate. Both can easily build very complex GUIs. Overall, I would say the choice to use one or the other depends much more on other, more external, factors. If you are building an app to run on the JVM, it makes sense to use Swing, since you don't have to rely on the GTK+ library. If you want the speed of GTK+ on Java, look at SWT instead.

Last edited by 95se; 08-22-2007 at 01:36 PM.
 
Old 08-23-2007, 02:57 AM   #6
nhydra
Member
 
Registered: May 2006
Distribution: Fedora Core, FreeSpire, PC-BSD, NetBSD
Posts: 96

Rep: Reputation: 15
I would suggest PyGTK or Gtkmm. PyGTK is GTK+ binding for Python language and Gtkmm is for C++. They both are very powerful and easy to use.
 
  


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
LXer: Programming C++ GUIs with the wxWidgets Library LXer Syndicated Linux News 0 09-18-2006 01:54 AM
GUIs besides X? pentalive Linux - General 9 02-04-2006 02:31 AM
C Programming GUIs - What now? Jean Of mArc Programming 22 12-07-2005 09:21 AM
GUIs Jed Linux - Newbie 1 08-09-2003 04:14 PM

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

All times are GMT -5. The time now is 08:41 AM.

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