MCPcopy Create free account
hub / github.com/andlabs/ui / pkguiDoButtonOnClicked

Function pkguiDoButtonOnClicked

button.go:57–62  ·  view source on GitHub ↗

export pkguiDoButtonOnClicked

(bb *C.uiButton, data unsafe.Pointer)

Source from the content-addressed store, hash-verified

55
56//export pkguiDoButtonOnClicked
57func pkguiDoButtonOnClicked(bb *C.uiButton, data unsafe.Pointer) {
58 b := ControlFromLibui(uintptr(unsafe.Pointer(bb))).(*Button)
59 if b.onClicked != nil {
60 b.onClicked(b)
61 }
62}

Callers

nothing calls this directly

Calls 1

ControlFromLibuiFunction · 0.85

Tested by

no test coverage detected