go-gtk3开发之添加按钮(4)
go-gtk3开发之窗口居中显示案例说明demo.go案例说明使窗口居中显示。demo.gopackage mainimport ( "github.com/therecipe/qt/gui" "github.com/therecipe/qt/widgets" "os")// 下面的脚本显示了如何在屏幕中心显示窗口。//QtGui,QDesktopWidget类提供了用户...