Compilation Units
Tagged Types
procedure Destroy (Data : in out User_Data_Type)
function Forward_Find_Char
(Iter : in out Gtk.Text_Iter.Gtk_Text_Iter;
Pred : Gtk_Text_Char_Predicate;
User_Data : User_Data_Type;
Limit : Gtk.Text_Iter.Gtk_Text_Iter := Null_Text_Iter)
return Boolean
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.
a function to be called on each character
user data for Pred
search limit
whether a match was found
type Gtk_Text_Char_Predicate is access function (Ch : Gunichar; User_Data : User_Data_Type) return Boolean;
The predicate function used by Gtk.Text_Iter.Forward_Find_Char and Gtk.Text_Iter.Backward_Find_Char.
a Unicode code point
data passed to the callback
True if the predicate is satisfied, and the iteration should stop, and False otherwise
type User_Data_Type (<>) is private;