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