[wxPython] wxOGLStuff: constraining shape posns on canvas

Hi:

i am looking for a relatively painless way to constrain Shapes' positions on
a wxShapeCanvas.

in other words, i would like to prevent a user from
left-clicking-and-dragging a shape right off the screen, which is possible
right now. for example, try the wxOGL in the wxPython demo (Miscellaneous:
wxOGL), you can move da "Circle" so far to the left and release left button
that it dissappears off the scrolled window.

this is VERY BAD (TM) for my application, which has no, and will get no,
scollbars. in other words, its incorrect to drag past the visble boundaries
of an unscrollable window, in my present case.

is OGLConstraints the thing here? i can not tell from the documentation if
its the right tool or not.

many thanks

les schaffer

ยทยทยท

_______________________________________________
wxPython-users mailing list
wxPython-users@lists.sourceforge.net
http://lists.sourceforge.net/mailman/listinfo/wxpython-users