Example #1
0
File: qwidget.go Project: xland/qt
func (ptr *QWidget) SetCursor(v gui.QCursor_ITF) {
	if ptr.Pointer() != nil {
		C.QWidget_SetCursor(ptr.Pointer(), gui.PointerFromQCursor(v))
	}
}
Example #2
0
File: qwidget.go Project: xland/qt
func (ptr *QWidget) GrabMouse2(cursor gui.QCursor_ITF) {
	if ptr.Pointer() != nil {
		C.QWidget_GrabMouse2(ptr.Pointer(), gui.PointerFromQCursor(cursor))
	}
}