How to make custom buttons in wx?

前端 未结 4 667
刺人心
刺人心 2021-01-05 11:47

I\'d like to make a custom button in wxPython. Where should I start, how should I do it?

4条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-05 12:20

    When I wanted to learn how to make custom widgets (buttons included) I referenced Andrea Gavana's page (full working example there) on the wxPyWiki and Cody Precord's platebutton (the source is in wx.lib.platebtn, also here in svn). Look at both of those and you should be able to build most any custom widget you would like.

提交回复
热议问题