From 69cc82336897f62c25aabe6d7fdcc39e74dbe42c Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sat, 12 Dec 2015 15:52:43 -0500 Subject: Added Button and Checkbox. --- control.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'control.go') diff --git a/control.go b/control.go index 73c9953..94ea34f 100644 --- a/control.go +++ b/control.go @@ -23,6 +23,11 @@ type Control interface { // then call LibuiControlDestroy. Destroy() + // LibuiControl returns the libui uiControl pointer that backs + // the Control. This is only used by package ui itself and should + // not be called by programs. + LibuiControl() uintptr + // Handle returns the OS-level handle that backs the // Control. On OSs that use reference counting for // controls, Handle does not increment the reference -- cgit v1.2.3