The PHP-GTK Community website has two new posts they've made recently - one concerning clicking on images and the other about grabbing screenshots:
- Getting (x,y) coordinates when clicking on images - I wrote an application where the user clicks on a GtkImage, and I want to know *where* the user clicked. Here's a simple object extending GtkAlignment.
- Grabbing a screenshot with Gdk - Need to grab a screenshot in your program? Or maybe you just need to create an image from an existing GtkWidget. There's an easy way to accomplish both tasks using GdkPixbuf::get_from_drawable();
Check out the rest of the site for more reference, applications and information for the PHP-GTK community.