[GRASS-dev] WxPython prototype GRASS GUI. Version 2

Yann Chemin ychemin at gmail.com
Tue Aug 8 12:28:37 EDT 2006


It seems that it has been discussed on this www:
http://blog.gmane.org/gmane.comp.python.wxpython.devel/month=20060101


On 08/08/06, Michael Barton <michael.barton at asu.edu> wrote:
> These changes, especially the scaled bitmap (which I use for window
> resizing) would significantly affect how the app works.
>
> Michael
> __________________________________________
> Michael Barton, Professor of Anthropology
> School of Human Evolution & Social Change
> Center for Social Dynamics and Complexity
> Arizona State University
>
> phone: 480-965-6213
> fax: 480-965-7671
> www: http://www.public.asu.edu/~cmbarton
>
>
> > From: Yann Chemin <ychemin at gmail.com>
> > Date: Tue, 8 Aug 2006 23:07:06 +0700
> > To: Michael Barton <michael.barton at asu.edu>
> > Cc: Moritz Lennert <mlennert at club.worldonline.be>, 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>
> > Subject: Re: [GRASS-dev] WxPython prototype GRASS GUI. Version 2
> >
> > the version installed here is wxPythonGTK2.6-2.6.3.3-2mdv2007.0
> >
> > from wxpython www:
> > last changes from 2.6.2.1 are dealing with :
> >
> > -----------
> > Added wx.SizerItem.SetUserData
> >
> > A variety of updates to wx.lib.floatcanvas, including Added
> > DrawObjects, including a ScaledTextBox, with auto-wrapping, etc, and
> > Scaled and Unscaled Bitmap Objects.
> >
> >     WARNING: Changed all DrawObjects to take an (x,y) pair rather than
> > individual x,y parameters. Also changed rectangles and ellipses to
> > take (w,h) pair. This is an API change, but should be easy to
> > accommodate, all you need to do is add a parenthesis pair: (...x, y,
> > ...) ---> (...(x,y), ...)
> >
> > ----------
> >
> > maybe somebody can understand more than i can... :-)
> >
> >
> >
> > On 08/08/06, Michael Barton <michael.barton at asu.edu> wrote:
> >> Moritz and Yann,
> >>
> >> I hope to be able to test this on FC4 and Debian soon here. I'll let you
> >> know if we have the same issues.
> >>
> >> My guess is that if it's a version issue, it's with wxPython, since we're
> >> all using Python 2.4.3.
> >>
> >> You might check the change log of 2.6.1 to 2.6.3 changes.
> >>
> >> 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: Tue, 08 Aug 2006 09:34:32 +0200
> >>> To: Michael Barton <michael.barton at asu.edu>
> >>> Cc: Yann Chemin <ychemin at gmail.com>, 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>
> >>> Subject: Re: [GRASS-dev] WxPython prototype GRASS GUI. Version 2
> >>>
> >>> Michael Barton wrote:
> >>>> Moritz and Yann,
> >>>>
> >>>> I forgot to ask you. Are you using whatever came with Debian unstable, or
> >>>> did you install the latest and greatest Python 2.4.2.xx (I'm on 2.4.3.11)
> >>>> and wxPython 2.6.3.x?
> >>>
> >>> I have tried it with
> >>>
> >>> python 2.4.3-7
> >>> and wxptyhon 2.6.1.2 (from Ubuntu as the debian version is still
> >>> compiled against python2.3)
> >>>
> >>> and I still have the same problem with panning.
> >>>
> >>> To test with newer version I will have to compile myself. I'll do that
> >>> when I find the time.
> >>>
> >>>>
> >>>> Image dragging works very smoothly on my Mac. How does resizing look?
> >>>
> >>> I assume you mean window resizing. It doesn't work: I can see the map
> >>> flicker at the correct, resized size, but then the display is grey. When
> >>> I click on the "display map" button, it appears at the original size,
> >>> thus only filling a part of the screen.
> >>>
> >>>> A
> >>>> buffered DC can be used to reduce flicker, but is a bit of a pain to
> >>>> implement. Need to know if it is needed on some systems or the problem is
> >>>> an
> >>>> issue of different versions of the software.
> >>>>
> >>>> Check out the new version I just uploaded.
> >>>>
> >>>> Cheers
> >>>> Michael
> >>>> __________________________________________
> >>>> Michael Barton, Professor of Anthropology
> >>>> School of Human Evolution & Social Change
> >>>> Center for Social Dynamics and 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, 04 Aug 2006 10:28:47 +0200
> >>>>> To: Michael Barton <michael.barton at asu.edu>
> >>>>> Cc: Grass Developers List <grass-dev at grass.itc.it>, Jachym Cepicky
> >>>>> <jachym.cepicky at centrum.cz>, Trevor Wiens <twiens at interbaun.com>, David
> >>>>> Finlayson <david.p.finlayson at gmail.com>
> >>>>> Subject: Re: [GRASS-dev] WxPython prototype GRASS GUI. Version 2
> >>>>>
> >>>>> Panning however causes problems for me:
> >>>>>
> >>>>> - first the screen flashes very frequently while the map moves
> >>>>> - once the map is in its new position, I cannot use the mouse anymore,
> >>>>> only my keyboard. However, when I change to another workspace of my
> >>>>> Gnome desktop and then switch back again, the map display is empty, but
> >>>>> I can use my mouse again.
> >>>>
> >>>> _______________________________________________
> >>>> grass-dev mailing list
> >>>> grass-dev at grass.itc.it
> >>>> http://grass.itc.it/mailman/listinfo/grass-dev
> >>>
> >>
> >>
>
>




More information about the grass-dev mailing list