[previous] [up] [next]     [contents] [index]
Next: on-set-focus Up: wx:media-canvas Previous: on-paint

on-scroll

Called when the value of one of the canvas's scrollbars changes. A wx:command-event% argument provides information about the scroll action.

The get-selection method of event returns the value of the scrollbar.

The get-selection-type method of of event returns either wx:const-horizontal or wx:const-vertical.

The get-event-type method of event returns one of:



PLT