Question:
How can I learn GTK so I can write an interface for GIMP?
nemo456
2007-07-26 09:42:35 UTC
I know some of the basics of programming, but when I go through the tutorials (like at www.gtk.org), they're obviously leaving out some very major steps. They say "here's the code, and this is your result." But it doesn't explain how I run/compile the code or anything like that. I got buffaloed on the first page!

Ultimately, I want to create an interface for GIMP that resembles Sketchbook Pro or ArtRage. These two programs have very good interfaces for tablet PCs, but they both suck as programs because AutoDesk has discontinued development on Sketchbook Pro and ArtRage won't even let you cut and paste.

So, if you could recommend a book or an online course or something else, that would be a great help.
Three answers:
anonymous
2007-07-26 10:43:32 UTC
Here's a GTK+ tutorial, it may clear some things up for you.

http://www.yolinux.com/TUTORIALS/GTK+ProgrammingTips.html
csanon
2007-07-26 18:06:38 UTC
I’ve used GTK+ before, and I’ve seen the tutorials. Everything is explained. The tutorials show you how to use GTK+. They tell you exactly how to compile the code. They tell you the includes needed, the libraries to link in. Why don’t you give us an example of what you don’t understand? Link us to pages that confuse you.



GIMP is written in C and GTK+, so while your GUI may be in any language you want it to be, you need to know C and how to use it to work with the GIMP code.



I don’t know what you’re having trouble understanding, so you need to give examples. I can’t recommend learning resources because I don’t know what you need to learn.
The Count
2007-07-26 16:52:00 UTC
You could try this link :

http://www.linux.ie/articles/reviews/gnome.php

Good luck.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Continue reading on narkive:
Loading...