Example #1
0
File: qwidget.go Project: xland/qt
func (ptr *QWidget) WindowModality() core.Qt__WindowModality {
	if ptr.Pointer() != nil {
		return core.Qt__WindowModality(C.QWidget_WindowModality(ptr.Pointer()))
	}
	return 0
}
Example #2
0
File: qwindow.go Project: xland/qt
//export callbackQWindowModalityChanged
func callbackQWindowModalityChanged(ptrName *C.char, modality C.int) {
	qt.GetSignal(C.GoString(ptrName), "modalityChanged").(func(core.Qt__WindowModality))(core.Qt__WindowModality(modality))
}