Thread: Developing GUI app with C

  1. #1
    Registered User
    Join Date
    Oct 2008
    Posts
    1

    Developing GUI app with C

    Hi to everybody, this happen to be my first post here and I`m hoping for good answers.
    I am very new in C, is GUI application possible in C? I`m coming from python, I have used the Tkinter and pyGTK for GUI in python. Most all the GUI APIs are written in C++ because of the OO structure.

    If it is pssible just point me to small tutorial on it, but i`m not using it yet, I have to master the C syntax then later I will start real GUI applications.

  2. #2
    Ex scientia vera
    Join Date
    Sep 2007
    Posts
    477
    You can use the cross-platform GTK, or the Win32 API for windows.
    "What's up, Doc?"
    "'Up' is a relative concept. It has no intrinsic value."

  3. #3
    spurious conceit MK27's Avatar
    Join Date
    Jul 2008
    Location
    segmentation fault
    Posts
    8,300
    I've been learning gtk+ 2.0 in C (it's implimented in C, C++, C#, Perl, Python, PHP, Java, and Ruby) and think it's great. I don't know how popular it is on windows, altho a lot of the people on www.gtkforums.com seem to be windows users. You can have a look at my latest project too, it needs updating but it works.

    Of course, my word might not be worth much as the only the GUI stuff I've done before this was in perl/Tk (you did python?). gtk+ 2.0 seems trickier than tk because there's more to it.
    C programming resources:
    GNU C Function and Macro Index -- glibc reference manual
    The C Book -- nice online learner guide
    Current ISO draft standard
    CCAN -- new CPAN like open source library repository
    3 (different) GNU debugger tutorials: #1 -- #2 -- #3
    cpwiki -- our wiki on sourceforge

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Developing GUI objects in C - advice needed
    By officedog in forum C Programming
    Replies: 14
    Last Post: 10-31-2008, 03:30 PM
  2. Kickstart me for GUI app development!
    By xuftugulus in forum Linux Programming
    Replies: 12
    Last Post: 02-27-2008, 01:15 AM
  3. Adding custom GUI to a DirectX 9 App
    By X PaYnE X in forum Game Programming
    Replies: 0
    Last Post: 09-01-2005, 05:34 AM
  4. Simple GUI for console app (How?)
    By Bill 101 in forum C Programming
    Replies: 3
    Last Post: 11-15-2002, 03:16 PM
  5. GUI App Question ??
    By aumfc in forum Windows Programming
    Replies: 9
    Last Post: 10-17-2002, 02:56 AM