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
bool
forwardFindChar

Parameters

pred GtkTextCharPredicate

a function to be called on each character

userData void*

user data for pred

limit TextIter

search limit, or NULL for none

Return Value

Type: bool

whether a match was found