News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

PHP-GTK Community:
Click Coordinates & Grabbing Screenshots
October 02, 2007 @ 12:54:00

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.

0 comments voice your opinion now!
cooridnate click screenshot grab gtkimage gdkpixbuf cooridnate click screenshot grab gtkimage gdkpixbuf


blog comments powered by Disqus

Similar Posts

Elizabeth Smith's Blog: How to Compile PHP5.2 and PHP-GTK2 on Windows using Visual C++ Express

PHPied.com: phpDoc clip library for TextPad

PHP-GTK Community Site: Install PHP-GTK 2 on MacOS X

DevShed: Building the Index Page for a PHP Email Application

Derick Rethans' Blog: Pimping Xdebug stack traces


Community Events





Don't see your event here?
Let us know!


framework podcast language update library deployment interview install release symfony zendserver laravel series tips opinion list community package api introduction

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework