activate


Description:

public virtual bool activate (Event event, Widget widget, string path, Rectangle background_area, Rectangle cell_area, CellRendererState flags)

Passes an activate event to the cell renderer for possible processing.

Some cell renderers may use events; for example, CellRendererToggle toggles when it gets a mouse click.

Parameters:

this

a CellRenderer

event

a Event

widget

widget that received the event

path

widget-dependent string representation of the event location; e.g. for TreeView, a string representation of TreePath

background_area

background area as passed to render

cell_area

cell area as passed to render

flags

render flags

Returns:

true if the event was consumed/handled