MCPcopy Create free account
hub / github.com/devnullvoid/pvetui / SetText

Method SetText

internal/ui/components/wide_modal.go:106–109  ·  view source on GitHub ↗

SetText sets the message text of the window.

(text string)

Source from the content-addressed store, hash-verified

104
105// SetText sets the message text of the window.
106func (m *WideModal) SetText(text string) *WideModal {
107 m.text = text
108 return m
109}
110
111// AddButtons adds buttons to the window.
112func (m *WideModal) AddButtons(labels []string) *WideModal {

Callers 1

CreateAboutDialogFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected