[Gtk-sharp-list] GTK "canvas" widget?

David Martin lists at jimsghetto.com
Tue May 31 17:18:37 EDT 2005


Hi All,

This will be a blatant n00b question, but...  can anyone tell me the
objects/widgets that I should use for this scenario:

I want to have a Map object that draws to an off-screen buffer which can
be resized arbitrarily as the object that actually displays the the map
is resized.  Now I thought I might be able to use Gdk.Pixmap as the
off-screen buffer, and then use a Gdk.Window to display the Map, however
I haven't been able to figure out how exactly to go about copying the
Pixmap to the Window.  is Gdk too low-level for what I want to do?
(vector map, all I need to be able to do is draw lines on the
canvas/surface/pixmap/whatever, I can deal with the geometry stuff in my
Map object.)

If anyone can put me out of my misery, it would be greatly appreciated.

Thanks,

Dave



More information about the Gtk-sharp-list mailing list