Tkinter bind click event of a Label to open Toplevel child window on bind

preview_player
Показать описание
There is no Command option for the Tkinter Label, so we will use bind option to executed and open Check window.

Here we will have two labels, one is of different font and style. On click of this label we will execute another function by using bind option of the lebel.

ON click of the label the function will execute and open the child window.

#TkinterLabel #BindLabel #tkinterClick #ClickEventLabel #python #tkinter #plus2net #python

Рекомендации по теме
Комментарии
Автор

How to call a function using short key like enter f10 any other also.
Plz make a video for us i will be glad if done

skpiarmohammad
Автор

The function which We use in binding the label in that function we give *args as argunent should we also give event as argument and if not what is the difference between event argument and the *args

siblings_kitchen
Автор

When I used your code to implement a specific function, when I clicked on the Label, this error appeared
TypeError: create() takes 0 positional arguments but 1 was given
This create() is the name of the function
Why did this error appear please?
thanks alot

bebomrget
Автор

Sir I have one big question
I have one data serial number and name and age this heading then I enter the value serial numbers and name and age
Then I enter then automatically create next all text box then I enter this how sir made the serial number automatically generated sir please make one vedieo sir

krishnajagadeesh
Автор

It's awesome how we're learning a lot from ur videos 🙏🏾
But I'm struggling with a Toplevel window trying to display a 4-page PDF file using tkPDFViewer. I'm wondering whether it's even workable. Pls if there's a way, advise.. thanks Sir.

funnyclips