Re: R: [pygtk] Installing GTK+

2008-01-10 Thread Gian Mario Tagliaretti
On Jan 10, 2008 4:31 PM, Gatti Lorenzo <[EMAIL PROTECTED]> wrote: So let see what we have here: - a message of 60 lines "top quoted" - 59 lines useless 1 line message - a nonsense disclaimer in Italian on an English mailing list that's a good start, then one reads: > As the GIMP installer for W

Re: [pygtk] Simple question on forcing a DrawingArea to be redrawn

2008-01-10 Thread Donn
I'm not sure this will help, but I use this code in a function I call when I want to force a redraw. It makes the expose event happen. self.alloc = self.get_allocation() rect = gtk.gdk.Rectangle(self.alloc.x, self.alloc.y, self.alloc.width, self.alloc.height) self.window.invalidate_rect(rect, Tr

[pygtk] Simple question on forcing a DrawingArea to be redrawn

2008-01-10 Thread N. French
I have a drawing area which I basically ripped from the scribble.py example. Basically there's a pixmap, a configure event handler which draws on the pixmap, and an expose event which uses draw_drawable() to paint the pixmap onto the drawing area's window. Works fine. Now when I click some butto

R: [pygtk] Installing GTK+

2008-01-10 Thread Gatti Lorenzo
As the GIMP installer for Windows switched to a private GTK runtime environment in version 2.4.2, one can install the gladewin32 GTK+ runtime and PyGTK, but Python scripts in GIMP are now unsupported. Nice job. -- TAS S.p.A. Vi

[pygtk] pygobject C API for MainContext and friends

2008-01-10 Thread Bryan Silverthorn
The pygtk / pygobject C API, ie http://faq.pygtk.org/index.py?req=show&file=faq23.015.htp works fine for C extensions that interact with pygtk using GObject-derived types. Some of the glib types that pygobject wraps, though, such as GMainContext, GPollFD, etc, aren't derived from GObject. Extensi

[pygtk] [patch] crash bug in gobject.Timeout and gobject.Idle

2008-01-10 Thread Bryan Silverthorn
Shameless patch-plug: I'd like to call attention to bug #504337, which has a (very) small patch fixing, I hope, a fairly significant bug in pygobject's Timeout and Idle bindings. I've pasted my original bug report below. " The tp_flags fields for PyGTimeout_Type and PyGIdle_Type in gobject/pygsour

Re: [pygtk] Installing GTK+

2008-01-10 Thread Gian Mario Tagliaretti
On Jan 10, 2008 5:11 AM, Kevin Goodspeed <[EMAIL PROTECTED]> wrote: > The link to download GTK+ > as given by the Symbide installation instructions leads me to > http://www.gimp.org/~tml/gimp/win32/downloads.html. However, the These are the "official" builds of gtk+ for win32 > installation ins