GIDForums  

Go Back   GIDForums > Computer Programming Forums > Miscellaneous Programming Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 31-Dec-2005, 06:28
Paramesh's Avatar
Paramesh Paramesh is offline
Regular Member
 
Join Date: Sep 2005
Location: The Milky Way
Posts: 929
Paramesh is a jewel in the roughParamesh is a jewel in the roughParamesh is a jewel in the rough
Lightbulb

FLTK Vs GTK Vs Wxwidgets Vs Qt


Friends,

I want to learn a new GUI language, but i am confused over which one to go for.
FLTK? Or GTK? or Wxwidgets or Qt?

I want to make my application as portable as possible. (i mean i want to make the application run in all OS)

Please suggest me what to study or start with.
Also, suggest me a good IDE.

Thank You,
Best Regards,
Paramesh.
__________________

Don't walk in front of me, I may not follow.
Don't walk behind me, I may not lead.
Just walk beside me and be my friend.
  #2  
Old 01-Jan-2006, 12:44
crystalattice's Avatar
crystalattice crystalattice is offline
Aspiring author
 
Join Date: Apr 2004
Location: Japan (again)
Posts: 1,671
crystalattice is just really nicecrystalattice is just really nicecrystalattice is just really nicecrystalattice is just really nicecrystalattice is just really nice

Re: FLTK Vs GTK Vs Wxwidgets Vs Qt


What language are you going to write in? (I assume C/C++)

How elaborate of a GUI are you planning on creating? How extensive of a library will you require?

Do you want a "drag and drop" GUI creator or are you comfortable using an API and hand-coding the widgets?

Do you want an all-inclusive IDE (you can code your app and create the widgets in the same app) or do you just need something that will let you lay out the widgets so you can code in your own environment?
__________________
Start Programming with Python-A beginner's guide to programming and the Python language.

Interested in pen & paper role playing games from the "golden age" of gaming? Visit Old School Role-Playing Games
  #3  
Old 02-Jan-2006, 07:27
Paramesh's Avatar
Paramesh Paramesh is offline
Regular Member
 
Join Date: Sep 2005
Location: The Milky Way
Posts: 929
Paramesh is a jewel in the roughParamesh is a jewel in the roughParamesh is a jewel in the rough

Re: FLTK Vs GTK Vs Wxwidgets Vs Qt


Thank You C.

Yes. I am going to C/C++, but i am not sure about which one C or C++.

I need to create just a simple interface with some graphics, such as to display an Oscilloscope, pie chart, bar graph, etc..

I dont mind if it is Easy drag and drop implementation, or coding by hand. But i have to understand it completely, and it should be easy.
It should be somewhat similar to the C/C++ code, and not completely different like the MFC, or something.

If there is an All inclusive IDE is available, that is well and good.
But its not a must.

Above all, it should be platform independent. Thats the most important thing..

Thank You,
Best Regards,
Paramesh.

PS: Sorry for posting this in a wrong forum. May be the moderator should move this?
__________________

Don't walk in front of me, I may not follow.
Don't walk behind me, I may not lead.
Just walk beside me and be my friend.
  #4  
Old 02-Jan-2006, 22:33
WaltP's Avatar
WaltP WaltP is offline
Outstanding Member
 
Join Date: Feb 2004
Location: Midwest US
Posts: 3,435
WaltP is a name known to allWaltP is a name known to allWaltP is a name known to allWaltP is a name known to allWaltP is a name known to allWaltP is a name known to all

Re: FLTK Vs GTK Vs Wxwidgets Vs Qt


Quote:
Originally Posted by Paramesh
Thank You C.

Yes. I am going to C/C++, but i am not sure about which one C or C++.
If you can, don't limit yourself. Plan on both.

Quote:
Originally Posted by Paramesh
I need to create just a simple interface with some graphics, such as to display an Oscilloscope, pie chart, bar graph, etc..

I dont mind if it is Easy drag and drop implementation, or coding by hand. But i have to understand it completely, and it should be easy.
It should be somewhat similar to the C/C++ code, and not completely different like the MFC, or something.

If there is an All inclusive IDE is available, that is well and good.
But its not a must.
Can't help here.

Quote:
Originally Posted by Paramesh
Above all, it should be platform independent. Thats the most important thing..
Impossible. The same code will not run on Windows, Linux, Unix, MAC. Period. Rarely will you even find a single package that has versions for ALL OS's. The most you can do is find packages that are similar and write your own wrappers for the functions/controls you need. You might find a package that has been written for a couple OS's but probably not all of them.

The wrappers will convert your generic commands/methods/functions such as ButtonClicked(...) into the actual calls used by the packages themselves.
__________________

Definition: Politics
Latin, from
poly meaning many and
tics meaning blood sucking parasites
-- Tom Smothers
  #5  
Old 03-Jan-2006, 07:48
cable_guy_67's Avatar
cable_guy_67 cable_guy_67 is offline
Senior Member
 
Join Date: Oct 2004
Location: Florina, Greece
Posts: 1,112
cable_guy_67 is a jewel in the roughcable_guy_67 is a jewel in the roughcable_guy_67 is a jewel in the roughcable_guy_67 is a jewel in the rough

Re: FLTK Vs GTK Vs Wxwidgets Vs Qt


I apologize for the lateness of the response, I've been meaning to get at this since you posted it.

First off my General Impressions of Wxwidgets. Some programs I use/used work with Wxwidgets. I personally find this system very sluggish on my PIII laptop and cringe when I see something is using it. It looks like a nice system and perhaps this is not as much a problem with a more modern processor/graphic card. Code::Blocks uses this (a rather decent implementation) and I believe that ConText does also (my editor of choice even with the sluggishness). Code::Blocks is open source and therefore should be a good example (c++) of using Wxwidgets.

Now, to the one I suggest, FLTK.
The Fast Light Tool Kit (pronounced FullTick) is indeed a multiplatform UI library. For a simple app, you can create source that will compile, unmodified, for Win, Nix, OSX among others. This is accomplished by some non-standard implementations of things like dirent and others to handle the differences. Good examples of this can be seen in the clock demo in the test directory. Other good (crossplatform) examples include the browser for reading directories.

The code itself is C++ with a C'ish flavor. The standards for the FLTK library don't use parts of C++ that are not well supported by all compilers/platforms. Things like the STL and C++ strings are not used by the library. You can of course use them for your FLTK programs, they are just not used by the core. If you are comfortable with printf() and char* (and pointers in a very very heavy way) you will most likely be comfortable with FLTK.

Of course, since we have an FLTK Forum with some crazy guy who tries to answer questions, the help you get from there may be suspect.

Mark

EDIT:
Walt has a good point, cross platform is a touchy thing. Many (many many) things just don't work the same from platform to platform and you may have to use conditional compile statements on occasion. There are tons on examples in the source for some of the basics (dirent being a very popular one) to help with the curve. My point is, some of the trouble has been taken care of for you by the core developers.

Lastly, FLTK just put forth the 1.1.7rc snapshot that hopes to be the final 1.1.x release. Then the core developers will be moving on to the 2.0 line and the future. In my opinion that means that you could use FLTK for some time (moving from 1.1.x to 2.0 is not a horror, mostly just tedium) for your cross platform UI needs.

Mark
__________________

"A happy person is not a person in a certain set of circumstances, but rather a person with a certain set of attitudes."
--Hugh Downs

Stories from the NICU Blog
  #6  
Old 03-Jan-2006, 08:30
Paramesh's Avatar
Paramesh Paramesh is offline
Regular Member
 
Join Date: Sep 2005
Location: The Milky Way
Posts: 929
Paramesh is a jewel in the roughParamesh is a jewel in the roughParamesh is a jewel in the rough

Re: FLTK Vs GTK Vs Wxwidgets Vs Qt


Thank You Walt and Mark.

I'll take these into consideration, and I'll inform you once i finalize on this.

Best Regards,
Paramesh.
__________________

Don't walk in front of me, I may not follow.
Don't walk behind me, I may not lead.
Just walk beside me and be my friend.
  #7  
Old 17-Jan-2006, 17:08
cable_guy_67's Avatar
cable_guy_67 cable_guy_67 is offline
Senior Member
 
Join Date: Oct 2004
Location: Florina, Greece
Posts: 1,112
cable_guy_67 is a jewel in the roughcable_guy_67 is a jewel in the roughcable_guy_67 is a jewel in the roughcable_guy_67 is a jewel in the rough

Re: FLTK Vs GTK Vs Wxwidgets Vs Qt


Let me know if you end up going the Wxwidgets route. I tried to compile it from the sources (I wanted to compile code::blocks) and had no luck. The tales of woe seemed endless from the related forums as well. I'm sure this has changed drastically since then but I'm curious nonetheless.

Mark
__________________

"A happy person is not a person in a certain set of circumstances, but rather a person with a certain set of attitudes."
--Hugh Downs

Stories from the NICU Blog
  #8  
Old 21-Jan-2006, 08:18
dsmith's Avatar
dsmith dsmith is offline
Senior Member
 
Join Date: Jan 2004
Location: Utah, USA
Posts: 1,351
dsmith is a glorious beacon of lightdsmith is a glorious beacon of lightdsmith is a glorious beacon of lightdsmith is a glorious beacon of lightdsmith is a glorious beacon of light

Re: FLTK Vs GTK Vs Wxwidgets Vs Qt


I don't think that I am going to shock anyone with my suggestion, but I thought that I would weigh in all the same.

I have tried 3 of the 4 in your list, the one exception being Wxwidgets, mostly because of complexity. I was pretty sold on QT until I found FLTK. QT is extremely proffesional and creates a great product. FLTK may not have quite the polish, but offers flexibility like no other gui package I have seen.

Here is my list of FLTK advantages:
  • Simplicity - You can code FLTK by hand very easily. It is extremely straight forward. It comes with a pretty good layout manager (fluid), but to me the real strength comes from being able to understand and manipulate the code.
  • Flexibility - I found every other gui package to crimp my style. Any of you that know me realize that I have my own way of doing things and don't really conform to the status quo methods. I have been able to take FLTK and use it the way that I want to.
  • Portability - I only have experience with going from Linux to Windows, but the only problems I ever have involve the use of non-standard libraries that I have used. I really have written applications that I have been able to compile in both platforms with no modifications.
  • Size/Speed - I think that FLTK does conform to the K.I.S.S. principle. Compiled applications are quite small and run efficiently. Also, the code is compact and concise.

Anyway, you should look into all of them. Your application sounds perfect for FLTK. It is probably a personal choice, but you have my opinion FWIW.

Good luck!
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FLTK && fluid In Motion cable_guy_67 FLTK Forum 4 20-Mar-2008 03:52
[Tutorial] GUI programming with FLTK dsmith FLTK Forum 10 03-Oct-2005 15:41
Re: Derived FLTK Classes cable_guy_67 FLTK Forum 0 26-Jun-2005 20:07
FLTK with GLUT usmsci FLTK Forum 4 26-Nov-2004 16:21
Welcome to the FLTK Forums dsmith FLTK Forum 0 08-Sep-2004 06:58

Network Sites: GIDNetwork · GIDApp · GIDBlog · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 01:31.


vBulletin, Copyright © 2000 - 2014, Jelsoft Enterprises Ltd.