Scrollbox.scrollboxSourceScrollbox widget.
inherit Stk.Bin.binmethod hscrollbar_policy : scrollbar_policymethod set_hscrollbar_policy : ?delay:float ->
?propagate:bool ->
scrollbar_policy ->
unitmethod vscrollbar_policy : scrollbar_policymethod set_vscrollbar_policy : ?delay:float ->
?propagate:bool ->
scrollbar_policy ->
unit#vscroll off vertically scrolls by off. A negative offset moves up, a positive one moves down. Checks are performed not to scroll out of bounds.
#hscroll off horizontally scrolls by off. A negative offset moves left, a positive one moves right. Checks are performed not to scroll out of bounds.
#offsets return x-offset and y-offset, i.e. the top left corner coordinates displayed of the child content.
#scroll_to ~x ~y sets x-offset and y-offset to x and y. x and y are corrected to valid bounds (> 0 and < content - displayed rect).
#hscroll_range returns the start and stop horizontal range (from 0. to 1.) of the child which is currently displayed.