Thread: GUIs

  1. #1
    Registered User
    Join Date
    May 2005
    Posts
    29

    GUIs

    Hi, I'm pretty new to C programming. I would like to get started with GUI programming, but I want something that can be used with both linux and windows. I've read some about tcl/tk but I think there is probably a better option. I understand there may not be a end all solution but, if that is the case, please explain some of the pros and cons. Any links, comments, or suggestions would help.

  2. #2
    FOX
    Join Date
    May 2005
    Posts
    188
    If you want to do cross-platform GUI programming in C, GTK+ is probably what you're looking for.
    http://www.gtk.org

  3. #3
    pronounced 'fib' FillYourBrain's Avatar
    Join Date
    Aug 2002
    Posts
    2,297
    there are other things too. Motif is ugly, but you can find it for both. Wine libraries are available for using plain ol windows programs on both. Of course there's always Java too.
    "You are stupid! You are stupid! Oh, and don't forget, you are STUPID!" - Dexter

  4. #4
    Registered User
    Join Date
    May 2005
    Posts
    29
    So, I understand gtk has libraries for both? How portable is it? Will the windows user have to install anything? Also I came accross this.
    http://www.wxwidgets.org/
    Im hoping gtk IS indeed very portable because it looks nice and has an interface builder. Anyway, thanks in advance.

  5. #5
    * Death to Visual Basic * Devil Panther's Avatar
    Join Date
    Aug 2001
    Posts
    768
    well... the fact is nothing is portable! so the windows user will have to install gtk on his system, or you install it for him!
    "I don't suffer from insanity but enjoy every minute of it" - Edgar Allen Poe

    http://www.Bloodware.net - Developing free software for the community.

  6. #6
    Registered User
    Join Date
    May 2005
    Posts
    22
    I've been experimenting with SDL recently. It's easy to learn the basics of creating a window, processing input, etc. from tutorials you can find on the site. Users will need to make sure they have SDL installed on their system.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C++ GUI's
    By StickyGoo in forum C++ Programming
    Replies: 7
    Last Post: 04-14-2006, 11:27 PM
  2. Best Language for GUIs?
    By thetinman in forum Windows Programming
    Replies: 4
    Last Post: 03-05-2006, 10:08 AM
  3. help (C or C++) gui's
    By johnc in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 07-02-2002, 11:17 PM
  4. Windows GUIs
    By Unregistered in forum C++ Programming
    Replies: 1
    Last Post: 12-02-2001, 08:21 AM
  5. How are cool looking GUI's made?
    By fatpotatohead in forum Windows Programming
    Replies: 9
    Last Post: 11-14-2001, 12:20 AM