summaryrefslogtreecommitdiff
path: root/redo/basicctrls.go
diff options
context:
space:
mode:
Diffstat (limited to 'redo/basicctrls.go')
-rw-r--r--redo/basicctrls.go8
1 files changed, 1 insertions, 7 deletions
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.