CellRenderer.activate
bool activate(gdk.event.Event event, gtk.widget.Widget widget, string path, gdk.rectangle.Rectangle backgroundArea, gdk.rectangle.Rectangle cellArea, gtk.types.CellRendererState flags)Passes an activate event to the cell renderer for possible processing. Some cell renderers may use events; for example, #GtkCellRendererToggle toggles when it gets a mouse click.
Parameters
event | a #GdkEvent |
widget | widget that received the event |
path | widget-dependent string representation of the event location; e.g. for #GtkTreeView, a string representation of #GtkTreePath |
backgroundArea | background area as passed to [gtk.cell_renderer.CellRenderer.render] |
cellArea | cell area as passed to [gtk.cell_renderer.CellRenderer.render] |
flags | render flags |
Returns
true if the event was consumed/handled