Thread: A nice GUI in C

  1. #1
    Registered User
    Join Date
    Mar 2006
    Posts
    24

    A nice GUI in C

    I'm trying to find some information about making a nice GUI in c. I'd like to make frames and align my text and so on.

    Anyone knows a good resource ?

  2. #2
    Supermassive black hole cboard_member's Avatar
    Join Date
    Jul 2005
    Posts
    1,709
    What OS?
    You could always use a portable library such as wxWidgets or GTk+ (google them).
    Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.

    - Mike McShaffry

  3. #3
    Registered User Jaqui's Avatar
    Join Date
    Feb 2005
    Posts
    416
    Quote Originally Posted by ahluka
    What OS?
    You could always use a portable library such as wxWidgets or GTk+ (google them).
    those are both actually C++

    I haven't found any C based widgets myself, the functionality of gui widgets is better supported by C++
    Quote Originally Posted by Jeff Henager
    If the average user can put a CD in and boot the system and follow the prompts, he can install and use Linux. If he can't do that simple task, he doesn't need to be around technology.

  4. #4
    Matt Conway bobthebullet990's Avatar
    Join Date
    Nov 2005
    Location
    Cambridge
    Posts
    122

    C Gui

    The most simple pure C GUI you can design is to use "ncursors" ...there are various tutorials online you can do!!!

    However, this is more like DOS based GUI environments and its hard to do mouse interaction!!!!! BUT! Its a great startpoint!!!!

  5. #5
    Supermassive black hole cboard_member's Avatar
    Join Date
    Jul 2005
    Posts
    1,709
    Quote Originally Posted by Jaqui
    those are both actually C++

    I haven't found any C based widgets myself, the functionality of gui widgets is better supported by C++
    Whoops
    Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.

    - Mike McShaffry

  6. #6
    Registered User
    Join Date
    Feb 2006
    Posts
    8
    Well, gtk+ also works with C

  7. #7
    Registered User wintellect's Avatar
    Join Date
    Mar 2006
    Posts
    24
    Quote Originally Posted by srindom
    Well, gtk+ also works with C
    Indeed it does - even the examples are C based:
    http://www.gtk.org/tutorial/c58.html#SEC-HELLOWORLD

  8. #8
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227
    Quote Originally Posted by Jaqui
    those are both actually C++
    Actually, gtk+ is c:
    Quote Originally Posted by gtkmm faq
    Gtkmm is a c++ wrapper for gtk+.
    CProgramming FAQ
    Caution: this person may be a carrier of the misinformation virus.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Convert Windows GUI to Linux GUI
    By BobS0327 in forum Linux Programming
    Replies: 21
    Last Post: 11-27-2005, 04:39 AM
  2. .NET And GUI Programming :: C++
    By kuphryn in forum C++ Programming
    Replies: 4
    Last Post: 01-27-2002, 04:22 PM
  3. GUI Programming :: C++ Exclusive
    By kuphryn in forum C++ Programming
    Replies: 5
    Last Post: 01-25-2002, 03:22 PM
  4. C++: Reference Book, GUI, Networking & Beyond
    By kuphryn in forum C++ Programming
    Replies: 4
    Last Post: 11-10-2001, 08:03 PM
  5. GUI (Graphical User Interface) Help Needed
    By Unregistered in forum C++ Programming
    Replies: 1
    Last Post: 10-11-2001, 10:35 AM