Folders and files Name Name Last commit message
Last commit date
parent directory
View all files
Buttons in Python
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
What is Included Inside ✨
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 ! .
You can’t perform that action at this time.