示例#1
0
文件: button.go 项目: maxid/xcgui
func (b *Button) SetChecked(checked bool) {
	if checked == b.Checked() {
		return
	}

	xc.XBtnSetCheck(b.hEle, checked)
}
示例#2
0
func (b *Button) SetChecked(checked bool) {
	if checked == b.Checked() {
		return
	}

	xc.XBtnSetCheck(b.hEle, xc.BoolToBOOL(checked))
}