This demonstrates ntk_panedwindow, ntk_listbox, ntk_grid, ntk_scrollbar,
ntk_button, ntk_label, and the rendering capabilities.
Directions:
Mouse button 1 is for panning an image. Click and drag to pan.
Mouse button 2 rotates an image. Click once for a 90 degree rotation.
Click twice for 180 degrees of rotation, and so on.
Rotations in NexTk from [-360,360] are possible as well.
Mouse button 3 scales an image. Click 3, drag until you like the size,
and release.
You can use the following tclkits to run it:
This is a Tk-less tclkit that I've tested and used for the demo in
Windows XP (Note: it tends to work better than the regular tclkit with
Tk):
http://www.equi4.com/pub/tk/8.5b1/tclkitsh-win32.upx.exe
This is what I use for testing in Ubuntu Linux:
http://www.equi4.com/pub/tk/8.5b1/tclkit-linux-x86.gz
The Win32 demo has a bit of a problem on exit with cleanup_instance. I
would appreciate review and advice with the Win32 paths. The Win32 code
I also suspect could be made to be faster, so that it operates as
smoothly as the X11/Linux version.
Thanks, and I hope you like the demo app,
George