get_allocation_box


Description:

[ Version ( since = "0.8" ) ]
public ActorBox get_allocation_box ()

Gets the layout box an actor has been assigned.

The allocation can only be assumed valid inside a paint method; anywhere else, it may be out-of-date.

An allocation does not incorporate the actor's scale or anchor point; those transformations do not affect layout, only rendering.

Do not call any of the clutter_actor_get_allocation_*() family of functions inside the implementation of the get_preferred_width or get_preferred_height virtual functions.

Parameters:

this

A Actor

box

the function fills this in with the actor's allocation