Stetic.WidgetUtils.GetDesignArea C# (CSharp) Method

GetDesignArea() public static method

public static GetDesignArea ( Gtk w ) : IDesignArea
w Gtk
return IDesignArea
        public static IDesignArea GetDesignArea(Gtk.Widget w)
        {
            while (w != null && !(w is IDesignArea))
                w = w.Parent;
            return w as IDesignArea;
        }