summaryrefslogtreecommitdiff
path: root/control.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-02-12 10:29:56 -0500
committerPietro Gagliardi <[email protected]>2014-02-12 10:29:56 -0500
commite9e2c0f269aac1157a3ea6a6021a86869fdd6888 (patch)
tree7edd6ae853fd47ea09972833bd74b3239674fcfa /control.go
parent0f373195de316b1b20a05ebff1463fb8a56b1f1b (diff)
Set up restrictions tracking. Added a restriction that a window and its controls are fixed to the window once it has been open. Started accounting for parent windows in controls.
Diffstat (limited to 'control.go')
-rw-r--r--control.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/control.go b/control.go
index 40ce61a..b0a79a0 100644
--- a/control.go
+++ b/control.go
@@ -9,6 +9,6 @@ import (
// A Control represents an UI control. Note that Control contains unexported members; this has the consequence that you can't build custom controls that interface directly with the system-specific code (fo rinstance, to import an unsupported control), or at least not without some hackery. If you want to make your own controls, embed Area and provide its necessities.
type Control interface {
apply() error
- unapply() error
setParent(c Control)
+ setParentWindow(w *Window)
}