[GRASS-dev] Re: not quite there on fonts
Paul Kelly
paul-grass at stjohnspoint.co.uk
Sat May 12 18:33:06 EDT 2007
On Fri, 11 May 2007, Michael Barton wrote:
[...]
> Given what you say above, can I set all of these for the GUI session and not
> worry about their impact on how grass functions from the command line during
> that session?
>
> set env(GRASS_BACKGROUNDCOLOR) "ffffff"
Interesting to see this - I guess this means there's no way to change the
default background colour to anything other than white then? Was thinking
this would be a useful setting for the GUI to have - e.g. I much preferred
the default black background in GRASS <= 5, much easier on the eyes I
thought.
I was also noticing (have been trying out d.histogram while experimenting
with fonts recently) that it seemed a bit non-intuitive that to display a
histogram you had to treat it as a map you were displaying and it appeared
in the Map display Window, with the region setting controls, co-ordinate
display, etc. all intact. I was thinking it might be more logical and look
tidier if it appeared in a separate graph display window - the background
colour could perhaps even be set to be the same as the normal Window
background colour and it might look very neat then.
Maybe the new GUI does something like this already - I suppose I should be
looking at it when commenting like this - this is neither a bug report or
a wish, just a few thoughts I had that I thought I should write down!
Paul
> set env(GRASS_TRANSPARENT) "TRUE"
> set env(GRASS_PNG_AUTO_WRITE) "TRUE"
> set env(GRASS_TRUECOLOR) "TRUE"
>
>>
>> With Python, the situation is better, as the Popen constructor allows
>> you to specify an explicit environment for each process. Tcl lacks
>> this, so you have to modify your own environment and let the child
>> inherit it.
>
> Can we just set the environment at the beginning of the wxPython GUI session
> (i.e., in the init for the original gis manager frame in wxgui.py)? Or do we
> need to include a Popen somehow when the GUI is launched?
>
> 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
>
>
More information about the grass-dev
mailing list