TextIter.forwardFindChar

Advances iter, calling pred on each character. If pred returns TRUE, returns TRUE and stops scanning. If pred never returns TRUE, iter is set to limit if limit is non-NULL, otherwise to the end iterator.

class TextIter
int
forwardFindChar

Parameters

pred GtkTextCharPredicate

a function to be called on each character. [scope call]

userData void*

user data for pred

limit TextIter

search limit, or NULL for none. [allow-none]

Return Value

Type: int

whether a match was found

Meta