How do I get the GdkWindow from a GtkWindow
- From: Jens <axon isl is>
- To: GNOME Development list <gnome-devel-list gnome org>, GTK Application Development List <gtk-app-devel-list redhat com>, GTK Development List <gtk-devel-list redhat com>
- Subject: How do I get the GdkWindow from a GtkWindow
- Date: Sat, 19 Feb 2000 12:24:31 +0000
Hi
I want t be able to grab the mouse pointer and confine it to a window. I
plan on using the function gdk_pointer_grab but the problem is I don't
have a GdkWindow pointer, just a GtkWindow pointer as I am using GTK+ to
create my widgets.
Is it possible to get the GtkWindow that GdkWindow is using and pass
that to the grab function?
If not, is there some other way in GTK+ that I can use to grab the
pointer?
Thanks,
Jens P
Axon ehf.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]