PDA

View Full Version : Gtk



curlious
12-31-2004, 10:52 PM
It appears from my post in the Linux forum that not to many people are into GTK. I have choosen GTK as the library of choice for GUI development. Unlike QT it is completely open source. It is cross platform which makes it a definite plus in my book. While most people seem to think learning Win32 API is the first step to GUI programming I think this is short sighted.

Why have you choosen to go with a paticular API for gui programming or are you a strictly console programmer?

I am disappointed by the lack of posts in the linux forum, and I wonder why so many educated people have not explored linux to a greater degree. Linux seems to cater to programmers. What is your excuse?

Well thats my 2004 beef, but heres to 2005 and Happy New Year! :p

itsme86
12-31-2004, 11:40 PM
I only program in C so I just hang out on the C Programming forum. I do all of my development in Linux, but I figure that any C questions related to Linux will end up on the C Programming forum.

I've done some work with GTK, but only really elementary stuff.

curlious
12-31-2004, 11:51 PM
I think what you have posted is true for many people who post in the C board they have some experience in linux but typicaly post in the C board because it is more appropriate.

Still it would be nice to see more post about Linux specific topics and it seems most of the programmers are just follow the common route which is windows programming.

The aspect of money is a always a factor and most beginner programers have aspirations of making a living programming. It seems that propriatery code is the simplist most direct route to money. I program because I enjoy programming, and want to share what I learn not beacause I want to make a lot of money. Still I don't think these two aspects are exclusive, but the money searching programmers are distasteful to me.

nvoigt
01-01-2005, 01:25 AM
>Linux seems to cater to programmers. What is your excuse?

Windows seems to cater to my employer.

curlious
01-01-2005, 02:01 AM
lol stuck in the system poor soul. Rebel spend your waking hours on freedom. Open source baby thats the way to go. :)

Salem
01-01-2005, 02:19 AM
> It appears from my post in the Linux forum that not to many people are into GTK
This site is primarily about helping new C and C++ programmers understand the languages in a platform independent manner. So whilst all the people who help are acomplished C and C++ programmers, experience in <insert-name-of-favourite-API> tails off rapidly in all sorts of directions, depending on their own individual experiences.

The point is, experience in <insert-name-of-favourite-API> will always be concentrated elsewhere on the net, so the trick is to seek out where the highest concentration of expertese is for whatever problem you are solving.

> Why have you choosen to go with a paticular API for gui programming or are you a strictly console programmer?
It's simply the best medium for learning the language.
There's no "write this mess of code" to simply display "hello world" for example.

Once you've learnt the language, then you move on to learning APIs to help you solve more complex problems, and to make your code look good.

curlious
01-01-2005, 02:38 AM
I see your point Salem and consider myself still a bigginer. There is much I need to learn still about ANSI C/C++. That is why I ask my questions here and not game dev. I have total respect for those here that frequently are of help. I am just a bit concerned about the direction us newer members take as we learn more about programming. You have always shown your knowledge and have been very helpful to people like myself. I can't imagine your own interest have not come about without some thought to what you do.

As to what api a person chooses is just a curiosity that I would like to know to help shape my own goals.

I am not posting as a Linux Zelaout. Programming is a way of thinking and learnirng not about using a paticulap api, but asking why a person has choosen a paticular path gives me better insight into the motives of my peers.

Ken Fitlike
01-01-2005, 03:31 AM
>>I have choosen GTK<<

I looked at your post in the linux board (http://cboard.cprogramming.com/showthread.php?t=60222) and found myself wondering why you seemed to be trying to use c++ to encapsulate gtk when gtkmm (http://www.gtkmm.org/) already exists as "the official C++ interface for the popular GUI library GTK+". Given your apparent predilection for c++ isn't your choice of gui toolkit a tad 'shortsighted'? :p ;)

>>What is your excuse?<<

The hobbyist needs no excuse other than it's fun at the time. :) Unsurprisingly, I occasionally dabble with xlib during my sojourns in linux-land. ;)

curlious
01-01-2005, 12:05 PM
The truth is in my ignorance I did not know about gtkmm.

Secondly although I don't think my previous posts where to far gone I apologize for my own state yesterday. More than a tad tippsy. As always everyone has posted with intelligent responses.