- box = wxBoxSizer(wx.VERTICAL)
- box.Add(wxButton(win, 1010, "one"), 0, wx.EXPAND)
+ box = wx.BoxSizer(wx.VERTICAL)
+ box.Add(wx.Button(win, 1010, "one"), 0, wx.EXPAND)
box.Add((0,0), 1)
box.Add(wx.Button(win, 1010, "two"), 0, wx.ALIGN_CENTER)
box.Add((0,0), 1)
box.Add((0,0), 1)
box.Add(wx.Button(win, 1010, "two"), 0, wx.ALIGN_CENTER)
box.Add((0,0), 1)
(wx.Button(win, -1, 'two'), 0, wx.EXPAND),
(wx.Button(win, -1, 'three'), 0, wx.EXPAND),
(wx.Button(win, -1, 'four'), 0, wx.EXPAND),
(wx.Button(win, -1, 'two'), 0, wx.EXPAND),
(wx.Button(win, -1, 'three'), 0, wx.EXPAND),
(wx.Button(win, -1, 'four'), 0, wx.EXPAND),
- #(wxButton(win, 1010, 'five'), 0, wxEXPAND),
+ #(wx.Button(win, 1010, 'five'), 0, wx.EXPAND),
((175, 50)),
(wx.Button(win, -1, 'six'), 0, wx.EXPAND),
(wx.Button(win, -1, 'seven'), 0, wx.EXPAND),
((175, 50)),
(wx.Button(win, -1, 'six'), 0, wx.EXPAND),
(wx.Button(win, -1, 'seven'), 0, wx.EXPAND),
"and column widths are kept the same as all the others and all items "
"fill their available space. The horizontal and vertical gaps are set to "
"2 pixels each."
),
("More Grid Features", makeGrid2,
"and column widths are kept the same as all the others and all items "
"fill their available space. The horizontal and vertical gaps are set to "
"2 pixels each."
),
("More Grid Features", makeGrid2,
("Proportional resize", makeSimpleBoxShaped,
"Managed items can preserve their original aspect ratio. The last item has the "
("Proportional resize", makeSimpleBoxShaped,
"Managed items can preserve their original aspect ratio. The last item has the "