>> Does it make sense to call it like this?
>>
>> gobject.idle_add(g)
Greg> No, but it might make sense to use it like this:
Greg>gobject.idle_add(g().next)
Thanks, Johan pointed me down the right path. That is indeed what I did.
Then new version is substantially simple
For lack of a better term, I need to do a "deferred" drag and drop
operation. Here's the problem:
When my drag source method is called, rather than immediately returning
data, I want to perform an operation that will occur asynchronously in the
future (say, retrieve some data from an HTTP connect
[EMAIL PROTECTED] wrote:
def g():
while True:
do_something_useful()
yield True
Does it make sense to call it like this?
gobject.idle_add(g)
No, but it might make sense to use it like this:
gobject.idle_add(g().next)
--
Greg
I was wondering if anyone has played around with Glade and experienced a resize
problem. When I try to create just a basic window, I can't seem to resize it
(no dragging or size parameters).
Any help/advice would be greatly appreciated.
___
pygtk mailin
Timo, you have lots of options. The simplest would be to add an event
handler to each widget's "toggled" (i think) signal to check the other
widget and set the same value. If it's sufficient, you could create
an action (gtk.Action) and connect both widgets to it. You could
create your own "model
On Fri, May 2, 2008 at 11:42 AM, Alessandro Dentella <[EMAIL PROTECTED]> wrote:
Ciao Sandro,
> has anybody tried generating windows binaries?
> should it be a simple process?
I've tried once to generate win32 binaries for goocanvas and
pygoocanvas without a great success... but my friend Paolo
On Fri, May 2, 2008 at 11:26 AM, Thomas Dybdahl Ahle <[EMAIL PROTECTED]> wrote:
Hi Thomas,
> Do you have online documentation?
For now, it's here:
http://www.gnome.org/~gianmt/pygoocanvas/
I will investigate on how to host it at library.gnome.org
cheers
--
Gian Mario Tagliaretti
_
Do you have online documentation?
On Thu, 2008-05-01 at 19:35 +0200, Gian Mario Tagliaretti wrote:
> I am pleased to announce version 0.10.0 of the Python bindings for Goocanvas.
>
> It is available at:
>
> https://developer.berlios.de/projects/pygoocanvas/
>
> The bindings are updated with the