Null event in CellRenderer::activate_vfunc


I am using a custom CellRenderer derived from CellRendererPixbuf.  I
implement activate_vfunc, whose first argument is of type GdkEvent*.
When the cell is double-clicked, this function is called correctly
with a pointer to a GdkEventButton structure.  However, when the user
presses enter, the function is invoked with the GdkEvent* equal to
NULL.  Is this an expected behaviour?


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