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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file mmw-1.1.tar.gz
.
File metadata
- Download URL: mmw-1.1.tar.gz
- Upload date:
- Size: 20.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 610ec274e17e8a478e0428a0018262cb96f9cd9511cc85700b0ae489bf5c2472 |
|
MD5 | 26bcfe62108877befcd6ca7ed983b0e9 |
|
BLAKE2b-256 | dd6f94a18167c3ad233fe857604792d13615170d25ecf1e79682abfc54923c9a |
File details
Details for the file mmw-1.1-py3-none-any.whl
.
File metadata
- Download URL: mmw-1.1-py3-none-any.whl
- Upload date:
- Size: 26.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a4918cb8108f79e031be97b30ce9fd819fb7d42d00e0744cb9a3e1b39237540 |
|
MD5 | 547553c7d82f7cc7a00803dc7a82730b |
|
BLAKE2b-256 | be749a9af269687bd6b11d3783352c46d4771064b5d56b9e1f434eaefcd11d94 |