Method

RotulusViewset_reply

Declaration [src]

gboolean
rotulus_view_set_reply (
  RotulusView* self,
  RotulusMark* mark,
  const char* nick,
  int color,
  const char* excerpt
)

Description [src]

Gives a row a reply header quoting the message it replies to, or changes the one it has. A row with a header starts a group of its own. Each text is kept to its first 300 characters.

Parameters

mark

Type: RotulusMark

The row that replies.

The data is owned by the caller of the method.
nick

Type: const char*

The original’s author.

The argument can be NULL.
The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.
color

Type: int

A palette index for the nick, or ROTULUS_COLOR_DEFAULT for ROTULUS_PAL_NICK.

excerpt

Type: const char*

A short plain-text excerpt of the original; the view shows what fits on one line.

The argument can be NULL.
The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.

Return value

Type: gboolean

FALSE if the row is gone, or if nick and excerpt are both NULL.