首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Python > wxpita

wxpita

  • 资源大小:19.22 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: python gui wxWidgets wxpython

资 源 简 介

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

文 件 列 表

examples
container
core
databind
ex1.py
ex10.py
ex11.py
ex12.py
ex13.py
ex17.py
ex2.py
ex3.py
ex4.py
ex5.py
ex7.py
ex8.py
ex9.py
lib
markup
VIP VIP
0.243939s