package tiny_appkits

  1. Overview
  2. Docs
Application engines from scratch: a spreadsheet, rich text, paint, draw, CAD, editors and more

Install

dune-project
 Dependency

Authors

Maintainers

Sources

0.3.6.tar.gz
md5=7c636383d146d30ac6f2fa234a6253c8
sha512=c79f3823c5f8f57e5038eb640d487c61168b84aa07c61999d6622ef9fd0c890e2b03b4c6a7cdbbe9352a49e25dda00ac7bb14693cee8e3d7beeed251351a2af0

doc/tiny_appkits.appkit_sheet_view/Sheet_view/index.html

Module Sheet_viewSource

Sourcetype geometry = {
  1. cols : int;
  2. rows : int;
  3. cell_w : float;
  4. cell_h : float;
  5. head_w : float;
  6. head_h : float;
}
Sourceval default : geometry
Sourceval size : geometry -> float * float
Sourceval cell_at : geometry -> Widget.box -> (float * float) -> Formula.cell option
Sourceval draw : ?selection:(Formula.cell * Formula.cell) -> geometry -> Theme.t -> Widget.box -> Sheet.t -> Widget.paint list
Sourceval cells_of : (Formula.cell * Formula.cell) -> Formula.cell list
Sourceval name_of : (Formula.cell * Formula.cell) -> string