Gtk.Container.Forall_User_Data

Entities

Generic formal parameters

Access Types

Subprograms

Description

Destroy

procedure Destroy (Data : in out User_Data_Type)
Parameters
Data

Forall

procedure Forall
   (Container     : not null access Gtk.Container.Gtk_Container_Record'Class;
    Callback      : Gtk_Callback;
    Callback_Data : User_Data_Type)

Invokes Callback on each direct child of Container, including children that are considered "internal" (implementation details of the container). "Internal" children generally weren't added by the user of the container, but were added by the container implementation itself. Most applications should use Gtk.Container.Foreach, rather than Gtk.Container.Forall.

Parameters
Container
Callback

a callback

Callback_Data

callback user data

Gtk_Callback

type Gtk_Callback is access procedure
  (Widget : not null access Gtk.Widget.Gtk_Widget_Record'Class;
   Data   : User_Data_Type);

The type of the callback functions used for e.g. iterating over the children of a container, see gtk_container_foreach.

Parameters
Widget

the widget to operate on

Data

user-supplied data

User_Data_Type

type User_Data_Type (<>) is private;