Beispiel #1
0
func (ptr *QFocusEvent) Reason() core.Qt__FocusReason {
	if ptr.Pointer() != nil {
		return core.Qt__FocusReason(C.QFocusEvent_Reason(ptr.Pointer()))
	}
	return 0
}
Beispiel #2
0
//export callbackQGraphicsSceneFocusItemChanged
func callbackQGraphicsSceneFocusItemChanged(ptrName *C.char, newFocusItem unsafe.Pointer, oldFocusItem unsafe.Pointer, reason C.int) {
	qt.GetSignal(C.GoString(ptrName), "focusItemChanged").(func(*QGraphicsItem, *QGraphicsItem, core.Qt__FocusReason))(NewQGraphicsItemFromPointer(newFocusItem), NewQGraphicsItemFromPointer(oldFocusItem), core.Qt__FocusReason(reason))
}