https://github.com/jorjmckie/wxsimplegui
A standard GUI collection written in wxPython
https://github.com/jorjmckie/wxsimplegui
standard-dialogs standard-gui wxpython
Last synced: 11 months ago
JSON representation
A standard GUI collection written in wxPython
- Host: GitHub
- URL: https://github.com/jorjmckie/wxsimplegui
- Owner: JorjMcKie
- License: mit
- Created: 2017-12-01T11:54:35.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-15T19:17:26.000Z (over 8 years ago)
- Last Synced: 2025-03-18T03:18:28.430Z (about 1 year ago)
- Topics: standard-dialogs, standard-gui, wxpython
- Language: Python
- Size: 29.3 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# wxsimpleGUI
A standard GUI collection written in wxPython
Use like `import wxsimpleGUI as sg`.
The following functions are currently implemented:
|name|purpose|
|----|-------|
|SelectOne|Select one string out of a list|
|SelectMult|Select multiple out of a list of strings|
|DirDlg|Standard directory selection|
|OpenDlg|Multiple file selection|
|ExcBox|Display traceback of last exception|
|YesNoBox|Return True or False|
|InputBox|Return user entered string|
|PasswordBox|Return user entered password|
|MultInputBox|Simple multiple data input dialog|
|MsgBox|The standard one|
|BusyInfo|Display non-blocking info|
|ScrollingTextbox|Display text or text files in a scrollable window|
|ProgressBar|Display a progress bar|
# Example
```
import wxsimpleGUI as sg
answer = sg.YesNoBox("Do you smoke?", "an honest answer please!")
if answer:
print("you are reducing your lifetime expectancy!")
else:
print("I hope you didn't lie ...")
'''