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