andlabs-ui/stddialogs.go

18 lines
326 B
Go
Raw Normal View History

// 20 december 2015
2015-12-21 16:14:40 -06:00
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)
}