[GRASS-dev] New installation for wxPython GUI

Michael Barton michael.barton at asu.edu
Fri Aug 11 02:53:48 EDT 2006


I'm going to redo the functions of mapdisp.py as a buffered dc and see if
this solves everyone's problems. It *sounds* like it might well do the
trick.

Michael
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton



> From: Moritz Lennert <mlennert at club.worldonline.be>
> Date: Fri, 11 Aug 2006 01:50:55 +0200
> To: Michael Barton <michael.barton at asu.edu>
> Cc: Trevor Wiens <twiens at interbaun.com>, David Finlayson
> <david.p.finlayson at gmail.com>, Jachym Cepicky <jachym.cepicky at centrum.cz>,
> Grass Developers List <grass-dev at grass.itc.it>, Yann Chemin
> <ychemin at gmail.com>
> Subject: Re: [GRASS-dev] New installation for wxPython GUI
> 
> Michael Barton wrote:
>> This change in binding the paint event from the panel where the painting
>> goes on to the entire frame has bad effects on window resizing. It makes it
>> very choppy, unresponsive, and sometimes inaccurate.
>> 
>> Adding in the 3 lines to redraw the current image into the onFocus event is
>> also problematic. It causes the display to disappear (and sometimes
>> reappear) anytime you change focus.
> 
> I haven't had any of the above problems.
> 
>> 
>> I've uploaded a new version of mapdisp.py to try out (I'm a bit in the dark
>> because I only have sporadic access to a Debian machine).
> 
> 
> Now I there is no redrawing once the window is visible again.
> 
>> 
>> I've added some event.Skip() lines to the event handlers. This will let them
>> continue to process other events while processing their own. So I'm hoping
>> it will help with the disappearing display when you pass another window over
>> it.
> 
> 
> I haven't noticed any change.
> 
> Moritz




More information about the grass-dev mailing list