summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/structs.go b/structs.go
index 0f1cd1b..59190f6 100644
--- a/structs.go
+++ b/structs.go
@@ -105,6 +105,13 @@ func (s GuiBox) SetTitle(title string) {
return
}
+func (s GuiBox) Append(child ui.Control, x bool) {
+ if (s.UiBox == nil) {
+ return
+ }
+ s.UiBox.Append(child, x)
+}
+
func (s GuiBox) InitTab(title string) *ui.Tab {
if (s.Window == nil) {
return nil