MCPcopy Index your code
hub / github.com/lxn/walk / init

Method init

customwidget.go:68–79  ·  view source on GitHub ↗
(parent Container, style uint)

Source from the content-addressed store, hash-verified

66}
67
68func (cw *CustomWidget) init(parent Container, style uint) error {
69 if err := InitWidget(
70 cw,
71 parent,
72 customWidgetWindowClass,
73 win.WS_VISIBLE|uint32(style),
74 0); err != nil {
75 return err
76 }
77
78 return nil
79}
80
81// deprecated, use PaintMode
82func (cw *CustomWidget) ClearsBackground() bool {

Callers 2

NewCustomWidgetFunction · 0.95
NewCustomWidgetPixelsFunction · 0.95

Calls 1

InitWidgetFunction · 0.85

Tested by

no test coverage detected