MCPcopy Create free account
hub / github.com/lxn/walk / init

Function init

customwidget.go:17–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15const customWidgetWindowClass = `\o/ Walk_CustomWidget_Class \o/`
16
17func init() {
18 AppendToWalkInit(func() {
19 MustRegisterWindowClass(customWidgetWindowClass)
20 })
21}
22
23// PaintFunc paints custom widget content. updateBounds is specified in 1/96" or native pixels.
24type PaintFunc func(canvas *Canvas, updateBounds Rectangle) error

Callers

nothing calls this directly

Calls 2

AppendToWalkInitFunction · 0.85
MustRegisterWindowClassFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…