- How to make buttons in python
- Why to use them
- To be able to design and animate buttons in python .
- Make buttons use in any GUI based applications . ( It will be preety handy )
- To Redirect user to any other module using buttons .
Library | README | Install |
---|---|---|
Pygame | Pygame/PyPi | pip install pygame |
- Animating Button Using MOUSEOVER Porperty of pygame .
- Adding Image Buttons.
i. PNG images as buttons . ii.Simple Color images as buttons .
- Assigning Loop Switching and Module Switching to Buttons .
- Taking Input from USER and rendring it on a button .
- Applying logic to leave/quit buttons .
- clone the repo or copy the source code ( be sure you maintain files in same directory ) .
- Run main.py .
- Enter your name -> click play -> welcome screen -> come back -> click close .
- You will be headed to next module -> check out all buttons .
- Looks cool !! .
- Check out line of code and then start making changes , happy coding ! .
![]() |
![]() |
![]() |
---|