You can search for identifiers within the package.
in-package search v0.2.0
tiny_libs.gui
Widget
type box = {
x : float;
y : float;
w : float;
h : float;
}
val contains : box -> float -> float -> bool
type id = float * float
val id : box -> id
val inset : float -> box -> box
val left : box -> float
val right : box -> float
val top : box -> float
val bottom : box -> float
type input = {
mx : float;
my : float;
mdown : bool;
mclick : bool;
mrdown : bool;
typed : string;
wheel : float;
keys : string list;
val no_input : input
type canvas_event =
| Hover of float * float
| Press of float * float
| Right_press of float * float
type paint =
| Fill of Color.t * box
| Text of Color.t * box * string
| Disc of Color.t * float * float * float
| Segment of Color.t * float * float * float * float * float
val frame : Color.t -> float -> box -> paint list
val text_width : size:float -> string -> float