Stetic.Grid.Clear C# (CSharp) 메소드

Clear() 보호된 메소드

protected Clear ( ) : void
리턴 void
        protected void Clear()
        {
            foreach (object obj in lines) {
                if (obj is Widget)
                    ((Widget)obj).Destroy ();
                else if (obj is Pair) {
                    Pair p = (Pair)obj;
                    p.Label.Destroy ();
                    p.Editor.Destroy ();
                }
            }

            lines.Clear ();
            tips = new Gtk.Tooltips ();
        }