package hardcaml_waveterm

  1. Overview
  2. Docs
type t = {
  1. adj : Adjustment.t;
  2. mutable scroll_window_size : Base.int;
  3. mutable scroll_bar_mode : Scroll_bar_mode.t;
  4. mutable min_scroll_bar_size : Base.int Base.option;
  5. mutable max_scroll_bar_size : Base.int Base.option;
  6. mutable scroll_bar_size : Base.int;
  7. mutable scroll_bar_offset : Base.int;
  8. mutable mouse_mode : Mouse_mode.t;
  9. mutable page_size : Base.int;
  10. mutable document_size : Base.int;
  11. 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