[Gtk-sharp-list] Re: GTK "canvas" widget?
Eric Butler
eric at extremeboredom.net
Wed Jun 1 12:40:17 EDT 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
You can use the Gtk.Image widget to display a GdkPixbuf, but I do not
know how fast this will be. Other possibilities are Gtk.DrawingArea and
Gnome.Canvas.
- - Eric
David Martin wrote:
> 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
>
> _______________________________________________
> Gtk-sharp-list maillist - Gtk-sharp-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCneTxsSPwEOmqwCIRAs3+AJ4rFhgHcTRhHqlxgW8AlnWW295CFACeOwF7
Spbx5FU6PFBGW6l5GqycIw8=
=5tvS
-----END PGP SIGNATURE-----
More information about the Gtk-sharp-list
mailing list