Forum     

Go Back   Digit Technology Discussion Forum > Software > Programming
Register FAQ Calendar Mark Forums Read

Programming The destination for developers - C, C++, Java, Python and the lot


Reply
 
LinkBack Thread Tools Display Modes
Old 06-04-2011, 01:58 PM   #1 (permalink)
BIOS Terminator
 
nims11's Avatar
 
Join Date: Apr 2008
Location: Ranchi
Posts: 816
Default want to learn GUI stuffs


i want to learn about any GUI library which i can use to give GUI to my C/C++ programs. I don't want to go advanced and i will be happy with implementing simple GUIs. also i would prefer a library that i can use with other languages too as i will be learning java or python later this summer. also i want a library which works with both windows and Linux.

only library i know about is GTK. i have also heard it be used under windows. what are you opinions about it?
nims11 is online now   Reply With Quote
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 06-04-2011, 02:09 PM   #2 (permalink)
Resistance is Futile.
 
coolpcguy's Avatar
 
Join Date: Oct 2007
Location: Borg Cube
Posts: 534
Default Re: want to learn GUI stuffs

Quote:
i want to learn about any GUI library which i can use to give GUI to my C/C++ programs.
Look at Qt. Qt has bindings for most languages - including Python ( via PyQt - not sure about Java).
__________________
Super User ♦ Moderator | chip/tech2 forum Mod | About me

Gadgets: HP Envy 14 | Google Cr-48 | D-Link DGL 4500 | Denon AH-C360 | Fiio E5 | Galaxy SII GT-I9100 | Dell U2312HM
coolpcguy is offline   Reply With Quote
Old 06-04-2011, 03:29 PM   #3 (permalink)
God of Mistakes...
 
Garbage's Avatar
 
Join Date: Dec 2005
Location: Pune, Maharashtra
Posts: 1,923
Default Re: want to learn GUI stuffs

I think GTK and QT are the best options you have.

GTK+ - About
Qt - Cross-platform application and UI framework — Qt - A cross-platform application and UI framework

For Java, you will have to learn Swing (which I find quite ugly).
Trail: Creating a GUI With JFC/Swing (The Java™ Tutorials)
__________________
Registered Linux User #468778
----------------------------------
http://twitter.com/_Garbage_
Garbage is offline   Reply With Quote
Old 06-04-2011, 03:35 PM   #4 (permalink)
Alpha Geek
 
mohityadavx's Avatar
 
Join Date: Nov 2010
Location: Gurgaon (Delhi NCR)
Posts: 574
Default Re: want to learn GUI stuffs

though not a library u can use Visual Basic its easy and fast to learn
__________________
XPS 15 | Infibeam Pi |LG P500 |GoGear SA52XX | Sony PS2 | Sony H55 | Sennheiser CX 180 , MX760

For Free Legal Documentation - Rent Agreement/RTI etc
KAGZAAT
www.bleedlaw.com For Law student & aspirant
mohityadavx is offline   Reply With Quote
Old 06-04-2011, 09:31 PM   #5 (permalink)
BIOS Terminator
 
nims11's Avatar
 
Join Date: Apr 2008
Location: Ranchi
Posts: 816
Default Re: want to learn GUI stuffs

Quote:
Originally Posted by Garbage View Post
according to it GTK can be used with JAVA, GTK+ - Language Bindings
nims11 is online now   Reply With Quote
Old 06-04-2011, 11:05 PM   #6 (permalink)
God of Mistakes...
 
Garbage's Avatar
 
Join Date: Dec 2005
Location: Pune, Maharashtra
Posts: 1,923
Default Re: want to learn GUI stuffs

Quote:
Originally Posted by mohityadavx View Post
though not a library u can use Visual Basic its easy and fast to learn
Visual Basic doesn't run on Linux. Does it?
__________________
Registered Linux User #468778
----------------------------------
http://twitter.com/_Garbage_
Garbage is offline   Reply With Quote
Old 06-04-2011, 11:09 PM   #7 (permalink)
Sami Hyypiä, LFC legend
 
Liverpool_fan's Avatar
 
Join Date: Jun 2007
Location: Нью-Дели
Posts: 2,138
Default Re: want to learn GUI stuffs

Well for C++, you have choice of Gtkmm, Qt, wxwidgets, among many others. While GUI Programming isn't exactly in my domain, but I can recommend you a useful link to get you started - ZetCode, tutorials for programmers
__________________
Experience true education in Computer Science - http://www.udacity.com | http://www.coursera.org

Spoiler:
Read before asking / messaging any moderator for any query: FAQ + answers for new members

Read all the sticky threads before asking any type of query. Most basic questions are answered in those.
Don't use forum for chatting. Visit http://webchat.freenode.net/?channels=krow, enter nick and connect.
Liverpool_fan is offline   Reply With Quote
Old 07-04-2011, 07:55 AM   #8 (permalink)
BIOS Terminator
 
nims11's Avatar
 
Join Date: Apr 2008
Location: Ranchi
Posts: 816
Default Re: want to learn GUI stuffs

thanks to all! @liverpool_fan the link you gave is very useful
GTK+ seems good to me and it looks easy to learn. i will start with the basics of both GTK and QT and then decide which one should i go forward with.
nims11 is online now   Reply With Quote
Old 07-04-2011, 09:36 AM   #9 (permalink)
Alpha Geek
 
mohityadavx's Avatar
 
Join Date: Nov 2010
Location: Gurgaon (Delhi NCR)
Posts: 574
Default Re: want to learn GUI stuffs

Quote:
Originally Posted by Garbage View Post
Visual Basic doesn't run on Linux. Does it?
Wine maybe of some help
__________________
XPS 15 | Infibeam Pi |LG P500 |GoGear SA52XX | Sony PS2 | Sony H55 | Sennheiser CX 180 , MX760

For Free Legal Documentation - Rent Agreement/RTI etc
KAGZAAT
www.bleedlaw.com For Law student & aspirant
mohityadavx is offline   Reply With Quote
Old 07-04-2011, 12:37 PM   #10 (permalink)
Resistance is Futile.
 
coolpcguy's Avatar
 
Join Date: Oct 2007
Location: Borg Cube
Posts: 534
Default Re: want to learn GUI stuffs

Quote:
Wine maybe of some help
Mono, if you're talking about VB.net
__________________
Super User ♦ Moderator | chip/tech2 forum Mod | About me

Gadgets: HP Envy 14 | Google Cr-48 | D-Link DGL 4500 | Denon AH-C360 | Fiio E5 | Galaxy SII GT-I9100 | Dell U2312HM
coolpcguy is offline   Reply With Quote
Old 07-04-2011, 05:47 PM   #11 (permalink)
Sami Hyypiä, LFC legend
 
Liverpool_fan's Avatar
 
Join Date: Jun 2007
Location: Нью-Дели
Posts: 2,138
Default Re: want to learn GUI stuffs

Quote:
Originally Posted by mohityadavx View Post
Wine maybe of some help
Mate he wants to target BOTH Linux and Windows, and you are suggesting him an outdated and crappy Visual Basic and then going on with "Linux users can run it in WINE", that's a pretty awful advice to say to least. No offence.
__________________
Experience true education in Computer Science - http://www.udacity.com | http://www.coursera.org

Spoiler:
Read before asking / messaging any moderator for any query: FAQ + answers for new members

Read all the sticky threads before asking any type of query. Most basic questions are answered in those.
Don't use forum for chatting. Visit http://webchat.freenode.net/?channels=krow, enter nick and connect.
Liverpool_fan is offline   Reply With Quote
Old 07-04-2011, 08:20 PM   #12 (permalink)
gkbhat.blogspot.com
 
Join Date: Apr 2008
Location: Mangalore/Bangalore
Posts: 103
Default Re: want to learn GUI stuffs

@nims11: I suggest you use Qt. The main advantage is it is Object Oriented. It will help you grasp OO concepts better. You can start with Qt creator-it is a easy drag and drop way to create widgets.
__________________
blogging at http://gkbhat.blogspot.com
gk2k is offline   Reply With Quote
Old 08-04-2011, 03:44 PM   #13 (permalink)
Alpha Geek
 
Join Date: Jan 2007
Location: In your hearts
Posts: 828
Default Re: want to learn GUI stuffs

Qt is the best, I have programmed many apps in PyQt4 and Python. Currently, I am learning GTK+ in C. That's also good. QtJambi is Java bindings for Qt. GTK+ is also available for Java, known as java-gnome.
With Qt you can program GUIs in C++/Python/Java/C#/Visual Basic/Ruby etc. Qt is not available for C. GTK+ is available for C and for others too.
Another competitor is wxWidgets, it is good too. It is also available for C++/Python etc. but not for C.
These three are closest competitor.
One thing you should note is
Prefer GTK+ if you are to do only Linux Programming. wxWidgets if you are to do only Windows programming. And Qt is for both. Although all these three are cross-platform, but still I would recommend that because GTK+ has created for Linux, wxWidgets for Windows and Qt came when Linux has just stepped in.
I would recommend Qt if you want to concentrate in C++/Python/Java and GTK+ if you want to concentrate in C.
Qt is not a widget toolkit but its a full framework. Each of them has its own advantage and disadvantage. But I think Qt wins.
abhijangda is online now   Reply With Quote
Old 08-04-2011, 05:16 PM   #14 (permalink)
BIOS Terminator
 
nims11's Avatar
 
Join Date: Apr 2008
Location: Ranchi
Posts: 816
Default Re: want to learn GUI stuffs

^^ seeing you after a gap! nyways thanks for the reply!
i went through the first 2-3 sections of the both qt and GTK+ tutorial from the link liverpool_fan posted. both seemed good and i was quite confused with what shall i proceed with. i browsed about both qt and GTK for support, tools, documentation and stuffs lyk that and my inclination started shifting from GTK+ to Qt and after reading the last two comments, i think i will be going forward with Qt!
nims11 is online now   Reply With Quote
Old 09-04-2011, 12:40 PM   #15 (permalink)
Alpha Geek
 
Join Date: Jan 2007
Location: In your hearts
Posts: 828
Default Re: want to learn GUI stuffs

Quote:
Originally Posted by nims11 View Post
^^ seeing you after a gap! nyways thanks for the reply!
i went through the first 2-3 sections of the both qt and GTK+ tutorial from the link liverpool_fan posted. both seemed good and i was quite confused with what shall i proceed with. i browsed about both qt and GTK for support, tools, documentation and stuffs lyk that and my inclination started shifting from GTK+ to Qt and after reading the last two comments, i think i will be going forward with Qt!
Yeah, I was quite busy for some time.
Do not try to learn 2 toolkits at same time, it will leads to confusion only. If you think you should do Qt then go with it. But one thing you should remember is that GUI programming heavily depends on Object Oriented programming, so your OOP should be strong.
Also for beginners there are very good tutorials on http://zetcode.com.
Good Luck!!
abhijangda is online now   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by Charan
- by Sarath
- by clmlbx

Advertisement




All times are GMT +5.5. The time now is 12:25 AM.


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

Search Engine Optimization by vBSEO 3.3.2