类型 SegmentOption

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

type SegmentOption struct {
	ID       ui.ID
	Label    string
	Disabled bool
}

SegmentOption is one stable choice in a SegmentedControl. ID is returned by the normal canvas pointer and keyboard activation path; callers should keep both ID and order stable between paints.