Scroll.Scrollable
type t = {
adj : Adjustment.t; |
mutable scroll_window_size : Base.int; |
mutable scroll_bar_mode : Scroll_bar_mode.t; |
mutable min_scroll_bar_size : Base.int Base.option; |
mutable max_scroll_bar_size : Base.int Base.option; |
mutable scroll_bar_size : Base.int; |
mutable scroll_bar_offset : Base.int; |
mutable mouse_mode : Mouse_mode.t; |
mutable page_size : Base.int; |
mutable document_size : Base.int; |
mutable on_scrollbar_change : Base.unit -> Base.unit; |
}
val sexp_of_t : t -> Sexplib0.Sexp.t
val set_range : ?trigger_callback:Base.bool -> t -> Base.int -> Base.unit
val set_offset : ?trigger_callback:Base.bool -> t -> Base.int -> Base.unit