Example #1
0
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
}
Example #2
0
func SetStat(str string) {
	xcgui.XShapeText_SetText(hState, str)
	xcgui.XWnd_RedrawWnd(hWindow)
}