Thread: GUI toolkit for C - on windows

  1. #1
    Registered User
    Join Date
    Dec 2011
    Posts
    14

    GUI toolkit for C - on windows

    Any good / High Quality gui toolkits for ANSI C that can be used on windows?

    so far I've found these on wikipedia:

    >> GTK+.... Does not appear to use native widgets on windows. looks very basic / unprofessional on windows from the samples i've seen

    >> IUP.... Not sure about this one. Can't find any popular programs that use this.


    Any other options, or to library designers prefer not to use C when creating gui toolkits ?

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    [](){}(); manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    *nullptr
    Posts
    2,657
    Quote Originally Posted by The_KD View Post
    or to library designers prefer not to use C when creating gui toolkits ?
    That's true..to some extent, because GUI progrommang is very intuitively expressed with Object Oriented Programming.
    While it is possible in C, the result is often cumbersome. (If you learn Gtk, you'll see what I mean.)

    With C++, part of that problem is solved...but some things remain cumbersome(Qt's moc..for example) because of the dynamic nature of the requirements..

  4. #4
    Registered User Annonymous's Avatar
    Join Date
    Apr 2011
    Location
    Jackson, New Jersey, United States
    Posts
    302
    Quote Originally Posted by manasij7479 View Post
    That's true..to some extent, because GUI progrommang is very intuitively expressed with Object Oriented Programming.
    While it is possible in C, the result is often cumbersome. (If you learn Gtk, you'll see what I mean.)

    With C++, part of that problem is solved...but some things remain cumbersome(Qt's moc..for example) because of the dynamic nature of the requirements..
    I love the GTK toolkit and do not find it be cumbersome. Coming from C, I found it to be very sleek and super easy to use! Maybe because I have no OO experience or being that I am a Linux user and this specific toolkit is more for Linux users?

  5. #5
    Registered User
    Join Date
    Jul 2012
    Posts
    37
    you should try AutoIt

  6. #6
    Registered User
    Join Date
    May 2012
    Location
    Arizona, USA
    Posts
    948
    AutoIt is not a GUI toolkit, AFAICT. It looks like an automatic button pusher type of program (which is needed only on systems that don't have good scripting capabilities in the first place, by the way).

  7. #7
    Registered User
    Join Date
    Jul 2012
    Posts
    37
    kd

    how are ya

    If you haven't already heard of the autoit form designer
    I believe it went by the name of koda
    fabulous tool
    creates gui and converts the koda
    this is not a joke
    its windows based
    compiles
    allows segments of code
    enables designer functions and so on

    there are advantages and disadvantages of using autoIt
    1 its easy to learn
    2 free code is sometimes to accessible
    3
    Last edited by AutoIt Addict; 07-21-2012 at 02:13 PM.

  8. #8
    Registered User
    Join Date
    Dec 2011
    Posts
    14
    I checked out the wikipedia link above, the only 2 options for C programming on windows are GTK+ and IUP.

    1. GTK seems a bit bulky and requires that you distribute your executable with loads of DLL dependencies.
    2. IUP is much smaller and seems to have a more liberal license meaning that you can statically link it to your executable. However, the widget set seems small / limited and I can't seem to find any popular programs that use it

    AutoIt mentioned above does not appear to be a toolkit. Its just a freeware app for automating tasks on windows - like simulating mouse movements. Its not a C programming library.

    Any suggestions would be helpful - programming the windows API just to create a gui doesn't seem like much fun.

  9. #9
    Registered User
    Join Date
    May 2009
    Posts
    4,183
    I thought about learning SDL; not tried learning it yet. Simple DirectMedia Layer - Wikipedia, the free encyclopedia

    I know little more that what on the wiki page.

    Tim S.
    "...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.." Bill Bryson

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Which Gui toolkit should I use.
    By freiza in forum Windows Programming
    Replies: 0
    Last Post: 05-16-2012, 01:29 PM
  2. Gui programming without any toolkit
    By AlfaOmega08 in forum Linux Programming
    Replies: 2
    Last Post: 11-12-2010, 12:29 PM
  3. Best widget toolkit?
    By TriKri in forum C++ Programming
    Replies: 5
    Last Post: 03-25-2010, 01:10 PM
  4. GUI toolkit for C... which one?
    By JBull in forum C Programming
    Replies: 8
    Last Post: 12-04-2007, 12:44 PM
  5. Using VC Toolkit 2003
    By Noobwaker in forum Windows Programming
    Replies: 8
    Last Post: 03-13-2006, 07:33 AM

Tags for this Thread