wxpita
2016-08-23
1 0 0
no vote
Other
Earn points
WxPita is a a wrapper library for wxPython, which is itself a wrapper library for the wxWidgets cross-platform GUI framework.
WxPita has two main goals:
- Allow the structure of your layout code to correspond more closely to the structure of your GUI
- Allow event callbacks to be bound and defined in a single step
By accomplishing these two goals, wxPita lets you write simpler, more maintainable GUI code.
Let's take a look at a simple example:
The code for this example:
``` from wxpita import * import time
f = SizedFrame [ Button(name='btn1', label='Button 1'), Button(name='btn2', label='Button 2'), TextCtrl(name='textc', style='te_multiline', expand=True, proportion=1), ]
@f.btn1.butto
python
gui
wxWidgets
wxpython
Related Source Codes
Word memorization software
0
0
no vote
python-ela
0
0
no vote
Implementing ntrip function with Python
0
0
no vote
There is a truck with a maximum cargo volume of 10
0
0
no vote
Implementing Gobang in Python
0
0
no vote
No comment