comparison 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
comparison
equal deleted inserted replaced
-1:000000000000 0:e9a9cd732c1e
1 definit = function () {
2 defview = createwidget (-1, [
3 'type' = 'view';
4 'name' = 'graphics view';
5 'origin' = ['x' = 1; 'y' = 1;];
6 'size' = ['x' = 400; 'y' = 500;];
7 ]);
8 defscroll = createwidget (defview, ['type' = 'scroll';]);
9 defcanvas = createwidget (defscroll, [
10 'type' = 'canvas';
11 'origin' = ['x' = 1; 'y' = 1;];
12 'size' = ['x' = 400; 'y' = 500;];
13 'borderwidth' = 1;
14 ]);
15 };