def __init__(self, parent=None, app_name=None, app_version=None, app_url=None, *args, **kwargs):
"""Initialize the UploaderAppFrame
Args:
parent: the parent of this Frame
app_name: the name of the application (used as the window title and
in the about dialog)
app_version: the version of the application (used in the about dialog)
app_url: the url of the application (used in the about dialog)
"""
wx.Frame.__init__(self, parent, *args, **kwargs)
self._app_name = app_name
self._app_version = app_version
self._app_url = app_url
self._build_menu()
UploaderAppPanel(self)
self.SetTitle(self._app_name)
self.SetSizeHints(400, 600, # min window size
800, 700) # max window size (miseq has 1024x768 display resolution)
self.Show(True)
评论列表
文章目录