summaryrefslogtreecommitdiff
path: root/control.go
diff options
context:
space:
mode:
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