code: purgatorio

ref: 2459e34d77e2e21ef829c0dfaafd99433899494f
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);
};