]>
git.saurik.com Git - wxWidgets.git/blob - wxPython/samples/wxPIA_book/Chapter-11/basicgridsizer.py
2 from blockwindow
import BlockWindow
4 labels
= "one two three four five six seven eight nine".split()
6 class GridSizerFrame(wx
.Frame
):
8 wx
.Frame
.__init
__(self
, None, -1, "Basic Grid Sizer")
9 sizer
= wx
.GridSizer(rows
=3, cols
=3, hgap
=5, vgap
=5)
11 bw
= BlockWindow(self
, label
=label
)
16 app
= wx
.PySimpleApp()
17 GridSizerFrame().Show()