Gtk.Widget.IsAncestor Method
Determines whether widget is somewhere inside ancestor, possibly with intermediate containers.

Syntax

public bool IsAncestor (Widget ancestor)

Parameters

ancestor
Another Gtk.Widget.

Returns

Returns true if ancestor contains widget as a child, grandchild, great grandchild, etc.

Remarks

Determines whether widget is somewhere inside ancestor, possibly with intermediate containers.

Requirements

Namespace: Gtk
Assembly: gtk-sharp (in gtk-sharp.dll)