Hi, 2011/2/4 Hamish <[email protected]>: > Helena wrote: >> - would it be possible to grey out or hide the button "Use >> mouse to size and place legend"? >> everybody switches it on and tries to size the legend with >> mouse without success >> (there is no hint anywhere that this does not work), > > a wrapper script would be needed, similar to v.type. > see `d.legend --script` for a template. > I'd prefer that to changing the wording of the flag's description, as "for > interactive xmons only" is too hard to explain to the new > GUI user in just a few words. > > maybe module --interface description man-in-the-middle hijacking + ad-hoc > override is possible in the wxPy code. ...? but it wouldn't be pretty.
I have implement it as `blackList` defined in menuform.py. In this case `-m` flag is hidden only when dialog is launched from the GUI, see r45552. Backported to devbr6. After some testing it could be applied in relbr64 too. Martin -- Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa _______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
