Javier Jardón
bd52a8541e
tests/testwindows.c: Use accessor functions to access GtkWidget
2010-08-22 18:31:06 +02:00
Javier Jardón
42c71a1d4a
tests/testtooltips.c: Use accessor functions to access GtkWidget
2010-08-22 18:30:58 +02:00
Javier Jardón
f332976871
tests/testsocket_common.c: Use accessor functions to access GtkWidget
2010-08-22 18:30:51 +02:00
Javier Jardón
b012f0f930
tests/testsocket.c: Use accessor functions to access GtkWidget
2010-08-22 18:30:44 +02:00
Javier Jardón
07e38c51e8
tests/testselection.c: Use accessor functions to access GtkWidget
2010-08-22 18:30:37 +02:00
Javier Jardón
1577a7d415
tests/testoffscreenwindow.c: Use accessor functions to access GtkWidget
2010-08-22 18:30:31 +02:00
Javier Jardón
26d837dd2f
tests/testoffscreen.c: Use accessor functions to access GtkWidget
2010-08-22 18:30:23 +02:00
Javier Jardón
0059a30f0d
tests/testinput.c: Use accessor functions to access GtkWidget
2010-08-22 18:30:17 +02:00
Javier Jardón
4a9c3bc214
tests/testiconview-keynav.c: Use accessor functions to access GtkWidget
2010-08-22 18:30:10 +02:00
Javier Jardón
252a8fc048
tests/testgtk.c: Use accessor functions to access GtkWidget
2010-08-22 18:30:03 +02:00
Javier Jardón
1b7b30bf31
tests/testframe.c: Use accessor functions to access GtkWidget
2010-08-22 18:29:56 +02:00
Javier Jardón
4210ec87b0
tests/testellipsise.c: Use accessor functions to access GtkWidget
2010-08-22 18:29:49 +02:00
Javier Jardón
067f418604
tests/testcairo.c: Use accessor functions to access GtkWidget
2010-08-22 18:29:42 +02:00
Javier Jardón
40dbb2deb2
tests/print-editor.c: Use accessor functions to access GtkWidget
2010-08-22 18:29:35 +02:00
Javier Jardón
5d48658f58
tests/gtkoffscreenbox.c: Use accessor functions to access GtkWidget
2010-08-22 18:29:28 +02:00
Javier Jardón
9016f0d9a6
Use standard icon names in demos and tests
2010-08-21 03:08:15 +02:00
Tristan Van Berkom
d73c11b549
Added test case to testheightforwidth.c to show GtkComboBox/GtkMenu wrapping in action
2010-08-18 20:01:28 -04: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
Javier Jardón
374d5094a3
Use accessor functions to access GtkToolbar
2010-08-14 02:25:33 +02:00
Javier Jardón
1516c86ca4
Use accessor funcions to access GtkCalendar
2010-08-12 18:02:31 +02:00
Benjamin Otte
aaf70d1327
testgtk: Use Cairo to load XBM image
...
This should really use GdkPixbuf, but apparently we can't load XBM
images. And I'm too lazy to convert it.
2010-08-10 21:02:31 +02:00
Benjamin Otte
de285edc72
testgtk: Use Pixbufs in the shapes example
2010-08-10 21:02:31 +02:00
Benjamin Otte
2513636877
testgtk: Rename pixmap => pixbuf in various places
...
Now that we use Pixbufs for the tests instead of Pixmaps, we should name
the tests like that.
2010-08-10 21:02:31 +02:00
Benjamin Otte
6b19815f87
testgtk: Use pixbufs instead of pixmaps
...
This is for creating a GtkImage with an icon.
2010-08-10 21:02:31 +02:00
Benjamin Otte
ad571a3a5e
testgtk: Make image test not use Pixmaps, but Pixbufs
2010-08-10 21:02:31 +02:00
Benjamin Otte
727122b8d6
testgtk: Fix types and get rid of casting
2010-08-10 21:02:31 +02:00
Benjamin Otte
f3c3e47db7
testdnd: Convert to use pixbufs as icons
...
Using Pixmaps is outdated.
2010-08-10 21:02:30 +02:00
Benjamin Otte
c661eb73a1
testgtk: Remove image from drawable test
...
The test only tested old APIs.
2010-08-10 21:02:27 +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
a513bdf3f7
testgtk: Remove alpha drawing test
...
We use Cairo for that these days.
2010-08-10 21:02:26 +02:00
Benjamin Otte
8f19db7565
Replace gdk_rgb_find_color()
...
Use gdk_colormap_alloc_color() instead.
2010-08-10 21:02:26 +02:00
Benjamin Otte
32c95ebe27
tests: remove testrgb test
...
This is in preparation for the GdkRGB removal
2010-08-10 21:02:25 +02:00
Javier Jardón
3ccc617052
Completely remove any use of GtkWindow allow-grow and allow-shrink properties
...
These have been deprecated and removed from master.
GtkWindow:resizable should be used instead.
This completes commit 1a03a65e36
Reported by Benjamin Otte
2010-08-07 17:19:16 +02:00
Tristan Van Berkom
208ba9bb50
Make GtkFrame allocate its label considering natural size requests
...
Also like the GtkExpander, the label widget is allocated the minimum
height for its allocated width and the remaining space is given to
the child, test case included.
2010-08-06 16:57:11 -04:00
Tristan Van Berkom
e83a8826e6
Implemented GtkSizeRequest on GtkExpander and added test
...
Now the expander requests and distributes space naturally,
the expander widget prioritizes the child widget vertically
and only allocates the minimum height for width to the label
widget.
2010-08-05 12:50:25 -04:00
Benjamin Otte
e0efb8798a
testgtk: Remove unused variable
2010-07-26 16:42:48 +02:00
Benjamin Otte
e8bf80ebea
testgtk: Draw rotated text example with pangocairo
2010-07-26 16:42:48 +02:00
Benjamin Otte
8630657324
testgtk: Replace gdk_draw_rectangle() with Cairo
2010-07-26 16:42:48 +02:00
Benjamin Otte
0a451f508b
test: Convert testinput to Cairo
...
The test is broken though as it draws onto windows outside of expose
events.
And we all know you shouldn't do that.
2010-07-26 16:42:48 +02:00
Benjamin Otte
6dd7e5af08
tests: Make testoffscreen use Cairo
2010-07-26 16:42:48 +02:00
Benjamin Otte
a625e587a3
tests: replace gdk_draw_drawable() with Cairo calls in testinput
2010-07-26 16:42:48 +02:00
Benjamin Otte
17bd528df5
tests: Use gdk_screen_get_default_colormap()
...
We don't need the RGB colormap here.
2010-07-26 16:42:48 +02:00
Benjamin Otte
58ef2afdfa
tests: Use GdkPixbuf for taking a screenshot, not GdkImage
2010-07-26 16:42:48 +02:00
Benjamin Otte
6d4bae5ccc
tests: Remove gdk_draw_pixbuf() with Cairo equivalent
2010-07-26 16:42:47 +02:00
Javier Jardón
bf976cc1e4
Use accessor functions to access GtkStatusbar
2010-07-13 19:40:50 +02:00
Javier Jardón
c17dad9d32
Use accessor functions to access GtkSpinButton
2010-07-13 19:40:50 +02:00
Javier Jardón
92a1382bd6
Use accessor functions to access GtkPaned
2010-07-13 19:40:49 +02:00
Javier Jardón
fbf1de72c4
Use accessor funtions to access GtkLayout
2010-07-13 19:40:48 +02:00
Javier Jardón
2d9aaf4cf3
Use accessor funtions to acces GtkFrame
2010-07-13 19:40:47 +02:00
Javier Jardón
7f2cc85db9
Use accessor functions to access GtkDialog
2010-07-13 19:40:47 +02:00