Re: Get x position of panel item
- From: Carlos Soriano Sánchez <carlos soriano89 gmail com>
- To: Megh <meghjp gmail com>
- Cc: gnome-shell-list <gnome-shell-list gnome org>
- Subject: Re: Get x position of panel item
- Date: Thu, 17 Apr 2014 14:54:24 +0200
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 ()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]