Re: Inter script updates
- From: Philip Cavaco <Philip Cavaco ki se>
- To: discussions about usage and development of dia <dia-list gnome org>
- Subject: Re: Inter script updates
- Date: Fri, 08 May 2009 10:03:06 +0200
Thank you very much for the example.
It works perfectly.
Philip
----- Original Message -----
From: Hans Breuer <hans breuer org>
Date: Thursday, May 7, 2009 10:23 pm
Subject: Re: Inter script updates
To: discussions about usage and development of dia <dia-list gnome org>
At 07.05.2009 14:46, Philip Cavaco wrote:
Hello,
I want to put this question out there before diving into the
code. I am
trying to write a python script which can update the active_display
multiple times within the same script. Basically an animation.
I have been experimenting with the different update methods
(add_update_all, update_connectitons, update_extends, flush) at
different levels (dia, dia.active_display(),
dia.active_display().diagram).>
Does anyone have suggestions on how I can get this working?
Given that display drawing is done in idle update your blinking
needs allow
idle to happen. Updated script attached.
Hans
-------- Hans "at" Breuer "dot" Org -----------
Tell me what you need, and I'll tell you how to
get along without it. -- Dilbert
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]