[Gtk-sharp-list] Gtk Drawing Area
Mon, 27 Oct 2003 22:28:59 -0800
Content-Type: text/plain; charset=ISO-8859-1
Well, just looking around at the docs at go-mono.org:8080 should help,
but here's a sample app I've been working on which graphs the Mandelbrot
Basically, you need to draw onto the widget's Gdk.Window. The easiest
way to do this is probably on the Exposed event, but that's up to you.=20
Look at the documentation for Gdk.Drawable to see what the drawing
methods available are.
In the example I linked to, I'm actually drawing onto a Pixmap, and then
drawing the pixmap to the screen. The code is almost the same as just
drawing directly to the screen, but it's more efficient with XServer.
Hope that helps
On Mon, 2003-10-27 at 10:04, Diego Carrera wrote:
> Hi there ive been trying to use the Drawing Area but I haven=B4t found
> how to, can anybody point me to a good example or documentation.
> Thnx in Advance
Mark Lewis <email@example.com>
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
-----END PGP SIGNATURE-----