needs_expand


Description:

[ Version ( since = "1.12" ) ]
public bool needs_expand (Orientation orientation)

Checks whether an actor, or any of its children, is set to expand horizontally or vertically.

This function should only be called by layout managers that can assign extra space to their children.

If you want to know whether the actor was explicitly set to expand, use get_x_expand or get_y_expand.

Parameters:

this

a Actor

orientation

the direction of expansion

Returns:

true if the actor should expand