49365e132c
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 |
||
---|---|---|
.. | ||
alert.py | ||
animator.py | ||
buttons.py | ||
cellrenderericon.py | ||
combobox.py | ||
common.py | ||
customdestroy.py | ||
gtktreesensitive.py | ||
iconbadges.py | ||
iconcache.py | ||
iconentry.py | ||
iconwidget.py | ||
intro.py | ||
notebook.py | ||
progress.py | ||
radiopalette.py | ||
scrollingdetector.py | ||
tabs.py | ||
ticket2855.py | ||
ticket2999.py | ||
ticket3000.py | ||
toolbar.py | ||
toolbarpalettes.py | ||
toolbuttons.py | ||
tray.py |