Type StatusClick

type StatusClick struct {
	Button ui.PointerButton
	// Anchor locates the item for a panel opened in response.
	Anchor StatusAnchor
	// PanelDismissed is true when a WindowPanel closed itself, for losing
	// focus, because of this very press. A click that toggles a panel must not
	// open it again then.
	PanelDismissed bool
}

StatusClick is one press on a status item.

Constructors

NewStatusClick#

func NewStatusClick(button ui.PointerButton) StatusClick

NewStatusClick is the press a development runner reports for a status item that has no real icon to click. It has no anchor.