Files
Phoenix/docs/sphinx/rest_substitutions/snippets/python/converted/wx.Window.Create.1.py
2019-05-24 15:35:56 -07:00

7 lines
309 B
Python

panel = wx.Panel() # Note: default constructor used.
panel.Hide() # Can be called before actually creating it.
panel.Create(parent, wx.ID_ANY, ...) # Won't be shown yet.
... create all the panel children ...
panel.Show() # Now everything will be shown at once.