Index

Package: Foreach_User_Data (generic)

Description

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

Types

User_Data_Type

type User_Data_Type (<>) is private;

Pango_Fontset_Foreach_Func

type Pango_Fontset_Foreach_Func is access function
        (Fontset   : not null access Pango.Fontset.Pango_Fontset_Record'Class;
         Font      : not null access Pango.Font.Pango_Font_Record'Class;
         User_Data : User_Data_Type) return Boolean;
A callback function used by Pango.Fontset.Foreach when enumerating the fonts in a fontset. Since: gtk+ 1.4 "fontset": a Pango.Fontset.Pango_Fontset "font": a font from Fontset "user_data": callback data

Subprograms & Entries

Destroy

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

Foreach

procedure Foreach 
(Self: not null access Pango.Fontset.Pango_Fontset_Record'Class;
Func: Pango_Fontset_Foreach_Func;
Data: User_Data_Type);
Iterates through all the fonts in a fontset, calling Func for each one. If Func returns True, that stops the iteration. Since: gtk+ 1.4 "func": Callback function "data": data to pass to the callback function