CellArea.getCellAtPosition

Gets the GtkCellRenderer at x and y coordinates inside area and optionally returns the full cell allocation for it inside cell_area.

class CellArea
getCellAtPosition

Parameters

context CellAreaContext

the GtkCellAreaContext used to hold sizes for area.

widget Widget

the GtkWidget that area is rendering on

cellArea Rectangle

the whole allocated area for area in widget for this row

x int

the x position

y int

the y position

allocArea Rectangle

where to store the inner allocated area of the returned cell renderer, or NULL. out[allow-none]

Return Value

the GtkCellRenderer at x and y. [transfer none] Since 3.0

Meta