From cb56a1e6041fb9905c033cddff666453f3c50c58 Mon Sep 17 00:00:00 2001 From: Robby Findler Date: Tue, 1 Dec 2009 18:09:29 +0000 Subject: [PATCH] added open-in-new-tab docs svn: r17142 --- collects/scribblings/tools/unit.scrbl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/collects/scribblings/tools/unit.scrbl b/collects/scribblings/tools/unit.scrbl index 10a6699d3d..2f98278140 100644 --- a/collects/scribblings/tools/unit.scrbl +++ b/collects/scribblings/tools/unit.scrbl @@ -574,6 +574,11 @@ Shows the interactions window Returns the currently active tab. } + +@defmethod[(open-in-new-tab [filename (or/c path-string? #f)]) void?]{ + Opens a new tab in this frame. If @scheme[filename] is a @scheme[path-string?], + It loads that file in the definitions window of the new tab. +} @defmethod[#:mode public-final (close-current-tab) void?]{ Closes the current tab, making some other tab visible.