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

Method SetLabel

internal/ui/components/form_button.go:112–116  ·  view source on GitHub ↗

SetLabel sets the button label.

(label string)

Source from the content-addressed store, hash-verified

110
111// SetLabel sets the button label.
112func (b *FormButton) SetLabel(label string) tview.FormItem {
113 b.label = label
114 b.button.SetLabel(label)
115 return b
116}
117
118// GetFieldWidth returns the width of the button (label length).
119func (b *FormButton) GetFieldWidth() int {

Callers 15

NewConfigWizardPageFunction · 0.80
displayVMCreateFormMethod · 0.80
showMigrationDialogMethod · 0.80
activateSearchMethod · 0.80
showAddGroupDialogMethod · 0.80
displayCreateFormMethod · 0.80
displayLXCCreateFormMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected