Method

GtkCellAreaget_focus_from_sibling

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.

Parameters

renderer GtkCellRenderer
 

The GtkCellRenderer

 The data is owned by the caller of the function.

Return value

Returns: GtkCellRenderer
 

The GtkCellRenderer for which renderer is a sibling.

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