MCPcopy
hub / github.com/lxn/walk / SetChecked

Method SetChecked

button.go:141–147  ·  view source on GitHub ↗
(checked bool)

Source from the content-addressed store, hash-verified

139}
140
141func (b *Button) SetChecked(checked bool) {
142 if checked == b.Checked() {
143 return
144 }
145
146 b.window.(setCheckeder).setChecked(checked)
147}
148
149func (b *Button) setChecked(checked bool) {
150 var chk uintptr

Callers 2

initMethod · 0.95
RestoreStateMethod · 0.95

Calls 2

CheckedMethod · 0.95
setCheckedMethod · 0.65

Tested by

no test coverage detected