Re: How do I get the GdkWindow from a GtkWindow
- From: Tim Janik <timj gtk org>
- To: Jens <axon isl is>
- cc: Gtk+ Developers <gtk-devel-list redhat com>
- Subject: Re: How do I get the GdkWindow from a GtkWindow
- Date: Sat, 19 Feb 2000 15:24:29 +0100 (CET)
On Sat, 19 Feb 2000, Jens wrote:
> 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.
these sorts of questions are highly off-topic for the gtk development list,
post them to gtk-list@redhat.com or the gtk application development list
gtk-app-devel-list@redhat.com.
> Is it possible to get the GtkWindow that GdkWindow is using and pass
> that to the grab function?
yes, access GTK_WIDGET (window)->window afer the widget has been realized.
>
> If not, is there some other way in GTK+ that I can use to grab the
> pointer?
>
> Thanks,
> Jens P
> Axon ehf.
> Nr{隊X-ׯzYbު笶\l"ry-n7
---
ciaoTJ
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]