Gamingforce Interactive Forums
85239 35211

Go Back   Exploding Garrmondo Weiner Interactive Swiss Army Penis > Garrmondo Network > Help Desk

Notices

Welcome to the Exploding Garrmondo Weiner Interactive Swiss Army Penis.
GFF is a community of gaming and music enthusiasts. We have a team of dedicated moderators, constant member-organized activities, and plenty of custom features, including our unique journal system. If this is your first visit, be sure to check out the FAQ or our GFWiki. You will have to register before you can post. Membership is completely free (and gets rid of the pesky advertisement unit underneath this message).


(C++) GUI Programming
Reply
 
Thread Tools
ManifestDestiny
Delicious Red


Member 356

Level 4.22

Mar 2006


Reply With Quote
Old Dec 20, 2006, 08:31 PM Local time: Dec 20, 2006, 05:31 PM #1 of 3
(C++) GUI Programming

(Yeah you heard me right, Justin Long. What's up now.)


I'm almost out of college, I've been programming for God only knows how many years, and I have no idea how to make a simple GUI. I'm referring specifically to C/C++ toolkits, by the way; I haven't used Visual Basic in a long time, and though I really don't mind re-learning that language to write a little program I'd rather find something that I can use in the future under Linux.

So can anyone point me in the right direction? Ideally, there would be some simple to use library out there that's cross-platform, but I either haven't heard of it, haven't given it a try, or have no idea where to get started. Here is what I know of, so far:

-Qt
I used libQGLViewer before, which worked fine for my purposes, but I've got no idea how to actually use Qt itself. The open source Windows version comes with Qt Designer, which lets you design a GUI with a good 'ol drag-and-drop interface and save it as a .ui file. Except, uh... I have no idea what to do with that. I tried Googling around for a simple tutorial, but nothing. I have a sinking feeling that the only way I'm going to find out on my own is looking through the documentation for a class that has a constructor that expects a .ui file....

-GLUI
I spent a few hours today trying to get this working. GUIs are ugly as hell, but I don't really mind as long as they work. In general, this would probably be the library I use, but for the application I'm trying to make at the moment, I don't want any GL functionality; I just want a simple form with a few drop down boxes, buttons, etc. You might be able to initialize a window that does that without having to handle an OpenGL window as well, but no idea how to do that.

-wxWidgets
This is what I'm going to try next. If it's as simple as it seems on the website, it could save me a lot of headache.

-GTK
I don't know much about this one besides the name. GIMP Toolkit? Never really liked the GIMP.




So does anyone have any experience with any of these? GUI programming in general? Portability, ease of use, yadda yadda? Comments are welcome.

Most amazing jew boots
Originally Posted by BroadwaySoprano
SOMETIMES A WOMAN JUST WANTS A FUCKING STEAK.
Little Shithead
prettiest miku


Member 90

Level 33.52

Mar 2006


Reply With Quote
Old Dec 20, 2006, 08:39 PM #2 of 3
Originally Posted by ManifestDestiny
-GTK
I don't know much about this one besides the name. GIMP Toolkit? Never really liked the GIMP.
It's more than that, though.

GTK+ is used by both GNOME and Xfce (moreso in GNOME than Xfce) for UIs.

So, if you're going to make an application for GNOME users (or have it blend into the GNOME environment,) you're going to have to use GTK+.

There's nowhere I can't reach.
Arainach
Sensors indicate an Ancient Civilization


Member 1200

Level 26.94

Mar 2006


Reply With Quote
Old Dec 22, 2006, 10:08 AM #3 of 3
GTK+ is rather nice to work with, plus it compiles under both UNIX and Windows, which is a big plus. I've worked with FLTK before, and while its libraries are some of the easiest to extend and work with, they're pretty limited and they look like shit. I don't reccomend it.

This thing is sticky, and I don't like it. I don't appreciate it.
Reply

Thread Tools

Exploding Garrmondo Weiner Interactive Swiss Army Penis > Garrmondo Network > Help Desk > (C++) GUI Programming

Forum Jump


All times are GMT -5. The time now is 04:02 PM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.