Re: programmatic screenshots?
- From: Andrew Cowie <andrew operationaldynamics com>
- To: gtk-app-devel-list gnome org
- Subject: Re: programmatic screenshots?
- Date: Thu, 04 Dec 2008 08:21:03 +1100
On Wed, 2008-12-03 at 12:19 +0200, Stefan Kost wrote:
do you have it in a form, where you have one *.c and one *.h file with
lots of static functions and one public function
More or less.
It's in the Java bindings as a function[1] that returns a Pixbuf, as in:
pixbuf = Screenshot.capture();
which a few layers later reaches this:
http://research.operationaldynamics.com/bzr/java-gnome/mainline/src/jni/gnome_screenshot_capture.c
http://research.operationaldynamics.com/bzr/java-gnome/mainline/src/jni/gnome_screenshot.h
which in turn just calls the stuff from what in gnome-utils is
gnome-screenshot/screenshot-utils.c and friends.
AfC
Sydney
[1]: yes yes, I realize full well that a class method is still a method
in Java speak. Still, I've taken to calling them functions since
everyone else tends to use "method" to exclusively refer to functions
that are members of, and operate on, object instances. Whatever. Anyway,
http://java-gnome.sourceforge.net/4.0/doc/api/org/gnome/screenshot/Screenshot.html
--
Andrew Frederick Cowie
Operational Dynamics is an operations and engineering consultancy
focusing on IT strategy, organizational architecture, systems
review, and effective procedures for change management: enabling
successful deployment of mission critical information technology in
enterprises, worldwide.
http://www.operationaldynamics.com/
Sydney New York Toronto London
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]