Skip to content

Commit 1473687

Browse files
authored
Create README.md
1 parent 444d15b commit 1473687

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
## Description:
2+
- My project works on Event Handling.
3+
- Event Handling In Tkinter Python means to bind the keyboard or mouse buttons to the Tkinter and use them to call some functions.
4+
- For GUI we will use **"tkinter module"** because it’s very easy to learn and use.
5+
- We use **bind()** function to bind keys and functions to each other.
6+
7+
## Procedure:
8+
```python
9+
from tkinter import *
10+
```
11+
- First after importing modules, we will then initialise tkinter
12+
- After that we will set Height and width of the variables.
13+
- Then we will set the title for **GUI** and geometry of **GUI**.
14+
- After that we will define **me()** function which will tell how much time you have clicked.
15+
- Then we will use **bind()** function which will bind left and right mouse button to root.
16+
17+
## Sample Output:
18+
![LGM](https://github.com/AmitGupta700/Awesome_Python_Scripts/blob/main/GUIScripts/Event%20Handling/Images/output.png)
19+
20+
## For any query please contact:
21+
<a href="https://www.linkedin.com/in/amit-gupta-681206191/">LinkedIn</a>

0 commit comments

Comments
 (0)