length


Description:

[ Version ( since = "3.0" ) ]
public int length ()

Returns the number of Widget Type s between the represented widget and its topmost container.

Parameters:

this

a WidgetPath

Returns:

the number of elements in the path