gtk_widget_is_ancestor_or_relative


Description:


[ Version ( since = "3.26" ) ]
public bool gtk_widget_is_ancestor_or_relative (Widget widget, Widget ancestor)

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.

Parameters:

widget

a Widget

ancestor

a Widget that might be an ancestor

Returns:

true if ancestor is an ancestor or relative for widget.


Namespace: Dazzle
Package: libdazzle-1.0