Dear Michael,
I've used both within Python.
GdkWindows and GdkPixmaps are both GdkDrawables; it's a low level
representation that lets you draw lines and circles on them.
The GnomeCanvas is a sophisticated system for drawing the same sort of
things, but getting notifications, grouping, automatic persistance, all sort
of things.
I typically use GnomeCanvas within Python if I am doing something complex.
For example, if I want drag and drop, or the ability for users to click on
things, or if I want to move a bunch of shapes as an aggregate whole, I use
GnomeCanvas.
I use a GdkDrawingArea (and by extension, a GdkDrawable) to make something
like a tile background, or to draw onto a window. With a GdkDrawingArea, you
have to manage things like, "When an expose-even occurs, redraw the area."
It's quite annoying.
Take care,
Lion =^_^=
-----Original Message-----
From: Michael Lauer [mailto:[EMAIL PROTECTED]]
Sent: Sunday, June 10, 2001 2:31 PM
To: [EMAIL PROTECTED]
Subject: [pygtk] GdkDrawable versus GnomeCanvas ?
Howdy,
how is a GdkDrawable related to GnomeCanvas ?
Since there are bindings for both in pygtk/pygnome,
which is "better" to use within Python ?
Also, I have read that the GnomeCanvas should be
"back"-ported to Gtk - is this true and if so, will
it be supported by pygtk ?
:M:
--
Michael 'Mickey' Lauer . . . . . . . . . [EMAIL PROTECTED]
How could anyone know me - when I don't even know myself ?
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk