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
customdestroy.py Finish the port of the CellRendererIcon 2012-09-03 22:55:35 +02:00
iconcache.py
iconwidget.py
ticket2855.py
ticket2999.py
ticket3000.py
toolbarpalettes.py
toolbuttons.py
tray.py