func onTitleChanged(webView, param, title uintptr) int { fmt.Println("浏览器标题: ", web.XWeb_GetStringA(title)) xcgui.XShapeText_SetText(hState, web.XWeb_GetStringA(title)) xcgui.XWnd_RedrawWnd(hWindow) return 0 }
func SetStat(str string) { xcgui.XShapeText_SetText(hState, str) xcgui.XWnd_RedrawWnd(hWindow) }