简体   繁体   中英

WxPython custom styled controls

I'd need to make a new style for buttons and text entry controls. It should look something like 图片

Is there a way to do this?

For a start, try to look up the wx.Frame style property wx.FRAME_SHAPED here: http://docs.wxwidgets.org/stable/wx_wxframe.html#wxframe
I think it only applies to wx.Frame but maybe you can bind an event to mouse clicks inside the custom-shaped frame.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM