Comment créer un translucide / rectangle alpha-transparent en utilisant wxpython?
-
26-09-2019 - |
Question
J'ai un wx.panel et je veux mettre un rectangle sur une partie translucide de celui-ci.
Comment puis-je faire cela en utilisant wxpython?
La solution
Vous pouvez le faire en utilisant un wx.GraphicsContext , et il y a un bon exemple dans la démo wxPython (situé dans la catégorie Divers).
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow