public void Remove(Desktop fallback = null) { // Destroy desktop and switch to <fallback> var back = fallback == null?DesktopManager.GetDesktop(0) : fallback.itf; DesktopManager.Manager.RemoveDesktop(itf, back); }
public static Desktop FromIndex(int index) { // Create desktop object from index 0..Count-1 return(new Desktop(DesktopManager.GetDesktop(index))); }