View previous topic :: View next topic |
Author |
Message |
e-nigma n00b
Joined: 29 Dec 2003 Posts: 42 Location: Luxembourg
|
Posted: Thu Mar 25, 2004 10:19 pm Post subject: Which gui for a noob C programer ? qt||tk/tcl||GTK+|| Gnome |
|
|
I've been programming in C for about half a year now, and I'm interested in making small gui programs. But actually Idon't know which gui to choose. I don't nee a very performant one, but it schould not be to difficult to programm it.
Could you tell me your preferences, and why you are using them ? _________________ 2B||(!2B) - that's the question. |
|
Back to top |
|
|
xg0blin Tux's lil' helper
Joined: 12 Feb 2004 Posts: 106
|
Posted: Thu Mar 25, 2004 10:32 pm Post subject: |
|
|
tcl/tk is really freaking simple, but it uses an interpereter, and is pretty slow, though it does come with cool extensions, like gltk if you wanted to use opengl.
qt is also simple, and free for use unless you want to use it commercially.
gtk isn't too hard and I believe it's totally free, unlike qt
wxwindows is easy, powerful and also free.
If I were you, I'd choose probably gtk, and if you wanted to be different you could use wxwindows.
Perhaps you should learn tcl/tk scripting to learn the basics of GUI programming, and then move onto one of the others, being that scripting in tk is as simple as it can possibly get. |
|
Back to top |
|
|
shm Advocate
Joined: 09 Dec 2002 Posts: 2380 Location: Atlanta, Universe
|
Posted: Thu Mar 25, 2004 10:42 pm Post subject: |
|
|
i'd say qt.. it is C++, unlike gtk and tk, and easier to learn than wxWindows and more mature than gtk's C++ bindings: gtkmm. |
|
Back to top |
|
|
shm Advocate
Joined: 09 Dec 2002 Posts: 2380 Location: Atlanta, Universe
|
Posted: Thu Mar 25, 2004 10:43 pm Post subject: |
|
|
xg0blin wrote: | qt is also simple, and free for use unless you want to use it commercially. |
qt is GPL and commercial dual licensed, which means that qt is completely free for non-proprietary applications and costs money for propietary applications. There is also a non-commercial version for Windows.
Notice the difference between propietary and commercial; there is quite a difference. |
|
Back to top |
|
|
Fitzsimmons Guru
Joined: 01 Jan 2003 Posts: 415 Location: Waterloo, Ontario, Canada
|
Posted: Fri Mar 26, 2004 3:02 am Post subject: |
|
|
I like curses A LOT. Very nice to program in. |
|
Back to top |
|
|
charlieg Advocate
Joined: 30 Jul 2002 Posts: 2149 Location: Manchester UK
|
Posted: Fri Mar 26, 2004 3:28 am Post subject: |
|
|
Use Gtk especially because you're using C. _________________ Want Free games?
Free Gamer - open source games list & commentary
Open source web-enabled rich UI platform: Vexi |
|
Back to top |
|
|
charlieg Advocate
Joined: 30 Jul 2002 Posts: 2149 Location: Manchester UK
|
Posted: Fri Mar 26, 2004 3:28 am Post subject: |
|
|
Oh, and also because you can use Glade with Gtk which makes GUI creation idiotically simple once you understand how Glade/Gtk lays out widgets. (Which is nothing a few minutes playing with Glade won't teach you.) _________________ Want Free games?
Free Gamer - open source games list & commentary
Open source web-enabled rich UI platform: Vexi |
|
Back to top |
|
|
far Guru
Joined: 10 Mar 2003 Posts: 394 Location: Stockholm, Sweden
|
Posted: Fri Mar 26, 2004 10:30 am Post subject: |
|
|
shm wrote: | more mature than gtk's C++ bindings: gtkmm. |
Gtkmm is perfectly mature, and very nice to work with. _________________ The Porthole Portage Frontend |
|
Back to top |
|
|
benguru Tux's lil' helper
Joined: 19 Feb 2004 Posts: 125
|
|
Back to top |
|
|
Flammie Retired Dev
Joined: 02 Jun 2003 Posts: 633 Location: Dublin, Ireland
|
Posted: Sat Mar 27, 2004 1:16 pm Post subject: |
|
|
Bah, just use plain xlib and you'll have total control over everything! |
|
Back to top |
|
|
Gil-galad55 Tux's lil' helper
Joined: 02 Feb 2004 Posts: 101
|
Posted: Sat Mar 27, 2004 2:03 pm Post subject: |
|
|
Programming with straight X11 calls is about as much fun as gouging your eyes out. _________________ a^2 + b^2 = c^2
"To strive, to seek, to find, and not to yield." Tennyson |
|
Back to top |
|
|
|