Close#
func (TooltipState) Close() TooltipStateClose returns the closed state.
API 文档由 Go 源码生成,内容为英文。
type TooltipState boolTooltipState is caller-owned tooltip visibility. Its zero value is closed. Transitions are synchronous value operations and never schedule work.
Close#func (TooltipState) Close() TooltipStateClose returns the closed state.
Dismiss#func (TooltipState) Dismiss() TooltipStateDismiss closes the tooltip after an application-owned dismiss action.
Escape#func (TooltipState) Escape() TooltipStateEscape closes the tooltip after the runtime routes an Escape key press.
IsOpen#func (state TooltipState) IsOpen() boolIsOpen reports whether the tooltip should be painted.
Open#func (TooltipState) Open() TooltipStateOpen returns the open state.
OutsidePress#func (TooltipState) OutsidePress() TooltipStateOutsidePress closes the tooltip after the runtime identifies an outside press.
Toggle#func (state TooltipState) Toggle() TooltipStateToggle returns the opposite visibility state.