Method

RotulusViewinsert_before

Declaration [src]

RotulusMark*
rotulus_view_insert_before (
  RotulusView* self,
  RotulusMark* anchor,
  const RotulusRow* row
)

Description [src]

What is on screen stays where it is, so backfilling history doesn’t move what the user is reading. Insert rows in chronological order: each lands directly before the anchor.

This method is not directly available to language bindings.

Parameters

anchor

Type: RotulusMark

The row to insert before; NULL inserts at the top.

The argument can be NULL.
The data is owned by the caller of the method.
row

Type: RotulusRow

The row.

The data is owned by the caller of the method.

Return value

Type: RotulusMark

A mark for the new row.

The returned data is owned by the instance.