[][src]Function orbtk_api::widget_base::find_parent

pub fn find_parent(
    tree: &Tree,
    target_child: Entity,
    parent: Entity
) -> Option<Entity>

Finds th parent of the target_child. The parent of the target_child must be the given parent or a child of the given parent.