Interface CellRendererClass.OnActivate

Enclosing class:
CellRendererClass
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface CellRendererClass.OnActivate
  • Method Details

    • onActivate

      boolean onActivate(CallbackHandler __self, @Nonnull CellRenderer cell, @Nonnull Event event, @Nonnull Widget widget, @Nonnull Str path, @Nonnull Rectangle background_area, @Nonnull Rectangle cell_area, int flags)
      Parameters:
      cell - a `GtkCellRenderer`
      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`
      background_area - background area as passed to gtk_cell_renderer_render()
      cell_area - cell area as passed to gtk_cell_renderer_render()
      flags - render flags
      Returns:
      %TRUE if the event was consumed/handled