summaryrefslogtreecommitdiff
path: root/stddialogs.go
blob: ed127722998887f3db3d46f47c77158404769266 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// 20 december 2015

package ui

// #include "ui.h"
import "C"

// TODO OpenFile, SaveFile, MsgBox

// TODO
func MsgBoxError(w *Window, title string, description string) {
	ctitle := C.CString(title)
	cdescription := C.CString(description)
	C.uiMsgBoxError(w.w, ctitle, cdescription)
	freestr(ctitle)
	freestr(cdescription)
}