Re-added LineEdit interface. Honestly I'm not too thrilled with how the unparent/reparent system is turning out; removing it failed, however...
This commit is contained in:
parent
a2eb69cbf6
commit
5e9b60a795
|
@ -51,3 +51,17 @@ type Checkbox interface {
|
|||
func NewCheckbox(text string) Checkbox {
|
||||
return newCheckbox(text)
|
||||
}
|
||||
|
||||
// LineEdit blah blah blah TODO write this
|
||||
// TODO change name
|
||||
type LineEdit interface {
|
||||
Control
|
||||
|
||||
// TODO figure out what events are appropriate
|
||||
|
||||
// Text and SetText are Requests that get and set the Checkbox's label text.
|
||||
Text() string
|
||||
SetText(text string)
|
||||
}
|
||||
|
||||
// TODO NewLineEdit, NewPasswordEdit, ...
|
||||
|
|
Loading…
Reference in New Issue