void Cut(object obj, EventArgs e) { Gtk.Editable focus = Focus; if (focus != null) focus.CutClipboard (); else { WidgetDesigner wd = SteticMain.CurrentDesigner; if (wd != null) wd.CutSelection (); } }