Stetic.UIManager.Delete C# (CSharp) Method

Delete() private method

private Delete ( object obj, EventArgs e ) : void
obj object
e System.EventArgs
return void
        void Delete(object obj, EventArgs e)
        {
            Gtk.Editable focus = Focus;
            if (focus != null)
                focus.DeleteSelection ();
            else {
                WidgetDesigner wd = SteticMain.CurrentDesigner;
                if (wd != null && wd.Selection != null)
                    wd.DeleteSelection ();
            }
        }