类型 ButtonState

API 文档由 Go 源码生成,内容为英文。

type ButtonState struct {
	Hovered bool
	Pressed bool
	Focused bool
	Invalid bool
}

ButtonState carries transient pointer, focus, and validation state for painting fixed previews or tests.