🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

pgwidget

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pgwidget

Widgets for pygame

0.8.1
PyPI
Maintainers
1

pgwidget

pgwidget is a Python library for easy creation of GUI widgets in pygame environment (+web engine experimental).

Installation

Use the package manager pip to install pgwidget.

pip install pgwidget

Usage

import pgwidget.pgwidget_core as pgw

buttons=pgw.PgWidget()
button1=pgw.Button([800,100],[80,20],"Submit")
buttons.elements.append(button1)

pgwidgets=[buttons]
pgw.main_program_loop(pgwidgets,None)

In examples folder you can get several GUI elements.

Examples of UIs possible to create with pgwidget

Project Forloop.ai obrazek obrazek Older example alt text

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

Currently implemented

  • Checkbox
  • Radio button
  • Button (image)
  • Button (classical)
  • Table (spreadsheet)

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts