Opened 12 years ago
Closed 12 years ago
#1192 closed defect (fixed)
wxGUI: propagate option key_desc
|Reported by:||hamish||Owned by:||martinl|
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.
Change History (3)
comment:1 by , 12 years ago
comment:2 by , 12 years ago
|Status:||new → assigned|
comment:3 by , 12 years ago
|Status:||assigned → closed|
Try out r43929 (devbr6).