a***@googlemail.com
2014-09-06 14:42:27 UTC
I'm working with an app that I want to capture user inputs and use them to
draw rectangles onto the screen which then move on a timer until more
inputs are captured. Originally I solved this by setting a high
transparency for the panel, but this isn't ideal as the rectangles are also
highly transparent.
I thought I'd found a solution in using wx.ScreenDC() to draw directly to
the screen, but I found that this caused the timer to no longer activate.
I can fix this with the final line in the attached code, but doing so
causes flickering. Is there some way to fix this? or some better way to
do what I'm doing?
draw rectangles onto the screen which then move on a timer until more
inputs are captured. Originally I solved this by setting a high
transparency for the panel, but this isn't ideal as the rectangles are also
highly transparent.
I thought I'd found a solution in using wx.ScreenDC() to draw directly to
the screen, but I found that this caused the timer to no longer activate.
I can fix this with the final line in the attached code, but doing so
causes flickering. Is there some way to fix this? or some better way to
do what I'm doing?
--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.