On Wed, Sep 2, 2009 at 10:10 AM, Emmanuele Bassi<eba...@linux.intel.com> wrote:
> On Wed, 2009-09-02 at 10:35 +0400, Samium Gromoff wrote:
>
>> Is it possible to query pointer position outside event context,
>> similar to what gdk_display_get_pointer() does?
>
> no, Clutter does not expose any API for doing that because Clutter is
> not in the business of abstracting platforms.
>
> you should either use platform-specific API or, if you use clutter-gtk,
> then you can use the GDK API.

You could also create your own abstraction on top of Clutter in your
application. Install a capture handler that doesn't block event
propagation that stores the coordinates of all mouse events and
provide either direct access or access through functions.

/Øyvind K.
-- 
Intel Open Source Technology Center | http://oss.intel.com
--
To unsubscribe send a mail to clutter+unsubscr...@o-hand.com

Reply via email to