Method

GtkCellAreaget_focus_from_sibling

since: 3.0

Declaration [src]

GtkCellRenderer*
gtk_cell_area_get_focus_from_sibling (
  GtkCellArea* area,
  GtkCellRenderer* renderer
)

Description [src]

Gets the GtkCellRenderer which is expected to be focusable for which renderer is, or may be a sibling.

This is handy for GtkCellArea subclasses when handling events, after determining the renderer at the event location it can then chose to activate the focus cell for which the event cell may have been a sibling.

Available since: 3.0

Parameters

renderer

Type: GtkCellRenderer

The GtkCellRenderer.

The data is owned by the caller of the method.

Return value

Type: GtkCellRenderer

The GtkCellRenderer for which renderer is a sibling, or NULL.

The returned data is owned by the instance.
The return value can be NULL.