[PythonCAD] zooming with mouse wheel

2006-06-12 Thread Russ Nelson
This patch allows you to zoom in and out using the mouse wheel. I think it has three problems: 1) the scroll increment is too large for a wheel. 2) it's a little hackish to be calling a menu item (but I wanted the patch to be short). 3) The scrolling should also pan at the same time so

[PythonCAD] menu creation via tables?

2006-06-12 Thread Russ Nelson
Should menus be created via tables? I suggest this because it will reduce the amount of code that people need to read. The menu creation code is very structured. The reason not to do it is because some day a menu entry (e.g. a "Recent Files" menu) may need to be computed rather than static. I a

Re: [PythonCAD] menu creation via tables?

2006-06-12 Thread Art Haas
On Mon, Jun 12, 2006 at 05:12:18PM -0400, Russ Nelson wrote: > Should menus be created via tables? I suggest this because it will > reduce the amount of code that people need to read. The menu creation > code is very structured. The reason not to do it is because some day > a menu entry (e.g. a