Package: gtk

Function gtk:cell-renderer-activate

Lambda List

gtk:cell-renderer-activate (renderer event widget path background area flags)

Arguments

renderer -- a gtk:cell-renderer object
event -- a gdk:event event
widget -- a gtk:widget object that received the event
path -- a string with the widget dependent representation of the event location, e.g. for a gtk:tree-view widget, a string representation of a gtk:tree-path instance
background -- a gdk:rectangle instance with the background area as passed to the gtk:cell-renderer-render function
area -- a gdk:rectangle instance with the cell area as passed to the gtk:cell-renderer-render function
flags -- a gtk:cell-renderer-state value

Return Value

True if the event was consumed/handled.

Details

Passes an activate event to the cell renderer for possible processing. Some cell renderers may use events. For example, the gtk:cell-renderer-toggle object toggles when it gets a mouse click.
 

See also

#2024-3-15