The scrollbars always have minimum 0 and maximum 32767 . You must supply this method. You can return None for either to indicate the whole document is visible in that direction. For 'set' , value will contain the new scrollbar position. If you override this method call this one at the end of your method.
Moves scrollbars to the correct position.
Call this method initially if you override it. Handles scrollbar interaction. If you override it call this method first, a nonzero return value indicates the hit was in the scrollbars and has been handled.