def __init__(self, parent, id, title):
wx.Frame.__init__(self, parent, id, title, size=(400, 250))
panel = wx.Panel(self, wx.ID_ANY)
panel.SetBackgroundColour('#000000')
text = """\n \t \t \t E-Z Music Downloader v1.0 \n \n Type in the song you want to downloading the the first box like so: "Song name by Artist" make sure you have both the artist and the song name in the query, in the second box type in what you want to name the Mp3. Next select High quality or Medium quality. High quality creates a larger file, therefore takes longer to convert. The status bar will show the actions the program is doing, once the status bar says done you can download another. To change the directory in which the song downloads, go to options in the menu bar and select "ChangeDownloadDirectory". \n \n \t \t Thanks for chosing E-Z Musick Downloader! \n \n \t (Songs converted using http://www.convertmemp3.com )"""
txt = wx.StaticText(panel, label=text)
txt.SetForegroundColour('#FFFFFF')
sizer = wx.BoxSizer(wx.HORIZONTAL)
sizer.Add(txt, 1, wx.EXPAND|wx.ALIGN_CENTER, 5)
panel.SetSizer(sizer)
self.Show()
self.Centre()
评论列表
文章目录