Re: Null event in CellRenderer::activate_vfunc



I have a resolution of sorts for the benefit of anyone encountering
this in the future.   Following the call back into the GtkIconView
source, I see that it indeed does pass a null event when invoking the
activate function as a result of keypresses.   So I guess any
cellrenderer implementations have to cope with the "I'm activating you
but I'm not telling you why" case.   In the case of gtkiconview, a
NULL GdkEvent* is indeed a reliable indicator that the activation came
from a keypress.

John


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]