示例#1
0
文件: main.go 项目: CodyGuo/xcgui
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
}
示例#2
0
文件: main.go 项目: CodyGuo/xcgui
func SetStat(str string) {
	xcgui.XShapeText_SetText(hState, str)
	xcgui.XWnd_RedrawWnd(hWindow)
}