[GRASS-dev] expanding [+] list on the GUI status bar

Michael Barton michael.barton at asu.edu
Sun May 13 11:45:36 EDT 2007

On 5/13/07 1:12 AM, "Hamish" <hamish_nospam at yahoo.com> wrote:

> Hamish:
>>>>> expanding [+] list on that rows= cols= res= line?
> Michael:
>>>> Not possible on the status line.
> H:
>>> Is that just for Tcl, or wxPy too?
> M:
>> You can't do this in wxPython either. At least I don't think so,
>> though there is more flexibility for this kind of stuff.
>> In both TclTk and wxPython, an "expanding list" needs to be done as a
>> combobox, tree control, combo control, or something similar. In TclTk
>> and I think in wxPython, you can only put text into the status bar,
>> not a control/widget.
> So what if we have a box at the bottom of the GUI that walks a like a
> status bar and talks like a status bar but is coded as a combobox or
> something similar?
> (IF an exanding list is really useful in the first place)

I'm not convinced that it's worth the trouble to do. The wxPythyon GUI shows
extents rather than columns/rows. That is probably more meaningful, at least
in that context. For wxgrass, the resolution for the display is set to match
the pixel density of the display image (like one aspect of 'explore mode' in
the TclTk gui). This gives a better looking and faster rendering image. It
has no effect on the computational resolution. However, it means that rows
and columns in the display change with window size and zooming.


> Hamish

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

More information about the grass-dev mailing list