add multi chaine to gui
This commit is contained in:
parent
941bbf9d2f
commit
fe0d5a4954
10
chaineTV.py
10
chaineTV.py
@ -102,13 +102,14 @@ class Interface:
|
||||
|
||||
def click(self):
|
||||
print(self.value.get())
|
||||
|
||||
Arrayvalue=self.value.get().split(" ")
|
||||
for value in Arrayvalue:
|
||||
try:
|
||||
strlink=geturlprogrammetv(self.data[self.value.get()])
|
||||
link= Labbelink(self.resultframe.interior,self.data[self.value.get()],strlink)
|
||||
strlink=geturlprogrammetv(self.data[value])
|
||||
link= Labbelink(self.resultframe.interior,self.data[value],strlink)
|
||||
link.pack()
|
||||
self.resultframe.update()
|
||||
print(self.data[self.value.get()])
|
||||
print(self.data[value])
|
||||
|
||||
emision=parse_emmission(strlink)
|
||||
|
||||
@ -131,6 +132,7 @@ class Interface:
|
||||
print("numero de chaine inconnue")
|
||||
unknow=Label(self.resultframe.interior, text="numero de chaine inconnue")
|
||||
unknow.pack()
|
||||
|
||||
self.value.set("")
|
||||
|
||||
def click_reset(self):
|
||||
|
Loading…
Reference in New Issue
Block a user