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):
|
def click(self):
|
||||||
print(self.value.get())
|
print(self.value.get())
|
||||||
|
Arrayvalue=self.value.get().split(" ")
|
||||||
|
for value in Arrayvalue:
|
||||||
try:
|
try:
|
||||||
strlink=geturlprogrammetv(self.data[self.value.get()])
|
strlink=geturlprogrammetv(self.data[value])
|
||||||
link= Labbelink(self.resultframe.interior,self.data[self.value.get()],strlink)
|
link= Labbelink(self.resultframe.interior,self.data[value],strlink)
|
||||||
link.pack()
|
link.pack()
|
||||||
self.resultframe.update()
|
self.resultframe.update()
|
||||||
print(self.data[self.value.get()])
|
print(self.data[value])
|
||||||
|
|
||||||
emision=parse_emmission(strlink)
|
emision=parse_emmission(strlink)
|
||||||
|
|
||||||
@ -131,6 +132,7 @@ class Interface:
|
|||||||
print("numero de chaine inconnue")
|
print("numero de chaine inconnue")
|
||||||
unknow=Label(self.resultframe.interior, text="numero de chaine inconnue")
|
unknow=Label(self.resultframe.interior, text="numero de chaine inconnue")
|
||||||
unknow.pack()
|
unknow.pack()
|
||||||
|
|
||||||
self.value.set("")
|
self.value.set("")
|
||||||
|
|
||||||
def click_reset(self):
|
def click_reset(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user