- (#<widget> 'scan option args)
- This command is used to implement scanning on spinboxes. It has two forms, depending on option:
- (#<widget> 'scan 'mark x)
- Records x and the current view in the spinbox window; used in conjunction with later scan dragto commands. Typically this command is associated with a mouse button press in the widget. It returns an empty string.
- (#<widget> 'scan 'dragto x)
- This command computes the difference between its x argument and the x argument to the last scan mark command for the widget. It then adjusts the view left or right by 10 times the difference in x-coordinates. This command is typically associated with mouse motion events in the widget, to produce the effect of dragging the spinbox at high speed through the window. The return value is an empty string.
© Author
| Home
| Sitemap
|