Hi Megh, The position of an actor is tied to its parent. So that 'x' is the x relative to the parent actor. To get the absolute x position on the stage you should use actor.get_transformed_position ()
2014-04-17 14:45 GMT+02:00 Megh <meg...@gmail.com>: > How can I get x position of a panel item (appMenu) > > Earlier actor.x gave me the correct position but now it gives me only 0 ? > > Affects my extension Wintitle in 3.12 . > > _______________________________________________ > gnome-shell-list mailing list > gnome-shell-list@gnome.org > https://mail.gnome.org/mailman/listinfo/gnome-shell-list > >
_______________________________________________ gnome-shell-list mailing list gnome-shell-list@gnome.org https://mail.gnome.org/mailman/listinfo/gnome-shell-list