推荐学习书目
› Learn Python the Hard Way
Python Sites
› PyPI - Python Package Index
› http://diveintopython.org/toc/index.html
› Pocoo
值得关注的项目
› PyPy
› Celery
› Jinja2
› Read the Docs
› gevent
› pyenv
› virtualenv
› Stackless Python
› Beautiful Soup
› 结巴中文分词
› Green Unicorn
› Sentry
› Shovel
› Pyflakes
› pytest
Python 编程
› pep8 Checker
Styles
› PEP 8
› Google Python Style Guide
› Code Style from The Hitchhiker's Guide
piaochen0
V2EX  ›  Python

wxPython,如何自定义列表项?

  •  
  •   piaochen0 · Jan 27, 2018 · 3604 views
    This topic created in 3224 days ago, the information mentioned may be changed or developed.

    项目要临时用到 wxpython,昨天刚接触,今天要做出来
    搜了好多地方,都没找到类似的效果。
    基本上就是一个列表,列表中每一项应该是一个 pannel,其中有文字,有按钮。
    这个应该用 wxpython 中的哪种控件,给个思路或者扔个链接也行
    比较急,谢大家了。

    见图:
    http://xianyu.niuke.info/images/list.png

    2 replies  •  2018-01-28 00:01:41 +08:00
    chenstack
    chenstack
    Jan 27, 2018❤️1
    1
    wxpython 说到底也是 wxWidgets 的绑定,控件都是各平台原生的实现。真要做的话这个估计要用 ScrolledWindow 模拟列表。
    piaochen0
    piaochen0
    OP
    Jan 28, 2018
    2
    @chenstack 非常感谢,这个可以。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2532 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 10:48 · PVG 18:48 · LAX 02:48 · JFK 05:48
    ♥ Do have faith in what you're doing.