Hi! I have two subclasses of pyglet, InfoWindow and MainWindow. I have one instance of each, info_window and main_window. This is just a toy example. I want info_window to display the mouse coordinates when it's in main_window, not when it's in itself. I thought obviously I need to use the on_mouse_motion event. But when I use this event in info_window, it only catches mouse motion in itself, not main_window. So the question is, how do I make info_window handle the on_mouse_motion event that occurs in main_window?
I realise that there are other ways of achieving my desired behaviour, but I thought it would be quite nice to be able to achieve it the way I described above, that is, handling another window's event. Is it possible? -- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pyglet-users. For more options, visit https://groups.google.com/d/optout.
