Go Back   AnandTech Forums > Software > Programming

Forums
· Hardware and Technology
· CPUs and Overclocking
· Motherboards
· Video Cards and Graphics
· Memory and Storage
· Power Supplies
· Cases & Cooling
· SFF, Notebooks, Pre-Built/Barebones PCs
· Networking
· Peripherals
· General Hardware
· Highly Technical
· Computer Help
· Home Theater PCs
· Consumer Electronics
· Digital and Video Cameras
· Mobile Devices & Gadgets
· Audio/Video & Home Theater
· Software
· Software for Windows
· All Things Apple
· *nix Software
· Operating Systems
· Programming
· PC Gaming
· Console Gaming
· Distributed Computing
· Security
· Social
· Off Topic
· Politics and News
· Discussion Club
· Love and Relationships
· The Garage
· Health and Fitness
· Merchandise and Shopping
· For Sale/Trade
· Hot Deals with Free Stuff/Contests
· Black Friday 2013
· Forum Issues
· Technical Forum Issues
· Personal Forum Issues
· Suggestion Box
· Moderator Resources
· Moderator Discussions
   

View Poll Results: What's your favorite GUI API?
The MS .NET API and/or Mono 10 50.00%
Some pre-.NET Windows API 1 5.00%
Java Swing and/or AWT 1 5.00%
QT 7 35.00%
TCL/TK 1 5.00%
WxWidgets 0 0%
Shoooes! 0 0%
Something else? 0 0%
Voters: 20. You may not vote on this poll

Reply
 
Thread Tools
Old 01-15-2013, 05:30 PM   #1
Ken g6
Elite Member
 
Ken g6's Avatar
 
Join Date: Dec 1999
Location: Colorado
Posts: 8,604
Default Best GUI programming/scripting system?

To go along with the Best Programming and Scripting Language thread, I'd like to know what everyone uses to create GUIs. This is for Windows or cross-platform desktop applications; I'd like to specifically exclude web apps.

I've personally only had success with two GUI platforms aside from web apps: Visual Basic 3.0 and Java. I think I succeeded with Java where I failed with other systems because I need:

- Control documentation: What are the various control objects and how do I use them? Java has very good Javadocs. VB3 had paper manuals.
- Layout documentation: How do you get control X to appear above control Y? What if the user resizes the window? Java has several layout forms you can use. They're kind of similar to the HTML DOM, but less complicated. VB3 had a drag-and-drop GUI layout system - simple, but inflexible.

So what do you all use? Or is everyone in here a command-line-only or web programmer?

Also, is there any particular programming language you use with your favorite API? Or is it language-agnostic?
__________________
Look for really BIG primes with TeAm AnandTech PrimeGrid!
Next race: August 12-14
Ken g6 is offline   Reply With Quote
Old 01-15-2013, 06:40 PM   #2
purbeast0
Lifer
 
purbeast0's Avatar
 
Join Date: Sep 2001
Posts: 35,881
Default

out all of those i've actually only used swing, so i'd have to say swing.

i do hate using gui builders though. only like building from scratch.
purbeast0 is offline   Reply With Quote
Old 01-15-2013, 07:46 PM   #3
wrosecrans
Junior Member
 
Join Date: Mar 2011
Posts: 7
Default

Check out Qt. The documentation is solid, the layout system is much more practical that Swing, and much easier to make use of than Win32. IMHO, stick with the classic "Widgets" system rather than focusing on the new QML stuff for doing Desktop apps. It's not as modern, but for normal GUI apps where you don't need wacky richness animating all over everything, it's quite useful.
wrosecrans is offline   Reply With Quote
Old 01-15-2013, 07:51 PM   #4
postmortemIA
Diamond Member
 
postmortemIA's Avatar
 
Join Date: Jul 2006
Location: Midwest USA
Posts: 6,363
Default

Yep, after dealing with managed stuff, Qt appears to be the most balanced option. It is not managed, so it is possible to write well performing applications. Since it has been around for long time, it has matured well. Provided libraries and documentation cover pretty much anything developer would need.
__________________
D1. Win7 x64 i7-3770 on Z77, HD7850, 2707WFP, 840, X-Fi D2. Win7 x64 E8400 on P35
L1. OSX 10.9 rMBP 13 L2. Vista x86 E1505
M. Galaxy S4

postmortemIA is offline   Reply With Quote
Old 01-15-2013, 08:21 PM   #5
Jodell88
Diamond Member
 
Jodell88's Avatar
 
Join Date: Jan 2007
Location: Salamandastron
Posts: 6,534
Default

I vote for QT as well. While most of the applications I use on a daily basis use GTK, I can never get my head around it.
__________________
“Defend the weak, protect both young and old, never desert your friends. Give justice to all, be fearless in battle and always ready to defend the right." - The law of Badger Lords
Jodell88 is offline   Reply With Quote
Old 01-15-2013, 11:28 PM   #6
Leros
Lifer
 
Leros's Avatar
 
Join Date: Jul 2004
Location: Austin, TX
Posts: 21,369
Default

I've only used Java and C# for creating desktop GUIs. I very much preferred using C# with WPF and XAML.

The last real desktop program I wrote used a mix of C# and Java. C# for the UI and Java for everything else.
Leros is offline   Reply With Quote
Old 01-16-2013, 09:22 AM   #7
Munashiimaru
Junior Member
 
Join Date: Jan 2013
Posts: 23
Default

I like c# (.net) a lot. Similar syntax to java (I like most of the differences a little better), but much better IDE (VS vs Eclipse/Netbeans), slightly better underlying framework, at least as good internal documentation, and decent external (MSDN library is a little worse than java's API documention in my opinion although it tries to be more fleshed out so sometimes it can be more useful). I despise working with any sort of VB.

Only problem is windows only.

Most of my work is web apps, but I've done some windows gui stuff in the past.
Munashiimaru is offline   Reply With Quote
Old 01-17-2013, 09:36 PM   #8
nikomaster
Junior Member
 
Join Date: Jan 2013
Posts: 3
Default

I was a Visual C programmer, but migrated to Qt I feel in love with it. Amazing frame work, fast and easy to learn.
nikomaster is offline   Reply With Quote
Old 01-17-2013, 10:44 PM   #9
Ken g6
Elite Member
 
Ken g6's Avatar
 
Join Date: Dec 1999
Location: Colorado
Posts: 8,604
Default

Huh, Qt would probably have been my last choice. I'd never really looked into it - I guess because it was made by a company named Trolltech. But it sure does look nice. Thanks!
__________________
Look for really BIG primes with TeAm AnandTech PrimeGrid!
Next race: August 12-14
Ken g6 is offline   Reply With Quote
Old 01-18-2013, 01:56 AM   #10
mv2devnull
Senior Member
 
Join Date: Apr 2010
Posts: 766
Default

They were Norwegian, and thus refer to Norse mythology rather than forum users.
http://en.wikipedia.org/wiki/Troll

I'm biased, because Qt is the only toolkit that I have used for GUI; I was working in a project that had to compile on IRIX, Linux, Windows, and Mac. Qt had been chosen early on, before it had any IDE integration, UI-designer, etc.
mv2devnull is online now   Reply With Quote
Reply

Thread Tools

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 On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 05:20 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.