def __init__(self, parent, *args, **kwargs):
"""
create a new switcher instance.
:param parent: the parent frame -- this is designed to go on an
AddBookFrame object
:params *args, **kwargs: all the other arguments that a wx.Window takes.
"""
wx.Panel.__init__(self, parent, *args, **kwargs)
self.add_book_frame = parent
## add some widgets here to do the switching
评论列表
文章目录