[GRASS-dev] Re: Re: [GRASS GIS] #156: new attribute in Option
struct to allow conditional options requirement
landa.martin at gmail.com
Mon May 5 13:06:45 EDT 2008
2008/5/5 Michael Barton <michael.barton at asu.edu>:
> Why not have one field that defines the order of the tabs and one that
> defines the tab label? I haven't dug into the TclTk code that parses these,
> but it can't be that hard to change it to account for this. The same goes
> for the wxPython parser code. It would probably simplify a LOT of things in
> the parser.
I am not quite sure here, I think it is not necessary to define order
of tabs in that way. In the best case flags/parameter should be
grouped based on guisection (or logical connection) when defining
Flag/Option instances. See d.vect where flags/parameters are grouped
by guisection. It means to keep some kind of consistency between CLI
module usage description and GUI dialogs (tab order).
BTW, in wxPython code, tabs are reordered ('required' tab is always
the first one ).
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa *
More information about the grass-dev