Re: Null event in CellRenderer::activate_vfunc
- From: "John Spray" <john c spray googlemail com>
- To: gtkmm-list gnome org
- Subject: Re: Null event in CellRenderer::activate_vfunc
- Date: Mon, 2 Jun 2008 22:13:42 +0100
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]