Is it possible to get a wx.MediaCtrl to respond to mouse events? The idea is that I want to have a button-less media control which will play when I 'click' it with mouse. ('double-clicking' will launch the video in another, more elaborate window). Binding it to an mouse event in my normal way doesn't have any effect. (Windows Vista, wxPython 2.8, python 2.6)
Is it possible to get a wx.MediaCtrl to respond to mouse events? The idea is that I want to have a button-less media control which will play when I 'click' it with mouse. ('double-clicking' will launch the video in another, more elaborate window). Binding it to an mouse event in my normal way doesn't have any effect. (Windows Vista, wxPython 2.8, python 2.6)
Is it possible to get a wx.MediaCtrl to respond to mouse events? The
idea is that I want to have a button-less media control which
will play
when I 'click' it with mouse. ('double-clicking' will launch
the video
in another, more elaborate window). Binding it to an mouse
event in my
normal way doesn't have any effect. (Windows Vista, wxPython
2.8, python
2.6)
FWIW, when I experimented with this a few weeks ago, I found that different
wxMediaCtrl back ends behaved completely differently in response to mouse
commands. Different combinations of clicking, double-clicking, and
right-clicking produced different results in different situations. For
example, I seem to recall one experiment where you had to double-click to
start the video and single-click to stop it (or maybe it was the other way
around.)
I was never able to capture the mouse events to control this and make it all
behave consistently.
As I need to potentially display different media types using different back
ends simultaneously, I ended up writing my own very simple control bar.