Example #1
0
func (ptr *QWindowStateChangeEvent) OldState() core.Qt__WindowState {
	if ptr.Pointer() != nil {
		return core.Qt__WindowState(C.QWindowStateChangeEvent_OldState(ptr.Pointer()))
	}
	return 0
}
Example #2
0
File: qwindow.go Project: xland/qt
//export callbackQWindowWindowStateChanged
func callbackQWindowWindowStateChanged(ptrName *C.char, windowState C.int) {
	qt.GetSignal(C.GoString(ptrName), "windowStateChanged").(func(core.Qt__WindowState))(core.Qt__WindowState(windowState))
}
Example #3
0
File: qwidget.go Project: xland/qt
func (ptr *QWidget) WindowState() core.Qt__WindowState {
	if ptr.Pointer() != nil {
		return core.Qt__WindowState(C.QWidget_WindowState(ptr.Pointer()))
	}
	return 0
}
Example #4
0
//export callbackQMdiSubWindowWindowStateChanged
func callbackQMdiSubWindowWindowStateChanged(ptrName *C.char, oldState C.int, newState C.int) {
	qt.GetSignal(C.GoString(ptrName), "windowStateChanged").(func(core.Qt__WindowState, core.Qt__WindowState))(core.Qt__WindowState(oldState), core.Qt__WindowState(newState))
}