sugar-toolkit-gtk3/tests/graphics
Manuel Quiñones a14574c666 Finish the port of the CellRendererIcon
In pygtk custom cellrenderers were done inheriting
gtk.GenericCellRenderer, and overriding the on_* methods.  Now we
inherit Gtk.CellRenderer and the methods to override changed to do_* .

The destroy signal was moved to Gtk.Widget [1] so the Gtk.CellRenderer
doesn't have it anymore.  Now we do the cleanup in the python
destructor method.  A testcase tests/graphics/customdestroy.py shows
how is done.

tests/graphics/cellrenderericon.py tests the usage.

Signed-off-by: Manuel Quiñones <manuq@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>

[1] http://developer.gnome.org/gtk3/stable/ch24s02.html#id1459754
2012-09-03 22:55:35 +02:00
..
buttons.py Add testcase for Gtk buttons 2012-08-27 21:24:02 +02:00
cellrenderericon.py Finish the port of the CellRendererIcon 2012-09-03 22:55:35 +02:00
common.py Use the Sugar Theme in the testsuite 2012-08-24 10:18:10 -03:00
customdestroy.py
iconcache.py Run pygi-convert.sh for automatic conversion from GTK2 to GTK3 + pygi. 2011-12-13 17:19:52 -03:00
iconwidget.py
ticket2855.py Run pygi-convert.sh for automatic conversion from GTK2 to GTK3 + pygi. 2011-12-13 17:19:52 -03:00
ticket2999.py
ticket3000.py Run pygi-convert.sh for automatic conversion from GTK2 to GTK3 + pygi. 2011-12-13 17:19:52 -03:00
toolbarpalettes.py Run pygi-convert.sh for automatic conversion from GTK2 to GTK3 + pygi. 2011-12-13 17:19:52 -03:00
toolbuttons.py Fix the drawing of ColorToolButton, RadioToolButton and ToggleToolButton 2012-08-27 14:13:42 -03:00
tray.py Fix the drawing method of _IconWidget, used by IconTray 2012-08-23 08:27:45 -03:00