diff options
| author | Pietro Gagliardi <[email protected]> | 2014-02-12 10:29:56 -0500 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-02-12 10:29:56 -0500 |
| commit | e9e2c0f269aac1157a3ea6a6021a86869fdd6888 (patch) | |
| tree | 7edd6ae853fd47ea09972833bd74b3239674fcfa /control.go | |
| parent | 0f373195de316b1b20a05ebff1463fb8a56b1f1b (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.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) } |
