Show info
This commit is contained in:
parent
361a1bf219
commit
b45a95de1a
@ -19,6 +19,7 @@ from os import listdir
|
|||||||
from os.path import isdir
|
from os.path import isdir
|
||||||
from os.path import isfile
|
from os.path import isfile
|
||||||
import sys
|
import sys
|
||||||
|
import webbrowser
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import cPickle as pickle
|
import cPickle as pickle
|
||||||
@ -348,6 +349,9 @@ if osname != 'android':
|
|||||||
elif res == 2:
|
elif res == 2:
|
||||||
tkMessageBox.showerror("Error", "UnZip error")
|
tkMessageBox.showerror("Error", "UnZip error")
|
||||||
|
|
||||||
|
def cmd_Info(self):
|
||||||
|
webbrowser.open_new('help.pdf')
|
||||||
|
|
||||||
def saveSettings(self):
|
def saveSettings(self):
|
||||||
self.save.path = self.var_path.get()
|
self.save.path = self.var_path.get()
|
||||||
self.save.port = self.var_port.get().split(';')[0]
|
self.save.port = self.var_port.get().split(';')[0]
|
||||||
@ -808,6 +812,17 @@ if osname != 'android':
|
|||||||
self.btnUpg.configure(highlightcolor="black")
|
self.btnUpg.configure(highlightcolor="black")
|
||||||
self.btnUpg.configure(text='''Update''')
|
self.btnUpg.configure(text='''Update''')
|
||||||
|
|
||||||
|
self.btnInfo = tk.Button(self.root)
|
||||||
|
self.btnInfo.place(relx=0.61, rely=0.91, height=22, width=100)
|
||||||
|
self.btnInfo.configure(activebackground="#d9d9d9")
|
||||||
|
self.btnInfo.configure(activeforeground="#000000")
|
||||||
|
self.btnInfo.configure(background="#d9d9d9")
|
||||||
|
self.btnInfo.configure(command=self.cmd_Info)
|
||||||
|
self.btnInfo.configure(foreground="#000000")
|
||||||
|
self.btnInfo.configure(highlightbackground="#d9d9d9")
|
||||||
|
self.btnInfo.configure(highlightcolor="black")
|
||||||
|
self.btnInfo.configure(text='''Info''')
|
||||||
|
|
||||||
self.pathList = ttk.Combobox(self.root)
|
self.pathList = ttk.Combobox(self.root)
|
||||||
self.pathList.place(relx=0.04, rely=0.05, relheight=0.06, relwidth=0.41)
|
self.pathList.place(relx=0.04, rely=0.05, relheight=0.06, relwidth=0.41)
|
||||||
self.pathList.configure(values=['./pyren09a', './pyren09a'])
|
self.pathList.configure(values=['./pyren09a', './pyren09a'])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user