setWindowTitle function
SetWindowTitle updates window title.
For further details, please see: https://docs.opencv.org/master/d7/dfc/group__highgui.html#ga56f8849295fd10d0c319724ddb773d96
Implementation
void setWindowTitle(String winName, String title) {
final cWinName = winName.toNativeUtf8().cast<ffi.Char>();
final ctitle = title.toNativeUtf8().cast<ffi.Char>();
cvRun(() => chighgui.cv_setWindowTitle(cWinName, ctitle));
calloc.free(ctitle);
calloc.free(cWinName);
}