Receiving events on a gdk window.



Hello,

I am trying to write an xscreensaver using gtk (pygtk really). An xscreensaver must draw on an externally supplied X window (either supplied on the command line or as a virtual root). Can somebody explain to me how to make such an externally supplied window react to exposure events? I do know
how to draw on them.

The gtk connect method seems to work only with widgets, not gdk windows.

Best regards,
Michel




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