blob: 7b4fbebf4284e255d0fe6c4542e6b0e497d4e9c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// 7 february 2014
package ui
import (
"fmt"
)
// MsgBox displays an informational message box to the user with just an OK button.
func MsgBox(title string, textfmt string, args ...interface{}) {
msgBox(title, fmt.Sprintf(textfmt, args...))
}
// MsgBoxError displays a message box to the user with just an OK button and an icon indicating an error.
func MsgBoxError(title string, textfmt string, args ...interface{}) {
msgBoxError(title, fmt.Sprintf(textfmt, args...))
}
|