Gtk.Cell_Area.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 Gtk.Cell_Area.Gtk_Cell_Area_Record'Class;
    Callback      : Gtk_Cell_Callback;
    Callback_Data : User_Data_Type)

Calls Callback for every Gtk.Cell_Renderer.Gtk_Cell_Renderer in Area. Since: gtk+ 3.0

Parameters
Self
Callback

the Gtk_Cell_Callback to call

Callback_Data

user provided data pointer

Gtk_Cell_Callback

type Gtk_Cell_Callback is access function
  (Renderer : not null access Gtk.Cell_Renderer.Gtk_Cell_Renderer_Record'Class;
   Data     : User_Data_Type) return Boolean;

The type of the callback functions used for iterating over the cell renderers of a Gtk.Cell_Area.Gtk_Cell_Area, see Gtk.Cell_Area.Foreach.

Parameters
Renderer

the cell renderer to operate on

Data

user-supplied data

Return Value

True to stop iterating over cells.

User_Data_Type

type User_Data_Type (<>) is private;