This function is like is_ancestor except that it checks various relative widgets that are not in the direct hierarchy of widgets.
That includes attach_widget, relative_to, and transient_for.
widget |
a Widget |
ancestor |
a Widget that might be an ancestor |
true if |