hi there, without trying your code myself, an actor (apart from the stage) needs to be :reactive in order to emit pointer events. making your two boxes reactive (set_reactive() method or :reactive property) will enable the ::enter-event and ::leave-event signals
so long :wq buz On Fri, Dec 25, 2009 at 11:56:45PM +0530, Ankur Sinha wrote: > hey, > > I'm making a ui, where I've designed a clutter stage and embedded it > into a pygtk window. > > a pic: > > http://ankursinha.fedorapeople.org/misc/Screenshot-Untitled% > 20Window-4.png > > The entire thing is a clutter stage, embedded into a pygtk Window. I > want to increase the opacity of the two icon boxes(the airplane and the > train) when the mouse goes over them. Since the stage is embedded into a > pygtk window, the events are handled by the event handler of the Window > and not the stage. (Or I'm just missing something really basic) > > the code is available at: > > https://fedorahosted.org/fedora-tour/browser/frontend1 > > Can someone please guide me on how to handle events on clutter and > (manipulate objects based on these events) while embedding it into > pygtk? > > regards, > Ankur > > -- > To unsubscribe send a mail to [email protected] > -- Home is where you hang your @ GnuPG Fingerprint: 2FFF FC48 C7DF 1EA0 00A0 FD53 8C35 FD2E 6908 7B82
signature.asc
Description: Digital signature
