[ 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.
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.
this |
A Actor |
geom |
allocation geometry in pixels |