func (b *Button) SetChecked(checked bool) { if checked == b.Checked() { return } xc.XBtnSetCheck(b.hEle, xc.BoolToBOOL(checked)) }
func XWeb_JsBoolean(b bool) int64 { ret, _, _ := xWeb_JsBoolean.Call(uintptr(xc.BoolToBOOL(b))) return int64(ret) }
func XWeb_SetCookieEnabled(hWeb xc.HWINDOW, enable bool) { xWeb_SetCookieEnabled.Call( uintptr(hWeb), uintptr(xc.BoolToBOOL(enable))) }
func XWeb_SetEditable(hWeb xc.HWINDOW, editable bool) { xWeb_SetEditable.Call( uintptr(hWeb), uintptr(xc.BoolToBOOL(editable))) }
func (b *Button) EnableAnimation(bEnable, bLoopPlay bool) { xc.XBtnEnableAnimation(b.hEle, xc.BoolToBOOL(bEnable), xc.BoolToBOOL(bLoopPlay)) }