Re: learning X programming



Allan Adler <ara@xxxxxxxxxxxxxxxxxxxx> did eloquently scribble:
Sam <sam@xxxxxxxxxxxxxx> writes:

There are GTK widgets that you can use as a blank canvas to paint on. GTK
will do the heavy lifting and take of all the details. Look at the
GtkDrawingArea widget.
See http://library.gnome.org/devel/gtk/2.11/GtkDrawingArea.html

My browser can't handle that site. I'll look at it next time I go to the
library and use their computers. When you say that you can paint on it,
do you mean I can paint interactively or do you mean that I can have my
C program paint in it?

C program. It's called a drawing area widget because that's usually where
you use the Gdk (the underlying layer of Gtk) drawing functions.

Gtk is just the menu/widget/event part of the package, the Gdk toolkit which
Gtk sits on performs all the graphics manipulation.
--
______________________________________________________________________________
| spike1@xxxxxxxxxxxxx | |
|Andrew Halliwell BSc(hons)| "ARSE! GERLS!! DRINK! DRINK! DRINK!!!" |
| in | "THAT WOULD BE AN ECUMENICAL MATTER!...FECK!!!! |
| Computer Science | - Father Jack in "Father Ted" |
------------------------------------------------------------------------------
.