Amazing-Python-Scripts

Форк
0

README.md

Buttons in Python

Aim 🎯

  • 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 .

Details 🛈

LibraryREADMEInstall
PygamePygame/PyPipip install pygame

What is Included Inside ✨

  1. Animating Button Using MOUSEOVER Porperty of pygame .
  2. Adding Image Buttons.

    i. PNG images as buttons . ii.Simple Color images as buttons .

  3. Assigning Loop Switching and Module Switching to Buttons .
  4. Taking Input from USER and rendring it on a button .
  5. Applying logic to leave/quit buttons .

How to get Started 🤔

  • 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 ! .

How it may Look 👀


Author : LakhanKumawat

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.