[GRASS5] Messages and GUI
Hamish
hamish_nospam at yahoo.com
Tue Nov 16 22:35:40 EST 2004
> > > >>>>I have added G_messages and modified a bit G_percent,
> > > >G_warning>>>and G_fatal_error. If GRASS_MESSAGE_FORMAT enviroment
> > > >(not GRASS) variable>>>is set to 'gui', those functions print
> > > >messages in format>>>suitable for parsing by GUI. gui.tcl was
> > > >also modified and>>>displays progress bar if G_percent is used
> > > >and adds icons to output
> > > >box.>>>http://mpa.itc.it/radim/g51/messages1.png
> >
> > Should d.m set GRASS_MESSAGE_FORMAT=gui?
>
> Yes.
>
> > and if so, should it pop up a window or draw on the main screen?
>
> Percentages should control a status bar widget which is part of the
> dialog window. Warnings should be displayed in the output window,
> ideally highlighted. Errors should either be displayed similarly or in
> a separate popup.
I was talking about when you hit the d.m "(re)draw" button on the left to
draw whatever commands you have listed. there isn't necessarily a
output window. Not the G_parser() gui windows, they work ok.
Also it would run 0-100% many times for each map on the list..
Hamish
More information about the grass-dev
mailing list