self.f1.Show(visible) self.f2.Show(visible) #---------------------------------------------------------------------- if __name__ == '__main__': import sys, os app = wx.App(redirect=None) from gui.controls import Button, Label, TextBox, CheckBox, ListBox, ComboBox from gui.windows import Window w = Window(title="hello world", name="frmTest", tool_window=False, resizable=True, visible=False, pos=(180, 0)) o = Button(w, name="btnTest", label="click me!", default=True) o = Label(w, name="lblTest", alignment="right", size=(-1, 500), text="hello!") o = TextBox(w, name="txtTest", border=False, text="hello world!") o = CheckBox(w, name="chkTest", border='none', label="Check me!") o = ListBox(w, name="lstTest", border='none', items={