sugar-toolkit-gtk3/src/sugar3/graphics
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
..
__init__.py
alert.py
animator.py pep8'd sugar3.graphics 2013-06-11 15:18:15 +02:00
colorbutton.py
combobox.py
icon.py New invoker, TreeViewInvoker 2015-05-14 12:04:07 -03:00
iconentry.py
Makefile.am Detect scrolling in treviews and optimize drawing 2015-05-14 12:04:07 -03:00
menuitem.py Ellipses defaulted to end of long activity titles;fixes 1429 2014-12-17 10:14:23 -03:00
notebook.py
objectchooser.py
palette.py New invoker, TreeViewInvoker 2015-05-14 12:04:07 -03:00
palettegroup.py
palettemenu.py Ellipses defaulted to end of long activity titles;fixes 1429 2014-12-17 10:14:23 -03:00
palettewindow.py New invoker, TreeViewInvoker 2015-05-14 12:04:07 -03:00
panel.py
progressicon.py
radiopalette.py
radiotoolbutton.py
scrollingdetector.py New invoker, TreeViewInvoker 2015-05-14 12:04:07 -03:00
style.py Ellipses defaulted to end of long activity titles;fixes 1429 2014-12-17 10:14:23 -03:00
toggletoolbutton.py
toolbarbox.py
toolbox.py
toolbutton.py
toolcombobox.py
tray.py
window.py
xocolor.py