|
Smalltalk/X WebserverDocumentation of class 'RectangleFromUserController': |
|
|
Class: RectangleFromUserControllerInheritance:Object | +--Controller | +--ButtonController | +--RectangleFromUserController
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 := RectangleFromUserController new. c action:[:rect | Transcript showCR:rect ]. v openAndWait. v controller:c. |
|
|
ST/X 7.1.0.0; WebServer 1.663 at exept.de:8081; Wed, 17 Dec 2025 10:27:18 GMT
|