Index

Package: Filter_User_Data (generic)

Description

generic
      type User_Data_Type (<>) is private;
      with procedure Destroy (Data : in out User_Data_Type) is null;
   package Filter_User_Data is

Types

User_Data_Type

type User_Data_Type (<>) is private;

Pango_Attr_Filter_Func

type Pango_Attr_Filter_Func is access function
        (Attribute : Pango.Attributes.Pango_Attribute;
         User_Data : User_Data_Type) return Boolean;
Type of a function filtering a list of attributes. "attribute": a Pango attribute "user_data": user data passed to the function

Subprograms & Entries

Destroy

procedure Destroy 
(Data: in out User_Data_Type) is null;

Filter

Given a Pango.Attributes.Pango_Attr_List and callback function, removes any elements of List for which Func returns True and inserts them into a new list. Since: gtk+ 1.2 "func": callback function; returns True if an attribute should be filtered out. "data": Data to be passed to Func