More future plans.
This commit is contained in:
parent
acf25c4798
commit
7d86f9d440
|
@ -45,8 +45,6 @@ func NewCheckbox(text string) Checkbox {
|
||||||
type TextField interface {
|
type TextField interface {
|
||||||
Control
|
Control
|
||||||
|
|
||||||
// TODO figure out what events are appropriate
|
|
||||||
|
|
||||||
// Text and SetText are Requests that get and set the TextField's text.
|
// Text and SetText are Requests that get and set the TextField's text.
|
||||||
Text() string
|
Text() string
|
||||||
SetText(text string)
|
SetText(text string)
|
||||||
|
|
|
@ -11,6 +11,8 @@ Table
|
||||||
table_unix.c: goTableModel_get_column_type(), goTableModel_get_value()
|
table_unix.c: goTableModel_get_column_type(), goTableModel_get_value()
|
||||||
multiple selection
|
multiple selection
|
||||||
figure out if we can safely refresh view during Unlock() regardless of calling goroutine
|
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
|
Tab
|
||||||
// [TODO if each tab of your Tab is going to have the same content Controls, then use LikeTab instead, to conserve resources]
|
// [TODO if each tab of your Tab is going to have the same content Controls, then use LikeTab instead, to conserve resources]
|
||||||
Delete()
|
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
|
// 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
|
other controls
|
||||||
same rules? checkboxes seem damning...
|
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:
|
so I don't forget, some TODOs:
|
||||||
windows
|
windows
|
||||||
|
|
|
@ -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.
|
// 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.
|
// 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.
|
// 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 {
|
type Table interface {
|
||||||
Control
|
Control
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue