How can I add a outline border to a widget in wxpython? (Any widget, for example, a wx.Button)
How can I add a outline border to a widget in wxpython? (Any widget,
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
For panel, you can use
there you can choose from constants:
If you want to create border around
wx.Button, i would use my custom bitmap withwx.BitmapButton:For any widget, i think you can always create a
wx.Panelwith some border and put the widget into the panel.