summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--redo/basicctrls.go2
-rw-r--r--redo/future6
-rw-r--r--redo/table.go1
3 files changed, 6 insertions, 3 deletions
diff --git a/redo/basicctrls.go b/redo/basicctrls.go
index 81a9b79..35abb20 100644
--- a/redo/basicctrls.go
+++ b/redo/basicctrls.go
@@ -45,8 +45,6 @@ func NewCheckbox(text string) Checkbox {
type TextField interface {
Control
- // TODO figure out what events are appropriate
-
// Text and SetText are Requests that get and set the TextField's text.
Text() string
SetText(text string)
diff --git a/redo/future b/redo/future
index e6c48d4..e6784b7 100644
--- a/redo/future
+++ b/redo/future
@@ -11,6 +11,8 @@ Table
table_unix.c: goTableModel_get_column_type(), goTableModel_get_value()
multiple selection
figure out if we can safely refresh view during Unlock() regardless of calling goroutine
+ document header behavior in general comment
+ add functions for header manipulation
Tab
// [TODO if each tab of your Tab is going to have the same content Controls, then use LikeTab instead, to conserve resources]
Delete()
@@ -29,6 +31,10 @@ Mac OS X
// in the other case, the most correct thing would be for Label to be aligned to the alignment rect, but I can't get this working, and it looks fine as it is anyway
other controls
same rules? checkboxes seem damning...
+TextField
+ add events (figure out which of the following are appropriate: changed, enter pressed)
+ provide some facility to mark invalid values
+ figure out numerics because you CAN paste into numeric boxes on Windows and GTK+ has no built-in number validator as far as I know
so I don't forget, some TODOs:
windows
diff --git a/redo/table.go b/redo/table.go
index a9b5ada..fab2eb8 100644
--- a/redo/table.go
+++ b/redo/table.go
@@ -11,7 +11,6 @@ import (
// Table is a Control that displays a list of like-structured data in a grid where each row represents an item and each column represents a bit of data.
// As such, a Table renders a []struct{...} where each field of the struct is rendered using package fmt's %v rule.
// Tables maintain their own storage behind a sync.RWMutex-compatible sync.Locker; use Table.Lock()/Table.Unlock() to make changes and Table.RLock()/Table.RUnlock() to merely read values.
-// TODO headers
type Table interface {
Control