get_allocation_geometry


Description:

[ Version ( deprecated = true , deprecated_since = "1.12" , since = "0.8" ) ]
public Geometry get_allocation_geometry ()

Warning: get_allocation_geometry is deprecated since 1.12.

Gets the layout box an actor has been assigned.

Note:

Use get_allocation_box instead.

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.

The returned rectangle is in pixels.

Parameters:

this

A Actor

geom

allocation geometry in pixels




2022 vala-language.org