summaryrefslogtreecommitdiff
path: root/control.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-12-12 15:52:43 -0500
committerPietro Gagliardi <[email protected]>2015-12-12 15:52:43 -0500
commit69cc82336897f62c25aabe6d7fdcc39e74dbe42c (patch)
treeecc9d929d8a5cce7dc8aeb94d13ba6304f8500ff /control.go
parent31ae742daf04c6bc5a79ff9fc339fa00ebc2b620 (diff)
Added Button and Checkbox.
Diffstat (limited to 'control.go')
-rw-r--r--control.go5
1 files changed, 5 insertions, 0 deletions
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