Virtual Method

GtkCellAreacreate_context

since: 3.0

Declaration [src]

GtkCellAreaContext*
create_context (
  GtkCellArea* area
)

Description [src]

Creates a GtkCellAreaContext to be used with area for all purposes. GtkCellAreaContext stores geometry information for rows for which it was operated on, it is important to use the same context for the same row of data at all times (i.e. one should render and handle events with the same GtkCellAreaContext which was used to request the size of those rows of data).

Available since: 3.0

Return value

Type: GtkCellAreaContext

A newly created GtkCellAreaContext which can be used with area.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.