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

Method Enabled

widget.go:217–223  ·  view source on GitHub ↗

Enabled returns if the WidgetBase is enabled for user interaction.

()

Source from the content-addressed store, hash-verified

215
216// Enabled returns if the WidgetBase is enabled for user interaction.
217func (wb *WidgetBase) Enabled() bool {
218 if wb.parent != nil {
219 return wb.enabled && wb.parent.Enabled()
220 }
221
222 return wb.enabled
223}
224
225// Font returns the Font of the WidgetBase.
226//

Callers

nothing calls this directly

Calls 1

EnabledMethod · 0.65

Tested by

no test coverage detected