shithub: purgatorio

ref: e047274e8dedebb9588a82e48e6cd9d7e50cae79
dir: /appl/ebook/table.m/

View raw version
Table: module {
	PATH: con "/dis/ebook/table.dis";
	Cell: adt {
		w: string;
		span: Draw->Point;
		sizereq: Draw->Point;
	};
	init:	fn();
	newcell:	fn(w: string, span: Draw->Point): ref Cell;
	layout: fn(cells: array of array of ref Cell, win: ref Tk->Toplevel, w: string);
};