Events on a GDK window



Hi,

I am trying to get events from the X root window.
I have obtained the root window with:

gdk_get_default_root_window ()

(which returns a GDK window)

but now, I am trying to set events with

g_signal_connect ()

but every type of event I am using gives me the following error:

(<unknown>:13228): GLib-GObject-WARNING **: gsignal.c:1716: signal
`button-release' is invalid for instance `0x52cef0'

Any help?

Ciao,

Fabio



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