Re: window on top of parent window
- From: "Heeyeon Hwang" <hyhwang iname com>
- To: <gtk-app-devel-list gnome org>
- Subject: Re: window on top of parent window
- Date: Fri, 11 Jan 2002 20:36:52 +0900
Hi all,
I tried to Grab some keys in my gtk window.
Like bellow but fail.
What is the problem in my code.
Please help me.
Window xwin;
Display *dpy;
int keycodeToGrab;
GdkWindowPrivate *window_private;
window_private = (GdkWindowPrivate*) window->window;
keycodeToGrab = XKeysymToKeycode(window_private->xdisplay, XK_i );
XGrabKey(window_private->xdisplay, keycodeToGrab, ControlMask,
window_private->xwindow, True, GrabModeAsync, GrabModeAsync );
From: Heeyeon Hwang
hyhwang iname com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]