|
Smalltalk/X WebserverDocumentation of class 'PointFromUserController': |
|
|
Class: PointFromUserControllerInheritance:Object | +--Controller | +--ButtonController | +--PointFromUserController
Description:
drags a rectangle.
An instance of me can be installed temporarily as controller of any view,
to let the user select a rectangular area from the view.
Use the utility method:
dragRectangleIn:aView thenDo:action
which does exactly that for your (and cares to restore any original controller)
Class protocol:utilities
Instance protocol:accessing
Examples:|v c| v := View new openAndWait. c := PointFromuserController new. c action:[:point | Transcript showCR:point ]. v openAndWait. v controller:c. |
|
|
ST/X 7.1.0.0; WebServer 1.663 at exept.de:8081; Wed, 17 Dec 2025 10:31:02 GMT
|