From 0cf86eeb03a53bd7f81c7de977cea1a2b1c3459c Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Fri, 8 Aug 2014 22:28:58 -0400 Subject: Added nested and empty tabs to the test program, and fixed up relevant documentation. --- redo/basicctrls.go | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'redo/basicctrls.go') diff --git a/redo/basicctrls.go b/redo/basicctrls.go index 3f036ef..81a9b79 100644 --- a/redo/basicctrls.go +++ b/redo/basicctrls.go @@ -64,19 +64,13 @@ func NewPasswordField() TextField { // Tab is a Control that contains multiple pages of tabs, each containing a single Control. // You can add and remove tabs from the Tab at any time. -// -// [TODO if each tab of your Tab is going to have the same content Controls, then use LikeTab instead, to conserve resources] +// The appearance of a Tab with no tabs is implementation-defined. type Tab interface { Control // Append adds a new tab to Tab. // The tab is added to the end of the current list of tabs. Append(name string, control Control) - - // Delete removes the given tab. - // It panics if index is out of range. -// Delete(index int) -//TODO } // NewTab creates a new Tab with no tabs. -- cgit v1.2.3