类型 InputGroupSemantics

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

type InputGroupSemantics struct {
	ID               ui.ID
	Label            string
	Value            string
	Hint             string
	Focused          bool
	Disabled         bool
	ReadOnly         bool
	Invalid          bool
	Multiline        bool
	SelectionStart   int
	SelectionEnd     int
	CompositionStart int
	CompositionEnd   int
}

InputGroupSemantics is the typed semantic projection of the embedded text control. Selection and composition are normalized UTF-8 byte ranges.