Results 1 to 8 of 8
I know I was asking about bash a couple days ago, but I've been dabbling in C++ for a while now. Anyways, I'm getting to the part of my tutorial ...
- 05-20-2011 #1Just Joined!
- Join Date
- Nov 2010
- Location
- Alaska
- Posts
- 55
C++ gui?
I know I was asking about bash a couple days ago, but I've been dabbling in C++ for a while now. Anyways, I'm getting to the part of my tutorial (from cplusplus.com) that uses classes, and I can sense some GUI fun coming up, but I don't know much about programing GUIs. I skimmed ahead in the tutorial, and I'm on the part about (de)constructors, with overloading, adding files, namespaces, and a few of the more complex ideas afterwards.
More to the point, I was wondering if someone could help push me in the right direction on finding C++ GUI stuff. Also, I'd perfer to work straight from a text editor, but I'm not sure if that's possible or not. If not, think you could show me a program that works on Knoppix for it?
Thanks in advance.Last edited by MisterDood; 05-20-2011 at 01:18 AM. Reason: used the word "anyways" about 5 times on accident.
- 05-20-2011 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
Qt and/or GTK+
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 05-21-2011 #3Just Joined!
- Join Date
- Nov 2010
- Location
- Alaska
- Posts
- 55
- 05-22-2011 #4Just Joined!
- Join Date
- May 2011
- Posts
- 44
Don't forget Wx Widgets. Though it is not as well documented as either Qt or GTK+, I like it. Also it is designed to be portable.
Qt, GTK+, Wx, are all frameworks from which you build your guis... You define the windows etc pragmatically. The way you asked your question makes me think you are looking for a GUI GUI builder... (Al la visual c++) but the kate reference confuses me.Are those my only options and is there any way I can make GUIs from my already installed text editor?
Can you maybe clarify what you mean?
- 05-22-2011 #5
- 05-26-2011 #6Just Joined!
- Join Date
- May 2011
- Posts
- 44
Haha, duly noted.
I do believe that Tcl/Tk and GTK+ are both older than Wx. (Well, I know for a fact that Tcl/Tk is older than Wx but am unsure about GTK+... I guess I could google... but what's the fun in speculating
FYI, one of my favorite editors (PADRE for Perl) is written in with WxWidgets.
- 05-27-2011 #7Just Joined!
- Join Date
- Nov 2010
- Location
- Alaska
- Posts
- 55
- 06-01-2011 #8Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
2 B's eh? My folks would have had me in summer school for sure if I got more that one B in a semester!
Ah well, that's what happens when you dad is a physicist!
The answer to your question is "yes". Tool kits like Wx, Qt, GTK, et al usually let you program directly to their API's and/or class libraries. Most of them have GUI tools to layout your windows and forms, generating the basic code needed to implement them, which you can then modify, enable callbacks, etc. However, that is more as a convenience and speed-up tool. I find that such tools help me to understand some of the subtleties of the tool kit by examining the generated code.Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote
