Q: low level event handlin


Is it possible to get low level X events in a GTK application?

Specifially, I want to get informed when the CUT_BUFFER0 property of the
root X window has changed. Using Xlib calls, I'd just do a

  XSelectInput (dpy, RootWindow (dpy, screen_num), PropertyChangeMask);

and check for PropertyNotify events in the event loop. Is this same thing
possible using GTK, and if yes, how?


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]