Commit Graph

29 Commits

Author SHA1 Message Date
Benjamin Otte
3d45d53714 tests: Don't force black background in testwindows 2014-10-12 05:15:23 +02:00
Jasper St. Pierre
28f381e936 testwindows: Remove another reference to set_double_buffered 2014-06-21 00:30:59 -04:00
William Jon McCann
fc71cbe5a6 Remove most of the stock API usage from the tests
With the exception of GtkActions and the tests for stock items.
2013-06-24 19:53:08 -04:00
Alexander Larsson
30ad4e676f testwindows: Add a button to cause a repaint
This makes it easy to find various kinds of repaint bugs
2011-12-01 22:03:51 +01:00
Alexander Larsson
9613e6ae19 testwindows: Test transparent backgrounds 2011-12-01 22:03:51 +01:00
Benjamin Otte
dbd49744e3 tests: Make testwindows use GtkGrid 2011-09-27 05:37:14 +02:00
Benjamin Otte
3658e7a459 tests: Make testwindows dialog even more beautiful 2011-09-27 05:37:14 +02:00
Benjamin Otte
5e08c315b2 tests: Make editing window look more beautiful 2011-09-27 05:37:14 +02:00
Matthias Clasen
757837b611 Make tests compile without using GtkStyle api 2010-12-04 15:39:46 +01:00
Michael Natterer
3a0afce509 gtk: remove "gboolean homogeneous" from gtk_box_new()
Because it's FALSE in virtually all use cases.
2010-10-31 19:22:28 +01:00
Javier Jardón
a9894d4cf4 Use gtk_box_new() instead gtk_[v|h]box_new() 2010-10-30 05:22:58 +02:00
Benjamin Otte
aa70d351c4 tests: Get rid of gdk_drawable_get_size() usage in testwindows 2010-09-26 15:11:45 +02:00
Benjamin Otte
c340fb7efd tests: No need to allocate colors anymore 2010-09-26 15:11:31 +02:00
Javier Jardón
bd52a8541e tests/testwindows.c: Use accessor functions to access GtkWidget 2010-08-22 18:31:06 +02:00
Benjamin Otte
dc7a8f9be7 tests: unbreak testwindows test
Delete code that was broken and also used the APIs I just removed.
2010-08-15 03:51:39 +02:00
Benjamin Otte
8f21b09eee tests: remove "draw drawable" button from testwindows test
draw_drawable is gone soon. And testing the proper functioning of
drawing calls is Cairo's job anyway.
2010-08-10 21:02:27 +02:00
Benjamin Otte
8f19db7565 Replace gdk_rgb_find_color()
Use gdk_colormap_alloc_color() instead.
2010-08-10 21:02:26 +02:00
Javier Jardón
319d2bb4f1 [gdk] Remove GdkWindowObject public structure
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=622677
2010-07-01 02:26:34 +02:00
Vincent Untz
83719cbb90 Fix warning about pointer/int confusion
https://bugzilla.gnome.org/show_bug.cgi?id=594679
2009-09-12 13:23:09 +02:00
Alexander Larsson
812b3c451d Deprecate GDK_WINDOW_OBJECT and GdkWindowObject 2009-09-04 17:59:18 +02:00
Alexander Larsson
d5125660c1 Add test for gdk_window_restack 2009-09-02 23:39:57 +02:00
Alexander Larsson
5341efd4d4 Make win32 backend build and minimally work 2009-07-01 10:28:06 +02:00
Alexander Larsson
953be03acf Fix too many args warning
Apparently we missed one place when converting gdk_window_ensure_native
2009-06-03 14:50:10 +02:00
Alexander Larsson
287b821705 Rename gdk_window_set_has_native to gdk_window_ensure_native
This also removes the (unimplemented) possibility to change a window to
non-native. This seems generally not very useful, and there are some problems
with it, for instance if two "users" need a window to be native and then
one of the "users" doesn't need it anymore it can't change it back, because
it is unaware of the other reason the window is native.
2009-06-01 11:57:59 +02:00
Alexander Larsson
a6e3da1319 Add some test for draw_drawable graphics exposures 2009-05-27 17:10:37 +02:00
Alexander Larsson
13766991a7 testwindows - support for manually selecting window pos and size 2009-04-02 10:15:21 +02:00
Alexander Larsson
c2ee81ea86 Add support for scrolling to testwindows 2009-04-02 10:15:21 +02:00
Alexander Larsson
9f3e348e32 Make testwindows support multiple selected windows 2009-04-02 10:15:19 +02:00
Alexander Larsson
4e207a0336 tests/testwindows - play with GdkWindows 2009-04-02 10:15:18 +02:00