public Panel(Window window) { this.handle = CursesMethods.new_panel(window.Handle); this.window = window; allPanels.Add(this.handle, this); }