summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-04-28 20:59:42 -0400
committerPietro Gagliardi <[email protected]>2014-04-28 20:59:42 -0400
commitc32e16fd836f4f7caf10d6e5bed97a2baa387e49 (patch)
treeecd9576d17be21f833d53f3331cbf1e841dd649b
parent7f89f4afb9bcfc9c27a2b29abf8b92c1bf9fe5bb (diff)
Moved TODOs about new event signals to the future plans document.
-rw-r--r--checkbox.go2
-rw-r--r--combobox.go2
-rw-r--r--futureplans.md6
-rw-r--r--lineedit.go2
-rw-r--r--listbox.go2
5 files changed, 6 insertions, 8 deletions
diff --git a/checkbox.go b/checkbox.go
index 6427d0c..e8fffe9 100644
--- a/checkbox.go
+++ b/checkbox.go
@@ -8,8 +8,6 @@ import (
// A Checkbox is a clickable square with a label. The square can be either checked or unchecked. Checkboxes start out unchecked.
type Checkbox struct {
- // TODO provide a channel for broadcasting check changes
-
lock sync.Mutex
created bool
sysData *sysData
diff --git a/combobox.go b/combobox.go
index 0afc79e..5060a45 100644
--- a/combobox.go
+++ b/combobox.go
@@ -9,8 +9,6 @@ import (
// A Combobox is a drop-down list of items, of which at most one can be selected at any given time. You may optionally make the combobox editable to allow custom items. Initially, no item will be selected (and no text entered in an editable Combobox's entry field).
type Combobox struct {
- // TODO Select event
-
lock sync.Mutex
created bool
sysData *sysData
diff --git a/futureplans.md b/futureplans.md
index 14123e9..a18199c 100644
--- a/futureplans.md
+++ b/futureplans.md
@@ -1,4 +1,10 @@
general list:
+- events:
+ - Checkbox.Toggled (.Clicked? or some other name?)
+ - Combobox.Selected
+ - LineEdit.Typing
+ - LineEdit.Finished? or will that be a property of dialog boxes?
+ - Listbox.Selected
- Window.SizeToFit() or WIndow.OptimalSize() (use: `Window.SetOptimalSize())`) for sizing a window to the control's interest
- with the current code, will be a bit of a kludge, because preferredSize() assumes it's running on the main thread without locks
- Control.Show()/Control.Hide()
diff --git a/lineedit.go b/lineedit.go
index 79a8c25..2b679aa 100644
--- a/lineedit.go
+++ b/lineedit.go
@@ -8,8 +8,6 @@ import (
// A LineEdit is a control which allows you to enter a single line of text.
type LineEdit struct {
- // TODO Typing event
-
lock sync.Mutex
created bool
sysData *sysData
diff --git a/listbox.go b/listbox.go
index 0601c23..7b1a399 100644
--- a/listbox.go
+++ b/listbox.go
@@ -12,8 +12,6 @@ import (
// Listboxes have vertical scrollbars that are hidden when not needed.
// The presence of horizontal scrollbars is currently undefined.
type Listbox struct {
- // TODO Select event
-
lock sync.Mutex
created bool
sysData *sysData