Index

Package: Match_Functions (generic)

Description

generic
   type Data_Type (<>) is private;
   package Match_Functions is

Types

Data_Type

type Data_Type (<>) is private;

Gtk_Entry_Completion_Match_Func

type Gtk_Entry_Completion_Match_Func is access
      function (Completion : access Gtk_Entry_Completion_Record'Class;
         Key        : String;
         Iter       : Gtk.Tree_Model.Gtk_Tree_Iter;
         User_Data  : Data_Type) return Boolean;

Destroy_Notify

type Destroy_Notify is access procedure (Data : in out Data_Type);

Subprograms & Entries

Set_Match_Func

procedure Set_Match_Func 
(Completion: access Gtk_Entry_Completion_Record;
Func: Gtk_Entry_Completion_Match_Func;
Func_Data: Data_Type;
Func_Notify: Destroy_Notify);
Sets the match function for completion to be Func. The match function is used to determine if a row should or should not be in the completion list.