demos/05_gridlayout.py
changeset 117 8680c2333546
parent 116 165b5d65e1cb
child 118 8c7970520632
--- a/demos/05_gridlayout.py	Sun Feb 15 17:50:24 2015 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-#!/usr/bin/env python3
-
-import demobase
-
-from tuikit.layouts.grid import GridLayout
-from tuikit.widgets.label import Label
-
-l1 = Label('Hello')
-l1.sizemin.update(10, 1)
-
-grid = GridLayout()
-grid.add(l1, 1, 1)
-grid.update(10, 10)
-
-print(grid._grid_size)
-print(grid._grid)
-
-for row in range(grid.row_count):
-    for col in range(grid.column_count):
-        w = grid.get_widget_at(row, col)
-        name = w.name if w else '--'
-        print(name.center(16), end='')
-    print()
-
-print(l1.pos)
-print(l1.size)
\ No newline at end of file