类型 SingleSelectOptions

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

type SingleSelectOptions struct {
	InputID, TriggerID, ClearID, DismissID, Scope, ScrollID  ui.ID
	OptionIDs                                                ui.Scope
	Label, Placeholder, EmptyLabel, CreatePrefix, ClearLabel string
	Viewport                                                 ui.Rect
	Layer                                                    uint16
	Disabled, Invalid                                        bool
	MaxRows                                                  int
}

SingleSelectOptions names the control's hit IDs, its popup layer and the strings the caller supplies for its labels and create row.