annotate toolboxes/graph_visualisation/lib/lefty/def.lefty @ 0:e9a9cd732c1e tip

first hg version after svn
author wolffd
date Tue, 10 Feb 2015 15:05:51 +0000
parents
children
rev   line source
wolffd@0 1 definit = function () {
wolffd@0 2 defview = createwidget (-1, [
wolffd@0 3 'type' = 'view';
wolffd@0 4 'name' = 'graphics view';
wolffd@0 5 'origin' = ['x' = 1; 'y' = 1;];
wolffd@0 6 'size' = ['x' = 400; 'y' = 500;];
wolffd@0 7 ]);
wolffd@0 8 defscroll = createwidget (defview, ['type' = 'scroll';]);
wolffd@0 9 defcanvas = createwidget (defscroll, [
wolffd@0 10 'type' = 'canvas';
wolffd@0 11 'origin' = ['x' = 1; 'y' = 1;];
wolffd@0 12 'size' = ['x' = 400; 'y' = 500;];
wolffd@0 13 'borderwidth' = 1;
wolffd@0 14 ]);
wolffd@0 15 };