Method

Gtk.CellArea.get_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

 Ownership is not transferred to the callee

Return value

Returns: GtkCellRenderer

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

Ownership is not transferred to the caller
Can be NULL