need to implement heartbeat

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2024-02-05 15:03:35 -06:00
parent 6454e540d0
commit 6b8ff221a8
2 changed files with 3 additions and 1 deletions

View File

@ -135,7 +135,7 @@ func (w *guiWidget) dropdownClicked(mouseW, mouseH int) string {
if me.dropdownW != nil {
log.Log(NOW, "dropdownClicked() send event for", me.dropdownW.cuiName, me.dropdownW.WidgetType)
me.dropdownW.SetText(items[itemNumber-1])
me.dropdownW.node.SetValue(items[itemNumber-1])
me.dropdownW.node.SetCurrentS(items[itemNumber-1])
me.myTree.SendUserEvent(me.dropdownW.node)
}
}

View File

@ -140,6 +140,8 @@ func gocuiMain() {
// attempt to switch to the nocui toolkit
log.Sleep(1)
me.myTree.SendToolkitLoad("nocui")
log.Sleep(3)
me.myTree.SendToolkitLoad("nocui")
// panic("BUMMER")
return
}