![]() |
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.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Sun, 04 Jun 2023 16:45:58 GMT
|