RE: GTK mouse position
- From: éæå (CottonChen) <CottonChen awindinc com>
- To: <gtk-app-devel-list gnome org>
- Subject: RE: GTK mouse position
- Date: Wed, 16 Apr 2008 18:05:04 +0800
Dear All,
Sorry for bothering you all so much.
I get the answer by finding out from mail list archives.
gdk_window_get_pointer can do this.
Cotton Chen
________________________________
Dear all,
I'm new in developing applications by GTK.
I'd like to get the current mouse poistion and mouse image from current screen.
After searching by Google and from Gnome library manuals, I could only find XQueryPointer that satisfies
me needs. But is there any interfaces in GTK+/GDK could do this? I mean get current mouse pointer's position
and image.
I don't want to include any of Xlib's files or using Xlib's interfaces because I'd like to port the
Application to MAC with GTK+ and without X.
--
Cotton Chen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]