totem python plugin programming: is there any signal for video mouse click?
ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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
If you did, you'll find reference to the EventBox (which you may not even need, depending on how the video widget is written), and sample code of how to connect an event-handling method to the 'button-press-event' that you mentioned.