Results 1 to 4 of 4

Thread: GUI in C

  1. #1
    Join Date
    Aug 2013
    Beans
    1

    GUI in C

    How i will create GUI in c language with ubuntu.

  2. #2
    Join Date
    Dec 2010
    Beans
    Hidden!

    Re: GUI in C

    Thread moved to Programming Talk.


    404

  3. #3
    Join Date
    Aug 2011
    Location
    47°9′S 126°43W
    Beans
    2,172
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: GUI in C

    You use a GUI library such as GTK+. But honestly, if you ask this kind of very generic question, I doubt your current programming knowledge and Google skills are sufficient to the task...

  4. #4
    Join Date
    Apr 2007
    Location
    (X,Y,Z) = (0,0,0)
    Beans
    3,715

    Re: GUI in C

    Although you should take a look at what Google tells you about this topic, in summary, writing a GUI in C (or any other language) is done by using libraries dedicated to this task. There are a couple of them which are very widespread, e.g. Qt (C++, though) and Gtk. Search for the official Gtk or Qt tutorials to have a glimpse on how GUI code looks like and what kind of things are required to know in order to step into this kind of programming (really good understanding of the language, for instance). Some people use RAD tools like Glade or Qt Designer that allow you to create your GUI visually, and then have your code interpret it (you still have to code the behavior of each widget, though), but IMO it's better to start learning to write them by hand.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •