Linux Mastering Development

Is it possible to use GDK to get the image/pixel data of any arbitrary X11 window using the window’s name?

Summary I am writing a script (in Python 3.X) to do image detection on a number of different GUI’s in Linux. Can GDK be used to get a pixel buffer of any X11 window? If so, how? I am currently using the wnck library I’m aware of this thread, but it only shows getting the […]