allocate_child


Description:

public void allocate_child (ActorBox box, AllocationFlags flags)

Allocates the child of an Bin using the width and height from box.

This function should usually only be called by subclasses of Bin.

This function can be used to allocate the child of an Bin if no special allocation requirements are needed. It is similar to allocate_align_fill, except that it reads the alignment, padding and fill values from the Bin, and will call allocate on the child.

Parameters:

this

An Bin

box

The allocation box of the parent actor.

flags

AllocationFlags, usually provided by the. clutter_actor_allocate function.




2022 vala-language.org