totem python plugin programming: is there any signal for video mouse click?
I want that I click with the mouse on the video, it paused.
I notice that there is "BaconVideoWidget" which I guess is the video rendering widget but it don't have signal named "clicked":
I assume from your tags (and from what I know about totem) that you're using pyGTK... That might have been something that you want to mention in your post ;)
This isn't something that you will be able to do through the totem widget, AFAIK. You would set up an event handler on the window (http://www.pygtk.org/pygtk2tutorial/...tHandling.html) and then check if the click falls inside the totem widget. It's been a while since I had a look at pyGTK, you may even be able to check only for clicks that fall inside the widget itself :)
Hope this helps,
How do I catch the event of the click on the window?
I didn't found single of it in gtk.window and its parent widgets.
found button-press-event although I didn't success to click on anything to trigger it
|All times are GMT -5. The time now is 01:56 AM.|