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

Struct WindowBase

window.go:404–444  ·  view source on GitHub ↗

WindowBase implements many operations common to all Windows.

Source from the content-addressed store, hash-verified

402
403// WindowBase implements many operations common to all Windows.
404type WindowBase struct {
405 nopActionListObserver
406 group *WindowGroup
407 window Window
408 form Form
409 hWnd win.HWND
410 origWndProcPtr uintptr
411 name string
412 font *Font
413 hFont win.HFONT
414 contextMenu *Menu
415 shortcutActions *ActionList
416 disposables []Disposable
417 disposingPublisher EventPublisher
418 dropFilesPublisher DropFilesEventPublisher
419 keyDownPublisher KeyEventPublisher
420 keyPressPublisher KeyEventPublisher
421 keyUpPublisher KeyEventPublisher
422 mouseDownPublisher MouseEventPublisher
423 mouseUpPublisher MouseEventPublisher
424 mouseMovePublisher MouseEventPublisher
425 mouseWheelPublisher MouseEventPublisher
426 boundsChangedPublisher EventPublisher
427 sizeChangedPublisher EventPublisher
428 maxSize96dpi Size
429 minSize96dpi Size
430 background Brush
431 cursor Cursor
432 name2Property map[string]Property
433 enabledProperty Property
434 enabledChangedPublisher EventPublisher
435 visibleProperty Property
436 visibleChangedPublisher EventPublisher
437 focusedProperty Property
438 focusedChangedPublisher EventPublisher
439 calcTextSizeInfo2TextSize map[calcTextSizeInfo]Size // in native pixels
440 suspended bool
441 visible bool
442 enabled bool
443 acc *Accessibility
444}
445
446var (
447 registeredWindowClasses = make(map[string]bool)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected