wax.containers.OverlayContainer
Container that takes an arbitrary number of windows, and stacks them
on top of each other. Controls are hidden by default.
AddComponent(self, window, expand, stretch, align, border)
# make sure the parents are correct
if waxconfig.WaxConfig.check_parent:
if window.GetParent() is not self:
utils.parent_warning(window, self)
flags = 0
if stretch:
flags |= wx.EXPAND
if align:
flags |= {
"t": wx.ALIGN_TOP,
"c": wx.ALIGN_CENTER,
"b": wx.ALIGN_BOTTOM,
"r": wx.ALIGN_RIGHT,
"l": wx.ALIGN_LEFT,
}.get(align.lower()[:1], 0)
if border:
flags |= wx.ALL
flags |= wx.FIXED_MINSIZE
self.sizer.Add(window, expand, flags, border)
[member '__doc__']
Documentation for this class
[member '__module__']
The module that this class belongs to