Opened 14 years ago

Closed 13 years ago

#1192 closed defect (fixed)

wxGUI: propagate option key_desc

Reported by: hamish Owned by: martinl
Priority: major Milestone: 6.4.1
Component: wxGUI Version: svn-releasebranch64
Keywords: parser, v.mkgrid Cc: grass-dev@…
CPU: All Platform: All

Description

Hi,

the wx module auto-gen GUI dialogs do not report the contents of opt->key_desc, so correct usage of the module options are hard to figure out without carefully studying the help page.

v.mkgrid is a good example.

Usage:
 v.mkgrid [-pq] map=name grid=rows,columns [position=string]
   [coor=x,y] [box=width,height] [angle=value] [breaks=value]

the wx module GUI for it just asks for an int for grid= and box=, and a float for coor=. Little way to know you need a comma separated list, and it's even worse if the input is like x0,y0,x1,y1 and you don't know the order (an even worse than that example of this can be found in r.transect).

The tcl/tk GUIs are a better, but still a bit murky.

The --interface-description item for this is <keydesc>.

entering this as a "defect" as v.mkgrid, r.transect, et al are at first unusable without this part of the usage definition.

thanks, Hamish

Change History (3)

comment:1 by martinl, 14 years ago

Cc: grass-dev@… added
Owner: changed from grass-dev@… to martinl

Try out r43929 (devbr6).

comment:2 by martinl, 14 years ago

Status: newassigned

comment:3 by martinl, 13 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.