Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Which gui for a noob C programer ? qt||tk/tcl||GTK+|| Gnome
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
e-nigma
n00b
n00b


Joined: 29 Dec 2003
Posts: 42
Location: Luxembourg

PostPosted: Thu Mar 25, 2004 10:19 pm    Post subject: Which gui for a noob C programer ? qt||tk/tcl||GTK+|| Gnome Reply with quote

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
View user's profile Send private message
xg0blin
Tux's lil' helper
Tux's lil' helper


Joined: 12 Feb 2004
Posts: 106

PostPosted: Thu Mar 25, 2004 10:32 pm    Post subject: Reply with quote

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
View user's profile Send private message
shm
Advocate
Advocate


Joined: 09 Dec 2002
Posts: 2380
Location: Atlanta, Universe

PostPosted: Thu Mar 25, 2004 10:42 pm    Post subject: Reply with quote

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
View user's profile Send private message
shm
Advocate
Advocate


Joined: 09 Dec 2002
Posts: 2380
Location: Atlanta, Universe

PostPosted: Thu Mar 25, 2004 10:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
Fitzsimmons
Guru
Guru


Joined: 01 Jan 2003
Posts: 415
Location: Waterloo, Ontario, Canada

PostPosted: Fri Mar 26, 2004 3:02 am    Post subject: Reply with quote

I like curses A LOT. Very nice to program in.
Back to top
View user's profile Send private message
charlieg
Advocate
Advocate


Joined: 30 Jul 2002
Posts: 2149
Location: Manchester UK

PostPosted: Fri Mar 26, 2004 3:28 am    Post subject: Reply with quote

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
View user's profile Send private message
charlieg
Advocate
Advocate


Joined: 30 Jul 2002
Posts: 2149
Location: Manchester UK

PostPosted: Fri Mar 26, 2004 3:28 am    Post subject: Reply with quote

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
View user's profile Send private message
far
Guru
Guru


Joined: 10 Mar 2003
Posts: 394
Location: Stockholm, Sweden

PostPosted: Fri Mar 26, 2004 10:30 am    Post subject: Reply with quote

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
View user's profile Send private message
benguru
Tux's lil' helper
Tux's lil' helper


Joined: 19 Feb 2004
Posts: 125

PostPosted: Fri Mar 26, 2004 8:58 pm    Post subject: Gtk Reply with quote

Hi,
I just want to add another vote of GTK. It is in C, and look here for a lot of good GTK articles http://www-106.ibm.com/search/searchResults.jsp?searchType=1&searchSite=dW&query=gtk&searchScope=dW&Search.x=0&Search.y=0 Also if you use KDE, then use QT. If you use Gnome use GTK. I say that because it is nice to have an application start up quickly.[/url]
Back to top
View user's profile Send private message
Flammie
Retired Dev
Retired Dev


Joined: 02 Jun 2003
Posts: 633
Location: Dublin, Ireland

PostPosted: Sat Mar 27, 2004 1:16 pm    Post subject: Reply with quote

Bah, just use plain xlib and you'll have total control over everything! :twisted:
Back to top
View user's profile Send private message
Gil-galad55
Tux's lil' helper
Tux's lil' helper


Joined: 02 Feb 2004
Posts: 101

PostPosted: Sat Mar 27, 2004 2:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum