类型 SidebarMenuAction

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

type SidebarMenuAction struct {
	ID          ui.ID
	Icon        ui.Icon
	Label       string
	ShowOnHover bool
}

SidebarMenuAction is the secondary button of a menu item (SidebarMenuAction): a 20px square at the item's trailing edge, usually a "..." that opens a menu. It has an ID of its own; ShowOnHover shows it only while the item or the action is hovered or focused.