Pango.Fontset.Foreach_User_Data

Entities

Generic formal parameters

Access Types

Subprograms

Description

Destroy

procedure Destroy (Data : in out User_Data_Type)
Parameters
Data

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

Parameters
Self
Func

Callback function

Data

data to pass to the callback function

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

Parameters
Fontset

a Pango.Fontset.Pango_Fontset

Font

a font from Fontset

User_Data

callback data

Return Value

if True, stop iteration and return immediately.

User_Data_Type

type User_Data_Type (<>) is private;