WidgetPath.length

int length() nothrow

Returns the number of #GtkWidget #GTypes between the represented widget and its topmost container.

Returns

the number of elements in the path