sugar-toolkit-gtk3/examples
Gonzalo Odiard 49365e132c New invoker, TreeViewInvoker
This new invoker is able to handle all the palettes on a treeview,
removing the need of one invoker per cell renderer (CellRendererInvoker).
This simplifies the code and makes it more efficient.
Also removes the logic from the CellRendererIcon, which
should only care about drawing itself. [1]

Is important to note than in Gtk3 a CellRenderer is not a GtkWidget
then can't know when the mouse is over it or have the usual events
used by other invokers, making the implementation CellRendererInvoker
very complicate.

This commit also removes the invoker of CellRendererIcon.

The ScrollingDetector logic is simplified too,
because now there are only one invoker instead of one by renderer
and the example code updated.

[1] https://developer.gnome.org/gtk3/stable/GtkCellRenderer.html
2015-05-14 12:04:07 -03:00
..
alert.py pep8'd examples 2013-06-11 15:27:59 +02:00
animator.py pep8'd examples 2013-06-11 15:27:59 +02:00
buttons.py Add a make target for tests 2013-04-09 11:36:51 +02:00
cellrenderericon.py New invoker, TreeViewInvoker 2015-05-14 12:04:07 -03:00
combobox.py pep8'd examples 2013-06-11 15:27:59 +02:00
common.py pep8'd examples 2013-06-11 15:27:59 +02:00
customdestroy.py Add a make target for tests 2013-04-09 11:36:51 +02:00
gtktreesensitive.py Add a make target for tests 2013-04-09 11:36:51 +02:00
iconbadges.py Add a make target for tests 2013-04-09 11:36:51 +02:00
iconcache.py Add a make target for tests 2013-04-09 11:36:51 +02:00
iconentry.py pep8'd examples 2013-06-11 15:27:59 +02:00
iconwidget.py Fixes for pep8 1.5 2014-03-29 19:25:34 +00:00
intro.py Add a make target for tests 2013-04-09 11:36:51 +02:00
notebook.py pep8'd examples 2013-06-11 15:27:59 +02:00
progress.py Add a make target for tests 2013-04-09 11:36:51 +02:00
radiopalette.py pep8'd examples 2013-06-11 15:27:59 +02:00
scrollingdetector.py New invoker, TreeViewInvoker 2015-05-14 12:04:07 -03:00
tabs.py pep8'd examples 2013-06-11 15:27:59 +02:00
ticket2855.py Add a make target for tests 2013-04-09 11:36:51 +02:00
ticket2999.py Add a make target for tests 2013-04-09 11:36:51 +02:00
ticket3000.py Add a make target for tests 2013-04-09 11:36:51 +02:00
toolbar.py pep8'd examples 2013-06-11 15:27:59 +02:00
toolbarpalettes.py Add a make target for tests 2013-04-09 11:36:51 +02:00
toolbuttons.py Add a make target for tests 2013-04-09 11:36:51 +02:00
tray.py Add a make target for tests 2013-04-09 11:36:51 +02:00