GTK/GDK Algorithm to take full screenshots of all monitors
问题 I'm fairly new to the whole GTK game and want to create an algorithm to take screen shot of all monitors. I was thinking something along these lines: gdk_display_manager_list_displays each display can have multiple screens (screens means monitors?) so use gdk_display_get_n_screens to get monitors per display from 1 get root gtk window of all screens from 2 create new Pixbuf for each root gtk window for each screen from 3 with gdk_pixbuf_new fill each pixbuf from 4 with gdk_pixbuf_get_from