diff options
| author | Pietro Gagliardi <[email protected]> | 2014-10-18 16:01:40 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-10-18 16:01:40 -0400 |
| commit | a5c002fcd231129db4b99083af0e731482871df9 (patch) | |
| tree | 267bf1152912a1f78b6f43501462aeefaf7b1cd0 /newctrl/label_darwin.go | |
| parent | 0351cf27fefd59148eee3f5f98ecfbaef2b607ac (diff) | |
More Mac OS X work. Woah, almost done!
Diffstat (limited to 'newctrl/label_darwin.go')
| -rw-r--r-- | newctrl/label_darwin.go | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/newctrl/label_darwin.go b/newctrl/label_darwin.go index 1233735..64a15b1 100644 --- a/newctrl/label_darwin.go +++ b/newctrl/label_darwin.go @@ -22,21 +22,13 @@ func newLabel(text string) Label { } func (l *label) Text() string { - return C.GoString(C.textfieldText(l._id)) + return C.GoString(C.textfieldText(l.id)) } func (l *label) SetText(text string) { ctext := C.CString(text) defer C.free(unsafe.Pointer(ctext)) - C.textfieldSetText(l._id, ctext) -} - -func (l *label) isStandalone() bool { - return l.standalone -} - -func (l *label) id() C.id { - return l._id + C.textfieldSetText(l.id, ctext) } /*TODO |
