Matthias Clasen
2c7e567f05
Update callers
...
Adapt all our tests and examples to the new initialization api.
2017-01-19 13:50:17 -05:00
Benjamin Otte
78888ade0d
tools: Rewrite screenshotting code for shooter
...
Uses X directly, so bypasses both the need to query the root window and
to draw window contents.
2016-11-20 11:43:09 +01:00
Benjamin Otte
4445807421
shooter: Use root window size instead of screen size
...
Avoids usage deprecated screen size.
2016-10-16 18:17:21 +02:00
William Jon McCann
83ed0f8d47
docs: shorten the shooter timeout
2014-02-13 20:59:26 -05:00
William Jon McCann
57c618e887
docs: don't try to get the frame for CSD windows
2014-02-13 20:47:25 -05:00
William Jon McCann
9bb3b2ae3c
docs: get the pixbuf options from the existing instead of hardcoding.
2014-02-13 20:47:25 -05:00
William Jon McCann
7796e7863c
docs: don't use a loop for the docs shooter
2014-02-13 20:47:25 -05:00
Matthias Clasen
671b3181b0
Revert "shooter: Use the reftests code for taking screenshots"
...
This reverts commit 5c926ca6bb
.
This commit just dropped the nice shadow that we used to have
around these shots, without a justification.
2013-09-29 22:20:20 -04:00
Matthias Clasen
a92859a447
Revert "shooter: Make sure to free the surface"
...
This reverts commit 1a0c5acb26
.
2013-09-29 22:20:20 -04:00
Jasper St. Pierre
1a0c5acb26
shooter: Make sure to free the surface
2013-07-17 20:10:05 -04:00
Jasper St. Pierre
5c926ca6bb
shooter: Use the reftests code for taking screenshots
2013-07-17 16:57:55 -04:00
Benjamin Otte
d46deb35b2
docs: Remove unused variables in shooter example
2011-05-27 16:11:09 +02:00
Matthias Clasen
2d7583c0e3
Make gdk_window_{lookup,foreign_new}_for_display backend specific
...
At the same time, make GDK_IS_DISPLAY_X11 available in gdkx.h, and
add some exemplaric ifdefs to GTK+ code.
2010-12-21 12:06:59 -05:00
Benjamin Otte
cf51750bf4
API: x11: gdk_drawable_get_xid => gdk_window_get_xid
...
Also moves the function implementations to gtkwindow-x11.c.
2010-12-02 20:17:27 +01:00
Benjamin Otte
872ef111ec
gdk: Make gdk_pixbuf_get_from_*() bindable
...
The ownership of the return value for gdk_pixbuf_get_from_window() and
gdk_pixbuf_get_from_surface() was determined by the first argument.
Because that is an ugly design and the functions are new to GTK3, we
decided to adapt them.
And that adaptation was quite easy since almost no one passses anything
but NULL as the first argument.
2010-10-02 03:08:24 +02:00
Benjamin Otte
9403e167b4
docs: Get rid of gdk_drawable_get_size() usage in shooter example
2010-09-26 15:11:45 +02:00
Benjamin Otte
e316157671
API: gdk_pixbuf_get_from_drawable() => gdk_pixbuf_get_from_window()
...
The Colormap argument needed to be removed, so the renaming is just a
side effect.
2010-09-26 15:11:32 +02:00
Matthias Clasen
95eb4a868e
Remove GDK_DISPLAY() usage
2010-09-09 21:55:28 -04:00
Javier Jardón
3d77c49e16
docs/tools/shooter.c: Use accessor functions to access GtkWidget
2010-08-22 18:29:02 +02:00
Christian Dywan
2fafb74105
Force shooter process updates to match gtk_widget_draw closely
2010-05-03 01:51:17 +02:00
Christian Dywan
5995cdb370
Use gtk_widget_queue_draw_area instead of gtk_widget_draw in shooter
2010-05-03 01:51:17 +02:00
Sven Neumann
418374e45b
docs/tools/shooter.c (find_toplevel_window) fixed signedness of argument
...
2008-02-26 Sven Neumann <sven@gimp.org>
* docs/tools/shooter.c (find_toplevel_window)
* docs/tools/widgets.c (find_toplevel_window): fixed signedness of
argument passed to XQueryTree().
svn path=/trunk/; revision=19656
2008-02-26 14:14:40 +00:00
Jonathan Blandford
f0265b018e
Update so that toplevel windows accomodate for the titlebar when sizing.
...
Tue Nov 16 00:08:07 2004 Jonathan Blandford <jrb@redhat.com>
* docs/tools/widgets.c: Update so that toplevel windows accomodate
for the titlebar when sizing. Also clean up statusbar
* docs/reference/gtk/images/*png: update
2004-11-16 05:10:18 +00:00
Jonathan Blandford
0297f9a015
add the doc shooter to the docs dir as an uninstalled helper tool.
...
Mon Aug 23 17:19:19 2004 Jonathan Blandford <jrb@redhat.com>
* configure.in:
* docs/tools/Makefile.am (clean-local): add the doc shooter to the
docs dir as an uninstalled helper tool.
2004-08-23 21:22:55 +00:00