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

Struct FormBase

form.go:76–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76type FormBase struct {
77 WindowBase
78 clientComposite *Composite
79 owner Form
80 stopwatch *stopwatch
81 inProgressEventCount int
82 performLayout chan ContainerLayoutItem
83 layoutResults chan []LayoutResult
84 inSizeLoop chan bool
85 updateStopwatch chan *stopwatch
86 quitLayoutPerformer chan struct{}
87 closingPublisher CloseEventPublisher
88 activatingPublisher EventPublisher
89 deactivatingPublisher EventPublisher
90 startingPublisher EventPublisher
91 titleChangedPublisher EventPublisher
92 iconChangedPublisher EventPublisher
93 progressIndicator *ProgressIndicator
94 icon Image
95 prevFocusHWnd win.HWND
96 proposedSize Size // in native pixels
97 closeReason CloseReason
98 inSizingLoop bool
99 startingLayoutViaSizingLoop bool
100 isInRestoreState bool
101 started bool
102 layoutScheduled bool
103}
104
105func (fb *FormBase) init(form Form) error {
106 var err error

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected