The simplest GUI builder (tk/gtk), for RAD scripts
Project description
A simple example, turn your methods into gui forms
from grun import grun @grun def my_window( name, passwd, cookie=["1 day","1 week","1 month"] ): '''Hello, I'm the method's doc name: Login passwd: Password cookie: How long ? ''' if name == passwd: return True else: grun("Set login == password !") print my_window(cookie="1 day")
will display :
Works on Linux/BSD, Windows and Mac using Tk framework (or pygtk when available)
See more infos
Version 0.12 (2009/10/03):
tk popup should work as expected on win32 (no more tk.mainloop) !!!!!!!
tk winform should focus on first entry now (seems not work on win ?!)
popup/popapp actions wich return something returns it after grun.popup
Version 0.11 (2009/10/01):
clipboard manager available grun.clipboard
better shortcut grun.popup()
better shortcut grun.form()
popup menu works with any types of value
popup menu support submenu too !
tk: text widget with usable scrollbars now
tk: fix in msgbox (always of type error)
tk: home-made-combobox, replaced by Tk.OptionMenu
tk: better simulation of tk popapp/popupmenu (no more ‘close’ entry)
Version 0.1 (2009/09/28): Initial Public Release
Project details
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 grun-0.11.tar.gz
.
File metadata
- Download URL: grun-0.11.tar.gz
- Upload date:
- Size: 17.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | abf74d060054d1c05957a96fb164225f7d981022a4b427bc5c231dee8a4f6909 |
|
MD5 | 2b440ff06607014930f7b62656d82778 |
|
BLAKE2b-256 | 5c4d2c7c554ee0ef29ba10532694e62c51b951a5d5cae8dd2582bf959915e7c0 |
File details
Details for the file grun-0.11-py2.6.egg
.
File metadata
- Download URL: grun-0.11-py2.6.egg
- Upload date:
- Size: 42.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 693c3fe005fba42a42ca2f2a3156c5cfe8ffb3a1a66cef02188ce474711c8369 |
|
MD5 | 9cbaa2f25ca75390cc6fa18799a84612 |
|
BLAKE2b-256 | 40da6d5ce88de26a2b784feb76f566655b014b3408f601dc456183e48ca93bb5 |