Skip to main content

This is a library for displaying curses-like windows

Project description

# mmw Github link: http://github.com/Mm2PL/mmw ## What is it? It is a library that generates simple pseudo-graphic windows.

## How to use it? Examples:

1. Code: `python import mmw screen = mmw.Screen() window = mmw.Window('Our window') screen.add_window(window)  # Link the window to the screen window.text = "Let's add some text" window.buttons = ['And', 'some', 'buttons'] window.selectedButton = 0  # Select the first button screen.clear()  # Screen.draw() doesn't clear the screen by itself screen.draw()  # Draw the screen screen.get_char()  # Wait until the user presses a key ` Output: ` +-----------Our window-----------+ |Let's add some text             | |                                | | [>And<]  [ some ]  [ buttons ] | +--------------------------------+ ` 2. See [mmwDemo.py on github](https://github.com/Mm2PL/mmw/blob/master/mmwDemo.py)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for mmw, version 1.1
Filename, size File type Python version Upload date Hashes
Filename, size mmw-1.1-py3-none-any.whl (26.3 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size mmw-1.1.tar.gz (20.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page