{-# LANGUAGE ImplicitParams, RankNTypes, TypeApplications #-}
#if (MIN_VERSION_haskell_gi_overloading(1,0,0) && !defined(__HADDOCK_VERSION__))
#define ENABLE_OVERLOADING
#endif
module GI.Clutter.Objects.Actor
(
#if defined(ENABLE_OVERLOADING)
ActorGetAbsAllocationVerticesMethodInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
ActorGetAllocationVerticesMethodInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
ActorGetChildTransformMethodInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
ActorGetTransformMethodInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
ActorGetTransformationMatrixMethodInfo ,
#endif
Actor(..) ,
IsActor ,
toActor ,
#if defined(ENABLE_OVERLOADING)
ResolveActorMethod ,
#endif
#if defined(ENABLE_OVERLOADING)
ActorAddActionMethodInfo ,
#endif
actorAddAction ,
#if defined(ENABLE_OVERLOADING)
ActorAddActionWithNameMethodInfo ,
#endif
actorAddActionWithName ,
#if defined(ENABLE_OVERLOADING)
ActorAddChildMethodInfo ,
#endif
actorAddChild ,
#if defined(ENABLE_OVERLOADING)
ActorAddConstraintMethodInfo ,
#endif
actorAddConstraint ,
#if defined(ENABLE_OVERLOADING)
ActorAddConstraintWithNameMethodInfo ,
#endif
actorAddConstraintWithName ,
#if defined(ENABLE_OVERLOADING)
ActorAddEffectMethodInfo ,
#endif
actorAddEffect ,
#if defined(ENABLE_OVERLOADING)
ActorAddEffectWithNameMethodInfo ,
#endif
actorAddEffectWithName ,
#if defined(ENABLE_OVERLOADING)
ActorAddTransitionMethodInfo ,
#endif
actorAddTransition ,
#if defined(ENABLE_OVERLOADING)
ActorAllocateMethodInfo ,
#endif
actorAllocate ,
#if defined(ENABLE_OVERLOADING)
ActorAllocateAlignFillMethodInfo ,
#endif
actorAllocateAlignFill ,
#if defined(ENABLE_OVERLOADING)
ActorAllocateAvailableSizeMethodInfo ,
#endif
actorAllocateAvailableSize ,
#if defined(ENABLE_OVERLOADING)
ActorAllocatePreferredSizeMethodInfo ,
#endif
actorAllocatePreferredSize ,
#if defined(ENABLE_OVERLOADING)
ActorAnimateWithAlphavMethodInfo ,
#endif
actorAnimateWithAlphav ,
#if defined(ENABLE_OVERLOADING)
ActorAnimateWithTimelinevMethodInfo ,
#endif
actorAnimateWithTimelinev ,
#if defined(ENABLE_OVERLOADING)
ActorAnimatevMethodInfo ,
#endif
actorAnimatev ,
#if defined(ENABLE_OVERLOADING)
ActorApplyRelativeTransformToPointMethodInfo,
#endif
actorApplyRelativeTransformToPoint ,
#if defined(ENABLE_OVERLOADING)
ActorApplyTransformToPointMethodInfo ,
#endif
actorApplyTransformToPoint ,
#if defined(ENABLE_OVERLOADING)
ActorBindModelMethodInfo ,
#endif
actorBindModel ,
#if defined(ENABLE_OVERLOADING)
ActorClearActionsMethodInfo ,
#endif
actorClearActions ,
#if defined(ENABLE_OVERLOADING)
ActorClearConstraintsMethodInfo ,
#endif
actorClearConstraints ,
#if defined(ENABLE_OVERLOADING)
ActorClearEffectsMethodInfo ,
#endif
actorClearEffects ,
#if defined(ENABLE_OVERLOADING)
ActorContainsMethodInfo ,
#endif
actorContains ,
#if defined(ENABLE_OVERLOADING)
ActorContinuePaintMethodInfo ,
#endif
actorContinuePaint ,
#if defined(ENABLE_OVERLOADING)
ActorCreatePangoContextMethodInfo ,
#endif
actorCreatePangoContext ,
#if defined(ENABLE_OVERLOADING)
ActorCreatePangoLayoutMethodInfo ,
#endif
actorCreatePangoLayout ,
#if defined(ENABLE_OVERLOADING)
ActorDestroyMethodInfo ,
#endif
actorDestroy ,
#if defined(ENABLE_OVERLOADING)
ActorDestroyAllChildrenMethodInfo ,
#endif
actorDestroyAllChildren ,
#if defined(ENABLE_OVERLOADING)
ActorDetachAnimationMethodInfo ,
#endif
actorDetachAnimation ,
#if defined(ENABLE_OVERLOADING)
ActorEventMethodInfo ,
#endif
actorEvent ,
#if defined(ENABLE_OVERLOADING)
ActorGetAccessibleMethodInfo ,
#endif
actorGetAccessible ,
#if defined(ENABLE_OVERLOADING)
ActorGetActionMethodInfo ,
#endif
actorGetAction ,
#if defined(ENABLE_OVERLOADING)
ActorGetActionsMethodInfo ,
#endif
actorGetActions ,
#if defined(ENABLE_OVERLOADING)
ActorGetAllocationBoxMethodInfo ,
#endif
actorGetAllocationBox ,
#if defined(ENABLE_OVERLOADING)
ActorGetAllocationGeometryMethodInfo ,
#endif
actorGetAllocationGeometry ,
#if defined(ENABLE_OVERLOADING)
ActorGetAnchorPointMethodInfo ,
#endif
actorGetAnchorPoint ,
#if defined(ENABLE_OVERLOADING)
ActorGetAnchorPointGravityMethodInfo ,
#endif
actorGetAnchorPointGravity ,
#if defined(ENABLE_OVERLOADING)
ActorGetAnimationMethodInfo ,
#endif
actorGetAnimation ,
#if defined(ENABLE_OVERLOADING)
ActorGetBackgroundColorMethodInfo ,
#endif
actorGetBackgroundColor ,
#if defined(ENABLE_OVERLOADING)
ActorGetChildAtIndexMethodInfo ,
#endif
actorGetChildAtIndex ,
#if defined(ENABLE_OVERLOADING)
ActorGetChildrenMethodInfo ,
#endif
actorGetChildren ,
#if defined(ENABLE_OVERLOADING)
ActorGetClipMethodInfo ,
#endif
actorGetClip ,
#if defined(ENABLE_OVERLOADING)
ActorGetClipToAllocationMethodInfo ,
#endif
actorGetClipToAllocation ,
#if defined(ENABLE_OVERLOADING)
ActorGetConstraintMethodInfo ,
#endif
actorGetConstraint ,
#if defined(ENABLE_OVERLOADING)
ActorGetConstraintsMethodInfo ,
#endif
actorGetConstraints ,
#if defined(ENABLE_OVERLOADING)
ActorGetContentMethodInfo ,
#endif
actorGetContent ,
#if defined(ENABLE_OVERLOADING)
ActorGetContentBoxMethodInfo ,
#endif
actorGetContentBox ,
#if defined(ENABLE_OVERLOADING)
ActorGetContentGravityMethodInfo ,
#endif
actorGetContentGravity ,
#if defined(ENABLE_OVERLOADING)
ActorGetContentRepeatMethodInfo ,
#endif
actorGetContentRepeat ,
#if defined(ENABLE_OVERLOADING)
ActorGetContentScalingFiltersMethodInfo ,
#endif
actorGetContentScalingFilters ,
#if defined(ENABLE_OVERLOADING)
ActorGetDefaultPaintVolumeMethodInfo ,
#endif
actorGetDefaultPaintVolume ,
#if defined(ENABLE_OVERLOADING)
ActorGetDepthMethodInfo ,
#endif
actorGetDepth ,
#if defined(ENABLE_OVERLOADING)
ActorGetEasingDelayMethodInfo ,
#endif
actorGetEasingDelay ,
#if defined(ENABLE_OVERLOADING)
ActorGetEasingDurationMethodInfo ,
#endif
actorGetEasingDuration ,
#if defined(ENABLE_OVERLOADING)
ActorGetEasingModeMethodInfo ,
#endif
actorGetEasingMode ,
#if defined(ENABLE_OVERLOADING)
ActorGetEffectMethodInfo ,
#endif
actorGetEffect ,
#if defined(ENABLE_OVERLOADING)
ActorGetEffectsMethodInfo ,
#endif
actorGetEffects ,
#if defined(ENABLE_OVERLOADING)
ActorGetFirstChildMethodInfo ,
#endif
actorGetFirstChild ,
#if defined(ENABLE_OVERLOADING)
ActorGetFixedPositionSetMethodInfo ,
#endif
actorGetFixedPositionSet ,
#if defined(ENABLE_OVERLOADING)
ActorGetFlagsMethodInfo ,
#endif
actorGetFlags ,
#if defined(ENABLE_OVERLOADING)
ActorGetGeometryMethodInfo ,
#endif
actorGetGeometry ,
#if defined(ENABLE_OVERLOADING)
ActorGetGidMethodInfo ,
#endif
actorGetGid ,
#if defined(ENABLE_OVERLOADING)
ActorGetHeightMethodInfo ,
#endif
actorGetHeight ,
#if defined(ENABLE_OVERLOADING)
ActorGetLastChildMethodInfo ,
#endif
actorGetLastChild ,
#if defined(ENABLE_OVERLOADING)
ActorGetLayoutManagerMethodInfo ,
#endif
actorGetLayoutManager ,
#if defined(ENABLE_OVERLOADING)
ActorGetMarginMethodInfo ,
#endif
actorGetMargin ,
#if defined(ENABLE_OVERLOADING)
ActorGetMarginBottomMethodInfo ,
#endif
actorGetMarginBottom ,
#if defined(ENABLE_OVERLOADING)
ActorGetMarginLeftMethodInfo ,
#endif
actorGetMarginLeft ,
#if defined(ENABLE_OVERLOADING)
ActorGetMarginRightMethodInfo ,
#endif
actorGetMarginRight ,
#if defined(ENABLE_OVERLOADING)
ActorGetMarginTopMethodInfo ,
#endif
actorGetMarginTop ,
#if defined(ENABLE_OVERLOADING)
ActorGetNChildrenMethodInfo ,
#endif
actorGetNChildren ,
#if defined(ENABLE_OVERLOADING)
ActorGetNameMethodInfo ,
#endif
actorGetName ,
#if defined(ENABLE_OVERLOADING)
ActorGetNextSiblingMethodInfo ,
#endif
actorGetNextSibling ,
#if defined(ENABLE_OVERLOADING)
ActorGetOffscreenRedirectMethodInfo ,
#endif
actorGetOffscreenRedirect ,
#if defined(ENABLE_OVERLOADING)
ActorGetOpacityMethodInfo ,
#endif
actorGetOpacity ,
#if defined(ENABLE_OVERLOADING)
ActorGetPaintBoxMethodInfo ,
#endif
actorGetPaintBox ,
#if defined(ENABLE_OVERLOADING)
ActorGetPaintOpacityMethodInfo ,
#endif
actorGetPaintOpacity ,
#if defined(ENABLE_OVERLOADING)
ActorGetPaintVisibilityMethodInfo ,
#endif
actorGetPaintVisibility ,
#if defined(ENABLE_OVERLOADING)
ActorGetPaintVolumeMethodInfo ,
#endif
actorGetPaintVolume ,
#if defined(ENABLE_OVERLOADING)
ActorGetPangoContextMethodInfo ,
#endif
actorGetPangoContext ,
#if defined(ENABLE_OVERLOADING)
ActorGetParentMethodInfo ,
#endif
actorGetParent ,
#if defined(ENABLE_OVERLOADING)
ActorGetPivotPointMethodInfo ,
#endif
actorGetPivotPoint ,
#if defined(ENABLE_OVERLOADING)
ActorGetPivotPointZMethodInfo ,
#endif
actorGetPivotPointZ ,
#if defined(ENABLE_OVERLOADING)
ActorGetPositionMethodInfo ,
#endif
actorGetPosition ,
#if defined(ENABLE_OVERLOADING)
ActorGetPreferredHeightMethodInfo ,
#endif
actorGetPreferredHeight ,
#if defined(ENABLE_OVERLOADING)
ActorGetPreferredSizeMethodInfo ,
#endif
actorGetPreferredSize ,
#if defined(ENABLE_OVERLOADING)
ActorGetPreferredWidthMethodInfo ,
#endif
actorGetPreferredWidth ,
#if defined(ENABLE_OVERLOADING)
ActorGetPreviousSiblingMethodInfo ,
#endif
actorGetPreviousSibling ,
#if defined(ENABLE_OVERLOADING)
ActorGetReactiveMethodInfo ,
#endif
actorGetReactive ,
#if defined(ENABLE_OVERLOADING)
ActorGetRequestModeMethodInfo ,
#endif
actorGetRequestMode ,
#if defined(ENABLE_OVERLOADING)
ActorGetRotationMethodInfo ,
#endif
actorGetRotation ,
#if defined(ENABLE_OVERLOADING)
ActorGetRotationAngleMethodInfo ,
#endif
actorGetRotationAngle ,
#if defined(ENABLE_OVERLOADING)
ActorGetScaleMethodInfo ,
#endif
actorGetScale ,
#if defined(ENABLE_OVERLOADING)
ActorGetScaleCenterMethodInfo ,
#endif
actorGetScaleCenter ,
#if defined(ENABLE_OVERLOADING)
ActorGetScaleGravityMethodInfo ,
#endif
actorGetScaleGravity ,
#if defined(ENABLE_OVERLOADING)
ActorGetScaleZMethodInfo ,
#endif
actorGetScaleZ ,
#if defined(ENABLE_OVERLOADING)
ActorGetShaderMethodInfo ,
#endif
actorGetShader ,
#if defined(ENABLE_OVERLOADING)
ActorGetSizeMethodInfo ,
#endif
actorGetSize ,
#if defined(ENABLE_OVERLOADING)
ActorGetStageMethodInfo ,
#endif
actorGetStage ,
#if defined(ENABLE_OVERLOADING)
ActorGetTextDirectionMethodInfo ,
#endif
actorGetTextDirection ,
#if defined(ENABLE_OVERLOADING)
ActorGetTransformedPaintVolumeMethodInfo,
#endif
actorGetTransformedPaintVolume ,
#if defined(ENABLE_OVERLOADING)
ActorGetTransformedPositionMethodInfo ,
#endif
actorGetTransformedPosition ,
#if defined(ENABLE_OVERLOADING)
ActorGetTransformedSizeMethodInfo ,
#endif
actorGetTransformedSize ,
#if defined(ENABLE_OVERLOADING)
ActorGetTransitionMethodInfo ,
#endif
actorGetTransition ,
#if defined(ENABLE_OVERLOADING)
ActorGetTranslationMethodInfo ,
#endif
actorGetTranslation ,
#if defined(ENABLE_OVERLOADING)
ActorGetWidthMethodInfo ,
#endif
actorGetWidth ,
#if defined(ENABLE_OVERLOADING)
ActorGetXMethodInfo ,
#endif
actorGetX ,
#if defined(ENABLE_OVERLOADING)
ActorGetXAlignMethodInfo ,
#endif
actorGetXAlign ,
#if defined(ENABLE_OVERLOADING)
ActorGetXExpandMethodInfo ,
#endif
actorGetXExpand ,
#if defined(ENABLE_OVERLOADING)
ActorGetYMethodInfo ,
#endif
actorGetY ,
#if defined(ENABLE_OVERLOADING)
ActorGetYAlignMethodInfo ,
#endif
actorGetYAlign ,
#if defined(ENABLE_OVERLOADING)
ActorGetYExpandMethodInfo ,
#endif
actorGetYExpand ,
#if defined(ENABLE_OVERLOADING)
ActorGetZPositionMethodInfo ,
#endif
actorGetZPosition ,
#if defined(ENABLE_OVERLOADING)
ActorGetZRotationGravityMethodInfo ,
#endif
actorGetZRotationGravity ,
#if defined(ENABLE_OVERLOADING)
ActorGrabKeyFocusMethodInfo ,
#endif
actorGrabKeyFocus ,
#if defined(ENABLE_OVERLOADING)
ActorHasActionsMethodInfo ,
#endif
actorHasActions ,
#if defined(ENABLE_OVERLOADING)
ActorHasAllocationMethodInfo ,
#endif
actorHasAllocation ,
#if defined(ENABLE_OVERLOADING)
ActorHasClipMethodInfo ,
#endif
actorHasClip ,
#if defined(ENABLE_OVERLOADING)
ActorHasConstraintsMethodInfo ,
#endif
actorHasConstraints ,
#if defined(ENABLE_OVERLOADING)
ActorHasEffectsMethodInfo ,
#endif
actorHasEffects ,
#if defined(ENABLE_OVERLOADING)
ActorHasKeyFocusMethodInfo ,
#endif
actorHasKeyFocus ,
#if defined(ENABLE_OVERLOADING)
ActorHasOverlapsMethodInfo ,
#endif
actorHasOverlaps ,
#if defined(ENABLE_OVERLOADING)
ActorHasPointerMethodInfo ,
#endif
actorHasPointer ,
#if defined(ENABLE_OVERLOADING)
ActorHideMethodInfo ,
#endif
actorHide ,
#if defined(ENABLE_OVERLOADING)
ActorHideAllMethodInfo ,
#endif
actorHideAll ,
#if defined(ENABLE_OVERLOADING)
ActorInsertChildAboveMethodInfo ,
#endif
actorInsertChildAbove ,
#if defined(ENABLE_OVERLOADING)
ActorInsertChildAtIndexMethodInfo ,
#endif
actorInsertChildAtIndex ,
#if defined(ENABLE_OVERLOADING)
ActorInsertChildBelowMethodInfo ,
#endif
actorInsertChildBelow ,
#if defined(ENABLE_OVERLOADING)
ActorIsInClonePaintMethodInfo ,
#endif
actorIsInClonePaint ,
#if defined(ENABLE_OVERLOADING)
ActorIsMappedMethodInfo ,
#endif
actorIsMapped ,
#if defined(ENABLE_OVERLOADING)
ActorIsRealizedMethodInfo ,
#endif
actorIsRealized ,
#if defined(ENABLE_OVERLOADING)
ActorIsRotatedMethodInfo ,
#endif
actorIsRotated ,
#if defined(ENABLE_OVERLOADING)
ActorIsScaledMethodInfo ,
#endif
actorIsScaled ,
#if defined(ENABLE_OVERLOADING)
ActorIsVisibleMethodInfo ,
#endif
actorIsVisible ,
#if defined(ENABLE_OVERLOADING)
ActorLowerMethodInfo ,
#endif
actorLower ,
#if defined(ENABLE_OVERLOADING)
ActorLowerBottomMethodInfo ,
#endif
actorLowerBottom ,
#if defined(ENABLE_OVERLOADING)
ActorMapMethodInfo ,
#endif
actorMap ,
#if defined(ENABLE_OVERLOADING)
ActorMoveAnchorPointMethodInfo ,
#endif
actorMoveAnchorPoint ,
#if defined(ENABLE_OVERLOADING)
ActorMoveAnchorPointFromGravityMethodInfo,
#endif
actorMoveAnchorPointFromGravity ,
#if defined(ENABLE_OVERLOADING)
ActorMoveByMethodInfo ,
#endif
actorMoveBy ,
#if defined(ENABLE_OVERLOADING)
ActorNeedsExpandMethodInfo ,
#endif
actorNeedsExpand ,
actorNew ,
#if defined(ENABLE_OVERLOADING)
ActorPaintMethodInfo ,
#endif
actorPaint ,
#if defined(ENABLE_OVERLOADING)
ActorPopInternalMethodInfo ,
#endif
actorPopInternal ,
#if defined(ENABLE_OVERLOADING)
ActorPushInternalMethodInfo ,
#endif
actorPushInternal ,
#if defined(ENABLE_OVERLOADING)
ActorQueueRedrawMethodInfo ,
#endif
actorQueueRedraw ,
#if defined(ENABLE_OVERLOADING)
ActorQueueRedrawWithClipMethodInfo ,
#endif
actorQueueRedrawWithClip ,
#if defined(ENABLE_OVERLOADING)
ActorQueueRelayoutMethodInfo ,
#endif
actorQueueRelayout ,
#if defined(ENABLE_OVERLOADING)
ActorRaiseMethodInfo ,
#endif
actorRaise ,
#if defined(ENABLE_OVERLOADING)
ActorRaiseTopMethodInfo ,
#endif
actorRaiseTop ,
#if defined(ENABLE_OVERLOADING)
ActorRealizeMethodInfo ,
#endif
actorRealize ,
#if defined(ENABLE_OVERLOADING)
ActorRemoveActionMethodInfo ,
#endif
actorRemoveAction ,
#if defined(ENABLE_OVERLOADING)
ActorRemoveActionByNameMethodInfo ,
#endif
actorRemoveActionByName ,
#if defined(ENABLE_OVERLOADING)
ActorRemoveAllChildrenMethodInfo ,
#endif
actorRemoveAllChildren ,
#if defined(ENABLE_OVERLOADING)
ActorRemoveAllTransitionsMethodInfo ,
#endif
actorRemoveAllTransitions ,
#if defined(ENABLE_OVERLOADING)
ActorRemoveChildMethodInfo ,
#endif
actorRemoveChild ,
#if defined(ENABLE_OVERLOADING)
ActorRemoveClipMethodInfo ,
#endif
actorRemoveClip ,
#if defined(ENABLE_OVERLOADING)
ActorRemoveConstraintMethodInfo ,
#endif
actorRemoveConstraint ,
#if defined(ENABLE_OVERLOADING)
ActorRemoveConstraintByNameMethodInfo ,
#endif
actorRemoveConstraintByName ,
#if defined(ENABLE_OVERLOADING)
ActorRemoveEffectMethodInfo ,
#endif
actorRemoveEffect ,
#if defined(ENABLE_OVERLOADING)
ActorRemoveEffectByNameMethodInfo ,
#endif
actorRemoveEffectByName ,
#if defined(ENABLE_OVERLOADING)
ActorRemoveTransitionMethodInfo ,
#endif
actorRemoveTransition ,
#if defined(ENABLE_OVERLOADING)
ActorReparentMethodInfo ,
#endif
actorReparent ,
#if defined(ENABLE_OVERLOADING)
ActorReplaceChildMethodInfo ,
#endif
actorReplaceChild ,
#if defined(ENABLE_OVERLOADING)
ActorRestoreEasingStateMethodInfo ,
#endif
actorRestoreEasingState ,
#if defined(ENABLE_OVERLOADING)
ActorSaveEasingStateMethodInfo ,
#endif
actorSaveEasingState ,
#if defined(ENABLE_OVERLOADING)
ActorSetAllocationMethodInfo ,
#endif
actorSetAllocation ,
#if defined(ENABLE_OVERLOADING)
ActorSetAnchorPointMethodInfo ,
#endif
actorSetAnchorPoint ,
#if defined(ENABLE_OVERLOADING)
ActorSetAnchorPointFromGravityMethodInfo,
#endif
actorSetAnchorPointFromGravity ,
#if defined(ENABLE_OVERLOADING)
ActorSetBackgroundColorMethodInfo ,
#endif
actorSetBackgroundColor ,
#if defined(ENABLE_OVERLOADING)
ActorSetChildAboveSiblingMethodInfo ,
#endif
actorSetChildAboveSibling ,
#if defined(ENABLE_OVERLOADING)
ActorSetChildAtIndexMethodInfo ,
#endif
actorSetChildAtIndex ,
#if defined(ENABLE_OVERLOADING)
ActorSetChildBelowSiblingMethodInfo ,
#endif
actorSetChildBelowSibling ,
#if defined(ENABLE_OVERLOADING)
ActorSetChildTransformMethodInfo ,
#endif
actorSetChildTransform ,
#if defined(ENABLE_OVERLOADING)
ActorSetClipMethodInfo ,
#endif
actorSetClip ,
#if defined(ENABLE_OVERLOADING)
ActorSetClipToAllocationMethodInfo ,
#endif
actorSetClipToAllocation ,
#if defined(ENABLE_OVERLOADING)
ActorSetContentMethodInfo ,
#endif
actorSetContent ,
#if defined(ENABLE_OVERLOADING)
ActorSetContentGravityMethodInfo ,
#endif
actorSetContentGravity ,
#if defined(ENABLE_OVERLOADING)
ActorSetContentRepeatMethodInfo ,
#endif
actorSetContentRepeat ,
#if defined(ENABLE_OVERLOADING)
ActorSetContentScalingFiltersMethodInfo ,
#endif
actorSetContentScalingFilters ,
#if defined(ENABLE_OVERLOADING)
ActorSetDepthMethodInfo ,
#endif
actorSetDepth ,
#if defined(ENABLE_OVERLOADING)
ActorSetEasingDelayMethodInfo ,
#endif
actorSetEasingDelay ,
#if defined(ENABLE_OVERLOADING)
ActorSetEasingDurationMethodInfo ,
#endif
actorSetEasingDuration ,
#if defined(ENABLE_OVERLOADING)
ActorSetEasingModeMethodInfo ,
#endif
actorSetEasingMode ,
#if defined(ENABLE_OVERLOADING)
ActorSetFixedPositionSetMethodInfo ,
#endif
actorSetFixedPositionSet ,
#if defined(ENABLE_OVERLOADING)
ActorSetFlagsMethodInfo ,
#endif
actorSetFlags ,
#if defined(ENABLE_OVERLOADING)
ActorSetGeometryMethodInfo ,
#endif
actorSetGeometry ,
#if defined(ENABLE_OVERLOADING)
ActorSetHeightMethodInfo ,
#endif
actorSetHeight ,
#if defined(ENABLE_OVERLOADING)
ActorSetLayoutManagerMethodInfo ,
#endif
actorSetLayoutManager ,
#if defined(ENABLE_OVERLOADING)
ActorSetMarginMethodInfo ,
#endif
actorSetMargin ,
#if defined(ENABLE_OVERLOADING)
ActorSetMarginBottomMethodInfo ,
#endif
actorSetMarginBottom ,
#if defined(ENABLE_OVERLOADING)
ActorSetMarginLeftMethodInfo ,
#endif
actorSetMarginLeft ,
#if defined(ENABLE_OVERLOADING)
ActorSetMarginRightMethodInfo ,
#endif
actorSetMarginRight ,
#if defined(ENABLE_OVERLOADING)
ActorSetMarginTopMethodInfo ,
#endif
actorSetMarginTop ,
#if defined(ENABLE_OVERLOADING)
ActorSetNameMethodInfo ,
#endif
actorSetName ,
#if defined(ENABLE_OVERLOADING)
ActorSetOffscreenRedirectMethodInfo ,
#endif
actorSetOffscreenRedirect ,
#if defined(ENABLE_OVERLOADING)
ActorSetOpacityMethodInfo ,
#endif
actorSetOpacity ,
#if defined(ENABLE_OVERLOADING)
ActorSetParentMethodInfo ,
#endif
actorSetParent ,
#if defined(ENABLE_OVERLOADING)
ActorSetPivotPointMethodInfo ,
#endif
actorSetPivotPoint ,
#if defined(ENABLE_OVERLOADING)
ActorSetPivotPointZMethodInfo ,
#endif
actorSetPivotPointZ ,
#if defined(ENABLE_OVERLOADING)
ActorSetPositionMethodInfo ,
#endif
actorSetPosition ,
#if defined(ENABLE_OVERLOADING)
ActorSetReactiveMethodInfo ,
#endif
actorSetReactive ,
#if defined(ENABLE_OVERLOADING)
ActorSetRequestModeMethodInfo ,
#endif
actorSetRequestMode ,
#if defined(ENABLE_OVERLOADING)
ActorSetRotationMethodInfo ,
#endif
actorSetRotation ,
#if defined(ENABLE_OVERLOADING)
ActorSetRotationAngleMethodInfo ,
#endif
actorSetRotationAngle ,
#if defined(ENABLE_OVERLOADING)
ActorSetScaleMethodInfo ,
#endif
actorSetScale ,
#if defined(ENABLE_OVERLOADING)
ActorSetScaleFullMethodInfo ,
#endif
actorSetScaleFull ,
#if defined(ENABLE_OVERLOADING)
ActorSetScaleWithGravityMethodInfo ,
#endif
actorSetScaleWithGravity ,
#if defined(ENABLE_OVERLOADING)
ActorSetScaleZMethodInfo ,
#endif
actorSetScaleZ ,
#if defined(ENABLE_OVERLOADING)
ActorSetShaderMethodInfo ,
#endif
actorSetShader ,
#if defined(ENABLE_OVERLOADING)
ActorSetShaderParamMethodInfo ,
#endif
actorSetShaderParam ,
#if defined(ENABLE_OVERLOADING)
ActorSetShaderParamFloatMethodInfo ,
#endif
actorSetShaderParamFloat ,
#if defined(ENABLE_OVERLOADING)
ActorSetShaderParamIntMethodInfo ,
#endif
actorSetShaderParamInt ,
#if defined(ENABLE_OVERLOADING)
ActorSetSizeMethodInfo ,
#endif
actorSetSize ,
#if defined(ENABLE_OVERLOADING)
ActorSetTextDirectionMethodInfo ,
#endif
actorSetTextDirection ,
#if defined(ENABLE_OVERLOADING)
ActorSetTransformMethodInfo ,
#endif
actorSetTransform ,
#if defined(ENABLE_OVERLOADING)
ActorSetTranslationMethodInfo ,
#endif
actorSetTranslation ,
#if defined(ENABLE_OVERLOADING)
ActorSetWidthMethodInfo ,
#endif
actorSetWidth ,
#if defined(ENABLE_OVERLOADING)
ActorSetXMethodInfo ,
#endif
actorSetX ,
#if defined(ENABLE_OVERLOADING)
ActorSetXAlignMethodInfo ,
#endif
actorSetXAlign ,
#if defined(ENABLE_OVERLOADING)
ActorSetXExpandMethodInfo ,
#endif
actorSetXExpand ,
#if defined(ENABLE_OVERLOADING)
ActorSetYMethodInfo ,
#endif
actorSetY ,
#if defined(ENABLE_OVERLOADING)
ActorSetYAlignMethodInfo ,
#endif
actorSetYAlign ,
#if defined(ENABLE_OVERLOADING)
ActorSetYExpandMethodInfo ,
#endif
actorSetYExpand ,
#if defined(ENABLE_OVERLOADING)
ActorSetZPositionMethodInfo ,
#endif
actorSetZPosition ,
#if defined(ENABLE_OVERLOADING)
ActorSetZRotationFromGravityMethodInfo ,
#endif
actorSetZRotationFromGravity ,
#if defined(ENABLE_OVERLOADING)
ActorShouldPickPaintMethodInfo ,
#endif
actorShouldPickPaint ,
#if defined(ENABLE_OVERLOADING)
ActorShowMethodInfo ,
#endif
actorShow ,
#if defined(ENABLE_OVERLOADING)
ActorShowAllMethodInfo ,
#endif
actorShowAll ,
#if defined(ENABLE_OVERLOADING)
ActorTransformStagePointMethodInfo ,
#endif
actorTransformStagePoint ,
#if defined(ENABLE_OVERLOADING)
ActorUnmapMethodInfo ,
#endif
actorUnmap ,
#if defined(ENABLE_OVERLOADING)
ActorUnparentMethodInfo ,
#endif
actorUnparent ,
#if defined(ENABLE_OVERLOADING)
ActorUnrealizeMethodInfo ,
#endif
actorUnrealize ,
#if defined(ENABLE_OVERLOADING)
ActorUnsetFlagsMethodInfo ,
#endif
actorUnsetFlags ,
#if defined(ENABLE_OVERLOADING)
ActorActionsPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorActions ,
#endif
clearActorActions ,
constructActorActions ,
setActorActions ,
#if defined(ENABLE_OVERLOADING)
ActorAllocationPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorAllocation ,
#endif
getActorAllocation ,
#if defined(ENABLE_OVERLOADING)
ActorAnchorGravityPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorAnchorGravity ,
#endif
constructActorAnchorGravity ,
getActorAnchorGravity ,
setActorAnchorGravity ,
#if defined(ENABLE_OVERLOADING)
ActorAnchorXPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorAnchorX ,
#endif
constructActorAnchorX ,
getActorAnchorX ,
setActorAnchorX ,
#if defined(ENABLE_OVERLOADING)
ActorAnchorYPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorAnchorY ,
#endif
constructActorAnchorY ,
getActorAnchorY ,
setActorAnchorY ,
#if defined(ENABLE_OVERLOADING)
ActorBackgroundColorPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorBackgroundColor ,
#endif
clearActorBackgroundColor ,
constructActorBackgroundColor ,
getActorBackgroundColor ,
setActorBackgroundColor ,
#if defined(ENABLE_OVERLOADING)
ActorBackgroundColorSetPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorBackgroundColorSet ,
#endif
getActorBackgroundColorSet ,
#if defined(ENABLE_OVERLOADING)
ActorChildTransformPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorChildTransform ,
#endif
clearActorChildTransform ,
constructActorChildTransform ,
getActorChildTransform ,
setActorChildTransform ,
#if defined(ENABLE_OVERLOADING)
ActorChildTransformSetPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorChildTransformSet ,
#endif
getActorChildTransformSet ,
#if defined(ENABLE_OVERLOADING)
ActorClipPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorClip ,
#endif
clearActorClip ,
constructActorClip ,
getActorClip ,
setActorClip ,
#if defined(ENABLE_OVERLOADING)
ActorClipRectPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorClipRect ,
#endif
clearActorClipRect ,
constructActorClipRect ,
getActorClipRect ,
setActorClipRect ,
#if defined(ENABLE_OVERLOADING)
ActorClipToAllocationPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorClipToAllocation ,
#endif
constructActorClipToAllocation ,
getActorClipToAllocation ,
setActorClipToAllocation ,
#if defined(ENABLE_OVERLOADING)
ActorConstraintsPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorConstraints ,
#endif
clearActorConstraints ,
constructActorConstraints ,
setActorConstraints ,
#if defined(ENABLE_OVERLOADING)
ActorContentPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorContent ,
#endif
clearActorContent ,
constructActorContent ,
getActorContent ,
setActorContent ,
#if defined(ENABLE_OVERLOADING)
ActorContentBoxPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorContentBox ,
#endif
getActorContentBox ,
#if defined(ENABLE_OVERLOADING)
ActorContentGravityPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorContentGravity ,
#endif
constructActorContentGravity ,
getActorContentGravity ,
setActorContentGravity ,
#if defined(ENABLE_OVERLOADING)
ActorContentRepeatPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorContentRepeat ,
#endif
constructActorContentRepeat ,
getActorContentRepeat ,
setActorContentRepeat ,
#if defined(ENABLE_OVERLOADING)
ActorDepthPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorDepth ,
#endif
constructActorDepth ,
getActorDepth ,
setActorDepth ,
#if defined(ENABLE_OVERLOADING)
ActorEffectPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorEffect ,
#endif
clearActorEffect ,
constructActorEffect ,
setActorEffect ,
#if defined(ENABLE_OVERLOADING)
ActorFirstChildPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorFirstChild ,
#endif
getActorFirstChild ,
#if defined(ENABLE_OVERLOADING)
ActorFixedPositionSetPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorFixedPositionSet ,
#endif
constructActorFixedPositionSet ,
getActorFixedPositionSet ,
setActorFixedPositionSet ,
#if defined(ENABLE_OVERLOADING)
ActorFixedXPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorFixedX ,
#endif
constructActorFixedX ,
getActorFixedX ,
setActorFixedX ,
#if defined(ENABLE_OVERLOADING)
ActorFixedYPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorFixedY ,
#endif
constructActorFixedY ,
getActorFixedY ,
setActorFixedY ,
#if defined(ENABLE_OVERLOADING)
ActorHasClipPropertyInfo ,
#endif
getActorHasClip ,
#if defined(ENABLE_OVERLOADING)
ActorHasPointerPropertyInfo ,
#endif
getActorHasPointer ,
#if defined(ENABLE_OVERLOADING)
ActorHeightPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorHeight ,
#endif
constructActorHeight ,
getActorHeight ,
setActorHeight ,
#if defined(ENABLE_OVERLOADING)
ActorLastChildPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorLastChild ,
#endif
getActorLastChild ,
#if defined(ENABLE_OVERLOADING)
ActorLayoutManagerPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorLayoutManager ,
#endif
clearActorLayoutManager ,
constructActorLayoutManager ,
getActorLayoutManager ,
setActorLayoutManager ,
#if defined(ENABLE_OVERLOADING)
ActorMagnificationFilterPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorMagnificationFilter ,
#endif
constructActorMagnificationFilter ,
getActorMagnificationFilter ,
setActorMagnificationFilter ,
#if defined(ENABLE_OVERLOADING)
ActorMappedPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorMapped ,
#endif
getActorMapped ,
#if defined(ENABLE_OVERLOADING)
ActorMarginBottomPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorMarginBottom ,
#endif
constructActorMarginBottom ,
getActorMarginBottom ,
setActorMarginBottom ,
#if defined(ENABLE_OVERLOADING)
ActorMarginLeftPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorMarginLeft ,
#endif
constructActorMarginLeft ,
getActorMarginLeft ,
setActorMarginLeft ,
#if defined(ENABLE_OVERLOADING)
ActorMarginRightPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorMarginRight ,
#endif
constructActorMarginRight ,
getActorMarginRight ,
setActorMarginRight ,
#if defined(ENABLE_OVERLOADING)
ActorMarginTopPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorMarginTop ,
#endif
constructActorMarginTop ,
getActorMarginTop ,
setActorMarginTop ,
#if defined(ENABLE_OVERLOADING)
ActorMinHeightPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorMinHeight ,
#endif
constructActorMinHeight ,
getActorMinHeight ,
setActorMinHeight ,
#if defined(ENABLE_OVERLOADING)
ActorMinHeightSetPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorMinHeightSet ,
#endif
constructActorMinHeightSet ,
getActorMinHeightSet ,
setActorMinHeightSet ,
#if defined(ENABLE_OVERLOADING)
ActorMinWidthPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorMinWidth ,
#endif
constructActorMinWidth ,
getActorMinWidth ,
setActorMinWidth ,
#if defined(ENABLE_OVERLOADING)
ActorMinWidthSetPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorMinWidthSet ,
#endif
constructActorMinWidthSet ,
getActorMinWidthSet ,
setActorMinWidthSet ,
#if defined(ENABLE_OVERLOADING)
ActorMinificationFilterPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorMinificationFilter ,
#endif
constructActorMinificationFilter ,
getActorMinificationFilter ,
setActorMinificationFilter ,
#if defined(ENABLE_OVERLOADING)
ActorNamePropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorName ,
#endif
constructActorName ,
getActorName ,
setActorName ,
#if defined(ENABLE_OVERLOADING)
ActorNaturalHeightPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorNaturalHeight ,
#endif
constructActorNaturalHeight ,
getActorNaturalHeight ,
setActorNaturalHeight ,
#if defined(ENABLE_OVERLOADING)
ActorNaturalHeightSetPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorNaturalHeightSet ,
#endif
constructActorNaturalHeightSet ,
getActorNaturalHeightSet ,
setActorNaturalHeightSet ,
#if defined(ENABLE_OVERLOADING)
ActorNaturalWidthPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorNaturalWidth ,
#endif
constructActorNaturalWidth ,
getActorNaturalWidth ,
setActorNaturalWidth ,
#if defined(ENABLE_OVERLOADING)
ActorNaturalWidthSetPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorNaturalWidthSet ,
#endif
constructActorNaturalWidthSet ,
getActorNaturalWidthSet ,
setActorNaturalWidthSet ,
#if defined(ENABLE_OVERLOADING)
ActorOffscreenRedirectPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorOffscreenRedirect ,
#endif
constructActorOffscreenRedirect ,
getActorOffscreenRedirect ,
setActorOffscreenRedirect ,
#if defined(ENABLE_OVERLOADING)
ActorOpacityPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorOpacity ,
#endif
constructActorOpacity ,
getActorOpacity ,
setActorOpacity ,
#if defined(ENABLE_OVERLOADING)
ActorPivotPointPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorPivotPoint ,
#endif
clearActorPivotPoint ,
constructActorPivotPoint ,
getActorPivotPoint ,
setActorPivotPoint ,
#if defined(ENABLE_OVERLOADING)
ActorPivotPointZPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorPivotPointZ ,
#endif
constructActorPivotPointZ ,
getActorPivotPointZ ,
setActorPivotPointZ ,
#if defined(ENABLE_OVERLOADING)
ActorPositionPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorPosition ,
#endif
clearActorPosition ,
constructActorPosition ,
getActorPosition ,
setActorPosition ,
#if defined(ENABLE_OVERLOADING)
ActorReactivePropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorReactive ,
#endif
constructActorReactive ,
getActorReactive ,
setActorReactive ,
#if defined(ENABLE_OVERLOADING)
ActorRealizedPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorRealized ,
#endif
getActorRealized ,
#if defined(ENABLE_OVERLOADING)
ActorRequestModePropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorRequestMode ,
#endif
constructActorRequestMode ,
getActorRequestMode ,
setActorRequestMode ,
#if defined(ENABLE_OVERLOADING)
ActorRotationAngleXPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorRotationAngleX ,
#endif
constructActorRotationAngleX ,
getActorRotationAngleX ,
setActorRotationAngleX ,
#if defined(ENABLE_OVERLOADING)
ActorRotationAngleYPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorRotationAngleY ,
#endif
constructActorRotationAngleY ,
getActorRotationAngleY ,
setActorRotationAngleY ,
#if defined(ENABLE_OVERLOADING)
ActorRotationAngleZPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorRotationAngleZ ,
#endif
constructActorRotationAngleZ ,
getActorRotationAngleZ ,
setActorRotationAngleZ ,
#if defined(ENABLE_OVERLOADING)
ActorRotationCenterXPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorRotationCenterX ,
#endif
clearActorRotationCenterX ,
constructActorRotationCenterX ,
getActorRotationCenterX ,
setActorRotationCenterX ,
#if defined(ENABLE_OVERLOADING)
ActorRotationCenterYPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorRotationCenterY ,
#endif
clearActorRotationCenterY ,
constructActorRotationCenterY ,
getActorRotationCenterY ,
setActorRotationCenterY ,
#if defined(ENABLE_OVERLOADING)
ActorRotationCenterZPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorRotationCenterZ ,
#endif
clearActorRotationCenterZ ,
constructActorRotationCenterZ ,
getActorRotationCenterZ ,
setActorRotationCenterZ ,
#if defined(ENABLE_OVERLOADING)
ActorRotationCenterZGravityPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorRotationCenterZGravity ,
#endif
constructActorRotationCenterZGravity ,
getActorRotationCenterZGravity ,
setActorRotationCenterZGravity ,
#if defined(ENABLE_OVERLOADING)
ActorScaleCenterXPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorScaleCenterX ,
#endif
constructActorScaleCenterX ,
getActorScaleCenterX ,
setActorScaleCenterX ,
#if defined(ENABLE_OVERLOADING)
ActorScaleCenterYPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorScaleCenterY ,
#endif
constructActorScaleCenterY ,
getActorScaleCenterY ,
setActorScaleCenterY ,
#if defined(ENABLE_OVERLOADING)
ActorScaleGravityPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorScaleGravity ,
#endif
constructActorScaleGravity ,
getActorScaleGravity ,
setActorScaleGravity ,
#if defined(ENABLE_OVERLOADING)
ActorScaleXPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorScaleX ,
#endif
constructActorScaleX ,
getActorScaleX ,
setActorScaleX ,
#if defined(ENABLE_OVERLOADING)
ActorScaleYPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorScaleY ,
#endif
constructActorScaleY ,
getActorScaleY ,
setActorScaleY ,
#if defined(ENABLE_OVERLOADING)
ActorScaleZPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorScaleZ ,
#endif
constructActorScaleZ ,
getActorScaleZ ,
setActorScaleZ ,
#if defined(ENABLE_OVERLOADING)
ActorShowOnSetParentPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorShowOnSetParent ,
#endif
constructActorShowOnSetParent ,
getActorShowOnSetParent ,
setActorShowOnSetParent ,
#if defined(ENABLE_OVERLOADING)
ActorSizePropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorSize ,
#endif
clearActorSize ,
constructActorSize ,
getActorSize ,
setActorSize ,
#if defined(ENABLE_OVERLOADING)
ActorTextDirectionPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorTextDirection ,
#endif
constructActorTextDirection ,
getActorTextDirection ,
setActorTextDirection ,
#if defined(ENABLE_OVERLOADING)
ActorTransformPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorTransform ,
#endif
clearActorTransform ,
constructActorTransform ,
getActorTransform ,
setActorTransform ,
#if defined(ENABLE_OVERLOADING)
ActorTransformSetPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorTransformSet ,
#endif
getActorTransformSet ,
#if defined(ENABLE_OVERLOADING)
ActorTranslationXPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorTranslationX ,
#endif
constructActorTranslationX ,
getActorTranslationX ,
setActorTranslationX ,
#if defined(ENABLE_OVERLOADING)
ActorTranslationYPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorTranslationY ,
#endif
constructActorTranslationY ,
getActorTranslationY ,
setActorTranslationY ,
#if defined(ENABLE_OVERLOADING)
ActorTranslationZPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorTranslationZ ,
#endif
constructActorTranslationZ ,
getActorTranslationZ ,
setActorTranslationZ ,
#if defined(ENABLE_OVERLOADING)
ActorVisiblePropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorVisible ,
#endif
constructActorVisible ,
getActorVisible ,
setActorVisible ,
#if defined(ENABLE_OVERLOADING)
ActorWidthPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorWidth ,
#endif
constructActorWidth ,
getActorWidth ,
setActorWidth ,
#if defined(ENABLE_OVERLOADING)
ActorXPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorX ,
#endif
constructActorX ,
getActorX ,
setActorX ,
#if defined(ENABLE_OVERLOADING)
ActorXAlignPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorXAlign ,
#endif
constructActorXAlign ,
getActorXAlign ,
setActorXAlign ,
#if defined(ENABLE_OVERLOADING)
ActorXExpandPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorXExpand ,
#endif
constructActorXExpand ,
getActorXExpand ,
setActorXExpand ,
#if defined(ENABLE_OVERLOADING)
ActorYPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorY ,
#endif
constructActorY ,
getActorY ,
setActorY ,
#if defined(ENABLE_OVERLOADING)
ActorYAlignPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorYAlign ,
#endif
constructActorYAlign ,
getActorYAlign ,
setActorYAlign ,
#if defined(ENABLE_OVERLOADING)
ActorYExpandPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorYExpand ,
#endif
constructActorYExpand ,
getActorYExpand ,
setActorYExpand ,
#if defined(ENABLE_OVERLOADING)
ActorZPositionPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actorZPosition ,
#endif
constructActorZPosition ,
getActorZPosition ,
setActorZPosition ,
ActorAllocationChangedCallback ,
#if defined(ENABLE_OVERLOADING)
ActorAllocationChangedSignalInfo ,
#endif
afterActorAllocationChanged ,
onActorAllocationChanged ,
ActorButtonPressEventCallback ,
#if defined(ENABLE_OVERLOADING)
ActorButtonPressEventSignalInfo ,
#endif
afterActorButtonPressEvent ,
onActorButtonPressEvent ,
ActorButtonReleaseEventCallback ,
#if defined(ENABLE_OVERLOADING)
ActorButtonReleaseEventSignalInfo ,
#endif
afterActorButtonReleaseEvent ,
onActorButtonReleaseEvent ,
ActorCapturedEventCallback ,
#if defined(ENABLE_OVERLOADING)
ActorCapturedEventSignalInfo ,
#endif
afterActorCapturedEvent ,
onActorCapturedEvent ,
ActorDestroyCallback ,
#if defined(ENABLE_OVERLOADING)
ActorDestroySignalInfo ,
#endif
afterActorDestroy ,
onActorDestroy ,
ActorEnterEventCallback ,
#if defined(ENABLE_OVERLOADING)
ActorEnterEventSignalInfo ,
#endif
afterActorEnterEvent ,
onActorEnterEvent ,
ActorEventCallback ,
#if defined(ENABLE_OVERLOADING)
ActorEventSignalInfo ,
#endif
afterActorEvent ,
onActorEvent ,
ActorHideCallback ,
#if defined(ENABLE_OVERLOADING)
ActorHideSignalInfo ,
#endif
afterActorHide ,
onActorHide ,
ActorKeyFocusInCallback ,
#if defined(ENABLE_OVERLOADING)
ActorKeyFocusInSignalInfo ,
#endif
afterActorKeyFocusIn ,
onActorKeyFocusIn ,
ActorKeyFocusOutCallback ,
#if defined(ENABLE_OVERLOADING)
ActorKeyFocusOutSignalInfo ,
#endif
afterActorKeyFocusOut ,
onActorKeyFocusOut ,
ActorKeyPressEventCallback ,
#if defined(ENABLE_OVERLOADING)
ActorKeyPressEventSignalInfo ,
#endif
afterActorKeyPressEvent ,
onActorKeyPressEvent ,
ActorKeyReleaseEventCallback ,
#if defined(ENABLE_OVERLOADING)
ActorKeyReleaseEventSignalInfo ,
#endif
afterActorKeyReleaseEvent ,
onActorKeyReleaseEvent ,
ActorLeaveEventCallback ,
#if defined(ENABLE_OVERLOADING)
ActorLeaveEventSignalInfo ,
#endif
afterActorLeaveEvent ,
onActorLeaveEvent ,
ActorMotionEventCallback ,
#if defined(ENABLE_OVERLOADING)
ActorMotionEventSignalInfo ,
#endif
afterActorMotionEvent ,
onActorMotionEvent ,
ActorPaintCallback ,
#if defined(ENABLE_OVERLOADING)
ActorPaintSignalInfo ,
#endif
afterActorPaint ,
onActorPaint ,
ActorParentSetCallback ,
#if defined(ENABLE_OVERLOADING)
ActorParentSetSignalInfo ,
#endif
afterActorParentSet ,
onActorParentSet ,
ActorPickCallback ,
#if defined(ENABLE_OVERLOADING)
ActorPickSignalInfo ,
#endif
afterActorPick ,
onActorPick ,
ActorQueueRedrawCallback ,
#if defined(ENABLE_OVERLOADING)
ActorQueueRedrawSignalInfo ,
#endif
afterActorQueueRedraw ,
onActorQueueRedraw ,
ActorQueueRelayoutCallback ,
#if defined(ENABLE_OVERLOADING)
ActorQueueRelayoutSignalInfo ,
#endif
afterActorQueueRelayout ,
onActorQueueRelayout ,
ActorRealizeCallback ,
#if defined(ENABLE_OVERLOADING)
ActorRealizeSignalInfo ,
#endif
afterActorRealize ,
onActorRealize ,
ActorScrollEventCallback ,
#if defined(ENABLE_OVERLOADING)
ActorScrollEventSignalInfo ,
#endif
afterActorScrollEvent ,
onActorScrollEvent ,
ActorShowCallback ,
#if defined(ENABLE_OVERLOADING)
ActorShowSignalInfo ,
#endif
afterActorShow ,
onActorShow ,
ActorTouchEventCallback ,
#if defined(ENABLE_OVERLOADING)
ActorTouchEventSignalInfo ,
#endif
afterActorTouchEvent ,
onActorTouchEvent ,
ActorTransitionStoppedCallback ,
#if defined(ENABLE_OVERLOADING)
ActorTransitionStoppedSignalInfo ,
#endif
afterActorTransitionStopped ,
onActorTransitionStopped ,
ActorTransitionsCompletedCallback ,
#if defined(ENABLE_OVERLOADING)
ActorTransitionsCompletedSignalInfo ,
#endif
afterActorTransitionsCompleted ,
onActorTransitionsCompleted ,
ActorUnrealizeCallback ,
#if defined(ENABLE_OVERLOADING)
ActorUnrealizeSignalInfo ,
#endif
afterActorUnrealize ,
onActorUnrealize ,
) where
import Data.GI.Base.ShortPrelude
import qualified Data.GI.Base.ShortPrelude as SP
import qualified Data.GI.Base.Overloading as O
import qualified Prelude as P
import qualified Data.GI.Base.Attributes as GI.Attributes
import qualified Data.GI.Base.BasicTypes as B.Types
import qualified Data.GI.Base.ManagedPtr as B.ManagedPtr
import qualified Data.GI.Base.GArray as B.GArray
import qualified Data.GI.Base.GClosure as B.GClosure
import qualified Data.GI.Base.GError as B.GError
import qualified Data.GI.Base.GHashTable as B.GHT
import qualified Data.GI.Base.GVariant as B.GVariant
import qualified Data.GI.Base.GValue as B.GValue
import qualified Data.GI.Base.GParamSpec as B.GParamSpec
import qualified Data.GI.Base.CallStack as B.CallStack
import qualified Data.GI.Base.Properties as B.Properties
import qualified Data.GI.Base.Signals as B.Signals
import qualified Control.Monad.IO.Class as MIO
import qualified Data.Coerce as Coerce
import qualified Data.Text as T
import qualified Data.Kind as DK
import qualified Data.ByteString.Char8 as B
import qualified Data.Map as Map
import qualified Foreign.Ptr as FP
import qualified GHC.OverloadedLabels as OL
import qualified GHC.Records as R
import qualified Data.Word as DW
import qualified Data.Int as DI
import qualified System.Posix.Types as SPT
import qualified Foreign.C.Types as FCT
#if MIN_VERSION_base(4,18,0)
import qualified GI.Atk.Interfaces.ImplementorIface as Atk.ImplementorIface
import qualified GI.Atk.Objects.Object as Atk.Object
import qualified GI.Cairo.Structs.FontOptions as Cairo.FontOptions
import qualified GI.Cairo.Structs.RectangleInt as Cairo.RectangleInt
import qualified GI.Clutter.Callbacks as Clutter.Callbacks
import {-# SOURCE #-} qualified GI.Clutter.Enums as Clutter.Enums
import {-# SOURCE #-} qualified GI.Clutter.Flags as Clutter.Flags
import {-# SOURCE #-} qualified GI.Clutter.Interfaces.Animatable as Clutter.Animatable
import {-# SOURCE #-} qualified GI.Clutter.Interfaces.Container as Clutter.Container
import {-# SOURCE #-} qualified GI.Clutter.Interfaces.Content as Clutter.Content
import {-# SOURCE #-} qualified GI.Clutter.Interfaces.Scriptable as Clutter.Scriptable
import {-# SOURCE #-} qualified GI.Clutter.Objects.Action as Clutter.Action
import {-# SOURCE #-} qualified GI.Clutter.Objects.ActorMeta as Clutter.ActorMeta
import {-# SOURCE #-} qualified GI.Clutter.Objects.Alpha as Clutter.Alpha
import {-# SOURCE #-} qualified GI.Clutter.Objects.Animation as Clutter.Animation
import {-# SOURCE #-} qualified GI.Clutter.Objects.Animator as Clutter.Animator
import {-# SOURCE #-} qualified GI.Clutter.Objects.Backend as Clutter.Backend
import {-# SOURCE #-} qualified GI.Clutter.Objects.ChildMeta as Clutter.ChildMeta
import {-# SOURCE #-} qualified GI.Clutter.Objects.Constraint as Clutter.Constraint
import {-# SOURCE #-} qualified GI.Clutter.Objects.DeviceManager as Clutter.DeviceManager
import {-# SOURCE #-} qualified GI.Clutter.Objects.Effect as Clutter.Effect
import {-# SOURCE #-} qualified GI.Clutter.Objects.Group as Clutter.Group
import {-# SOURCE #-} qualified GI.Clutter.Objects.InputDevice as Clutter.InputDevice
import {-# SOURCE #-} qualified GI.Clutter.Objects.Interval as Clutter.Interval
import {-# SOURCE #-} qualified GI.Clutter.Objects.LayoutManager as Clutter.LayoutManager
import {-# SOURCE #-} qualified GI.Clutter.Objects.LayoutMeta as Clutter.LayoutMeta
import {-# SOURCE #-} qualified GI.Clutter.Objects.Script as Clutter.Script
import {-# SOURCE #-} qualified GI.Clutter.Objects.Shader as Clutter.Shader
import {-# SOURCE #-} qualified GI.Clutter.Objects.Stage as Clutter.Stage
import {-# SOURCE #-} qualified GI.Clutter.Objects.State as Clutter.State
import {-# SOURCE #-} qualified GI.Clutter.Objects.Timeline as Clutter.Timeline
import {-# SOURCE #-} qualified GI.Clutter.Objects.Transition as Clutter.Transition
import {-# SOURCE #-} qualified GI.Clutter.Structs.ActorBox as Clutter.ActorBox
import {-# SOURCE #-} qualified GI.Clutter.Structs.AnimatorKey as Clutter.AnimatorKey
import {-# SOURCE #-} qualified GI.Clutter.Structs.ButtonEvent as Clutter.ButtonEvent
import {-# SOURCE #-} qualified GI.Clutter.Structs.Color as Clutter.Color
import {-# SOURCE #-} qualified GI.Clutter.Structs.CrossingEvent as Clutter.CrossingEvent
import {-# SOURCE #-} qualified GI.Clutter.Structs.EventSequence as Clutter.EventSequence
import {-# SOURCE #-} qualified GI.Clutter.Structs.Fog as Clutter.Fog
import {-# SOURCE #-} qualified GI.Clutter.Structs.Geometry as Clutter.Geometry
import {-# SOURCE #-} qualified GI.Clutter.Structs.KeyEvent as Clutter.KeyEvent
import {-# SOURCE #-} qualified GI.Clutter.Structs.Margin as Clutter.Margin
import {-# SOURCE #-} qualified GI.Clutter.Structs.Matrix as Clutter.Matrix
import {-# SOURCE #-} qualified GI.Clutter.Structs.MotionEvent as Clutter.MotionEvent
import {-# SOURCE #-} qualified GI.Clutter.Structs.PaintVolume as Clutter.PaintVolume
import {-# SOURCE #-} qualified GI.Clutter.Structs.Perspective as Clutter.Perspective
import {-# SOURCE #-} qualified GI.Clutter.Structs.Point as Clutter.Point
import {-# SOURCE #-} qualified GI.Clutter.Structs.Rect as Clutter.Rect
import {-# SOURCE #-} qualified GI.Clutter.Structs.ScrollEvent as Clutter.ScrollEvent
import {-# SOURCE #-} qualified GI.Clutter.Structs.Size as Clutter.Size
import {-# SOURCE #-} qualified GI.Clutter.Structs.StateKey as Clutter.StateKey
import {-# SOURCE #-} qualified GI.Clutter.Structs.Vertex as Clutter.Vertex
import {-# SOURCE #-} qualified GI.Clutter.Unions.Event as Clutter.Event
import qualified GI.GLib.Callbacks as GLib.Callbacks
import qualified GI.GObject.Objects.Object as GObject.Object
import qualified GI.GObject.Structs.ObjectClass as GObject.ObjectClass
import qualified GI.Gio.Interfaces.ListModel as Gio.ListModel
import qualified GI.Json.Structs.Node as Json.Node
import qualified GI.Pango.Objects.Context as Pango.Context
import qualified GI.Pango.Objects.Layout as Pango.Layout
#else
import qualified GI.Atk.Interfaces.ImplementorIface as Atk.ImplementorIface
import qualified GI.Atk.Objects.Object as Atk.Object
import qualified GI.Cairo.Structs.RectangleInt as Cairo.RectangleInt
import qualified GI.Clutter.Callbacks as Clutter.Callbacks
import {-# SOURCE #-} qualified GI.Clutter.Enums as Clutter.Enums
import {-# SOURCE #-} qualified GI.Clutter.Flags as Clutter.Flags
import {-# SOURCE #-} qualified GI.Clutter.Interfaces.Animatable as Clutter.Animatable
import {-# SOURCE #-} qualified GI.Clutter.Interfaces.Container as Clutter.Container
import {-# SOURCE #-} qualified GI.Clutter.Interfaces.Content as Clutter.Content
import {-# SOURCE #-} qualified GI.Clutter.Interfaces.Scriptable as Clutter.Scriptable
import {-# SOURCE #-} qualified GI.Clutter.Objects.Action as Clutter.Action
import {-# SOURCE #-} qualified GI.Clutter.Objects.Alpha as Clutter.Alpha
import {-# SOURCE #-} qualified GI.Clutter.Objects.Animation as Clutter.Animation
import {-# SOURCE #-} qualified GI.Clutter.Objects.Constraint as Clutter.Constraint
import {-# SOURCE #-} qualified GI.Clutter.Objects.Effect as Clutter.Effect
import {-# SOURCE #-} qualified GI.Clutter.Objects.LayoutManager as Clutter.LayoutManager
import {-# SOURCE #-} qualified GI.Clutter.Objects.Shader as Clutter.Shader
import {-# SOURCE #-} qualified GI.Clutter.Objects.Stage as Clutter.Stage
import {-# SOURCE #-} qualified GI.Clutter.Objects.Timeline as Clutter.Timeline
import {-# SOURCE #-} qualified GI.Clutter.Objects.Transition as Clutter.Transition
import {-# SOURCE #-} qualified GI.Clutter.Structs.ActorBox as Clutter.ActorBox
import {-# SOURCE #-} qualified GI.Clutter.Structs.ButtonEvent as Clutter.ButtonEvent
import {-# SOURCE #-} qualified GI.Clutter.Structs.Color as Clutter.Color
import {-# SOURCE #-} qualified GI.Clutter.Structs.CrossingEvent as Clutter.CrossingEvent
import {-# SOURCE #-} qualified GI.Clutter.Structs.Geometry as Clutter.Geometry
import {-# SOURCE #-} qualified GI.Clutter.Structs.KeyEvent as Clutter.KeyEvent
import {-# SOURCE #-} qualified GI.Clutter.Structs.Margin as Clutter.Margin
import {-# SOURCE #-} qualified GI.Clutter.Structs.Matrix as Clutter.Matrix
import {-# SOURCE #-} qualified GI.Clutter.Structs.MotionEvent as Clutter.MotionEvent
import {-# SOURCE #-} qualified GI.Clutter.Structs.PaintVolume as Clutter.PaintVolume
import {-# SOURCE #-} qualified GI.Clutter.Structs.Point as Clutter.Point
import {-# SOURCE #-} qualified GI.Clutter.Structs.Rect as Clutter.Rect
import {-# SOURCE #-} qualified GI.Clutter.Structs.ScrollEvent as Clutter.ScrollEvent
import {-# SOURCE #-} qualified GI.Clutter.Structs.Size as Clutter.Size
import {-# SOURCE #-} qualified GI.Clutter.Structs.Vertex as Clutter.Vertex
import {-# SOURCE #-} qualified GI.Clutter.Unions.Event as Clutter.Event
import qualified GI.GLib.Callbacks as GLib.Callbacks
import qualified GI.GObject.Objects.Object as GObject.Object
import qualified GI.Gio.Interfaces.ListModel as Gio.ListModel
import qualified GI.Pango.Objects.Context as Pango.Context
import qualified GI.Pango.Objects.Layout as Pango.Layout
#endif
newtype Actor = Actor (SP.ManagedPtr Actor)
deriving (Actor -> Actor -> Bool
(Actor -> Actor -> Bool) -> (Actor -> Actor -> Bool) -> Eq Actor
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: Actor -> Actor -> Bool
== :: Actor -> Actor -> Bool
$c/= :: Actor -> Actor -> Bool
/= :: Actor -> Actor -> Bool
Eq)
instance SP.ManagedPtrNewtype Actor where
toManagedPtr :: Actor -> ManagedPtr Actor
toManagedPtr (Actor ManagedPtr Actor
p) = ManagedPtr Actor
p
foreign import ccall "clutter_actor_get_type"
c_clutter_actor_get_type :: IO B.Types.GType
instance B.Types.TypedObject Actor where
glibType :: IO GType
glibType = IO GType
c_clutter_actor_get_type
instance B.Types.GObject Actor
class (SP.GObject o, O.IsDescendantOf Actor o) => IsActor o
instance (SP.GObject o, O.IsDescendantOf Actor o) => IsActor o
instance O.HasParentTypes Actor
type instance O.ParentTypes Actor = '[GObject.Object.Object, Atk.ImplementorIface.ImplementorIface, Clutter.Animatable.Animatable, Clutter.Container.Container, Clutter.Scriptable.Scriptable]
toActor :: (MIO.MonadIO m, IsActor o) => o -> m Actor
toActor :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m Actor
toActor = IO Actor -> m Actor
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Actor -> m Actor) -> (o -> IO Actor) -> o -> m Actor
forall b c a. (b -> c) -> (a -> b) -> a -> c
. (ManagedPtr Actor -> Actor) -> o -> IO Actor
forall o o'.
(HasCallStack, ManagedPtrNewtype o, TypedObject o,
ManagedPtrNewtype o', TypedObject o') =>
(ManagedPtr o' -> o') -> o -> IO o'
B.ManagedPtr.unsafeCastTo ManagedPtr Actor -> Actor
Actor
instance B.GValue.IsGValue (Maybe Actor) where
gvalueGType_ :: IO GType
gvalueGType_ = IO GType
c_clutter_actor_get_type
gvalueSet_ :: Ptr GValue -> Maybe Actor -> IO ()
gvalueSet_ Ptr GValue
gv Maybe Actor
P.Nothing = Ptr GValue -> Ptr Actor -> IO ()
forall a. GObject a => Ptr GValue -> Ptr a -> IO ()
B.GValue.set_object Ptr GValue
gv (Ptr Actor
forall a. Ptr a
FP.nullPtr :: FP.Ptr Actor)
gvalueSet_ Ptr GValue
gv (P.Just Actor
obj) = Actor -> (Ptr Actor -> IO ()) -> IO ()
forall a c.
(HasCallStack, ManagedPtrNewtype a) =>
a -> (Ptr a -> IO c) -> IO c
B.ManagedPtr.withManagedPtr Actor
obj (Ptr GValue -> Ptr Actor -> IO ()
forall a. GObject a => Ptr GValue -> Ptr a -> IO ()
B.GValue.set_object Ptr GValue
gv)
gvalueGet_ :: Ptr GValue -> IO (Maybe Actor)
gvalueGet_ Ptr GValue
gv = do
Ptr Actor
ptr <- Ptr GValue -> IO (Ptr Actor)
forall a. GObject a => Ptr GValue -> IO (Ptr a)
B.GValue.get_object Ptr GValue
gv :: IO (FP.Ptr Actor)
if Ptr Actor
ptr Ptr Actor -> Ptr Actor -> Bool
forall a. Eq a => a -> a -> Bool
/= Ptr Actor
forall a. Ptr a
FP.nullPtr
then Actor -> Maybe Actor
forall a. a -> Maybe a
P.Just (Actor -> Maybe Actor) -> IO Actor -> IO (Maybe Actor)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> (ManagedPtr Actor -> Actor) -> Ptr Actor -> IO Actor
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
B.ManagedPtr.newObject ManagedPtr Actor -> Actor
Actor Ptr Actor
ptr
else Maybe Actor -> IO (Maybe Actor)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Maybe Actor
forall a. Maybe a
P.Nothing
#if defined(ENABLE_OVERLOADING)
type family ResolveActorMethod (t :: Symbol) (o :: DK.Type) :: DK.Type where
ResolveActorMethod "addAction" o = ActorAddActionMethodInfo
ResolveActorMethod "addActionWithName" o = ActorAddActionWithNameMethodInfo
ResolveActorMethod "addActor" o = Clutter.Container.ContainerAddActorMethodInfo
ResolveActorMethod "addChild" o = ActorAddChildMethodInfo
ResolveActorMethod "addConstraint" o = ActorAddConstraintMethodInfo
ResolveActorMethod "addConstraintWithName" o = ActorAddConstraintWithNameMethodInfo
ResolveActorMethod "addEffect" o = ActorAddEffectMethodInfo
ResolveActorMethod "addEffectWithName" o = ActorAddEffectWithNameMethodInfo
ResolveActorMethod "addTransition" o = ActorAddTransitionMethodInfo
ResolveActorMethod "allocate" o = ActorAllocateMethodInfo
ResolveActorMethod "allocateAlignFill" o = ActorAllocateAlignFillMethodInfo
ResolveActorMethod "allocateAvailableSize" o = ActorAllocateAvailableSizeMethodInfo
ResolveActorMethod "allocatePreferredSize" o = ActorAllocatePreferredSizeMethodInfo
ResolveActorMethod "animateProperty" o = Clutter.Animatable.AnimatableAnimatePropertyMethodInfo
ResolveActorMethod "animateWithAlphav" o = ActorAnimateWithAlphavMethodInfo
ResolveActorMethod "animateWithTimelinev" o = ActorAnimateWithTimelinevMethodInfo
ResolveActorMethod "animatev" o = ActorAnimatevMethodInfo
ResolveActorMethod "applyRelativeTransformToPoint" o = ActorApplyRelativeTransformToPointMethodInfo
ResolveActorMethod "applyTransformToPoint" o = ActorApplyTransformToPointMethodInfo
ResolveActorMethod "bindModel" o = ActorBindModelMethodInfo
ResolveActorMethod "bindProperty" o = GObject.Object.ObjectBindPropertyMethodInfo
ResolveActorMethod "bindPropertyFull" o = GObject.Object.ObjectBindPropertyFullMethodInfo
ResolveActorMethod "childGetProperty" o = Clutter.Container.ContainerChildGetPropertyMethodInfo
ResolveActorMethod "childNotify" o = Clutter.Container.ContainerChildNotifyMethodInfo
ResolveActorMethod "childSetProperty" o = Clutter.Container.ContainerChildSetPropertyMethodInfo
ResolveActorMethod "clearActions" o = ActorClearActionsMethodInfo
ResolveActorMethod "clearConstraints" o = ActorClearConstraintsMethodInfo
ResolveActorMethod "clearEffects" o = ActorClearEffectsMethodInfo
ResolveActorMethod "contains" o = ActorContainsMethodInfo
ResolveActorMethod "continuePaint" o = ActorContinuePaintMethodInfo
ResolveActorMethod "createChildMeta" o = Clutter.Container.ContainerCreateChildMetaMethodInfo
ResolveActorMethod "createPangoContext" o = ActorCreatePangoContextMethodInfo
ResolveActorMethod "createPangoLayout" o = ActorCreatePangoLayoutMethodInfo
ResolveActorMethod "destroy" o = ActorDestroyMethodInfo
ResolveActorMethod "destroyAllChildren" o = ActorDestroyAllChildrenMethodInfo
ResolveActorMethod "destroyChildMeta" o = Clutter.Container.ContainerDestroyChildMetaMethodInfo
ResolveActorMethod "detachAnimation" o = ActorDetachAnimationMethodInfo
ResolveActorMethod "event" o = ActorEventMethodInfo
ResolveActorMethod "findChildByName" o = Clutter.Container.ContainerFindChildByNameMethodInfo
ResolveActorMethod "findProperty" o = Clutter.Animatable.AnimatableFindPropertyMethodInfo
ResolveActorMethod "forceFloating" o = GObject.Object.ObjectForceFloatingMethodInfo
ResolveActorMethod "foreach" o = Clutter.Container.ContainerForeachMethodInfo
ResolveActorMethod "foreachWithInternals" o = Clutter.Container.ContainerForeachWithInternalsMethodInfo
ResolveActorMethod "freezeNotify" o = GObject.Object.ObjectFreezeNotifyMethodInfo
ResolveActorMethod "getv" o = GObject.Object.ObjectGetvMethodInfo
ResolveActorMethod "grabKeyFocus" o = ActorGrabKeyFocusMethodInfo
ResolveActorMethod "hasActions" o = ActorHasActionsMethodInfo
ResolveActorMethod "hasAllocation" o = ActorHasAllocationMethodInfo
ResolveActorMethod "hasClip" o = ActorHasClipMethodInfo
ResolveActorMethod "hasConstraints" o = ActorHasConstraintsMethodInfo
ResolveActorMethod "hasEffects" o = ActorHasEffectsMethodInfo
ResolveActorMethod "hasKeyFocus" o = ActorHasKeyFocusMethodInfo
ResolveActorMethod "hasOverlaps" o = ActorHasOverlapsMethodInfo
ResolveActorMethod "hasPointer" o = ActorHasPointerMethodInfo
ResolveActorMethod "hide" o = ActorHideMethodInfo
ResolveActorMethod "hideAll" o = ActorHideAllMethodInfo
ResolveActorMethod "insertChildAbove" o = ActorInsertChildAboveMethodInfo
ResolveActorMethod "insertChildAtIndex" o = ActorInsertChildAtIndexMethodInfo
ResolveActorMethod "insertChildBelow" o = ActorInsertChildBelowMethodInfo
ResolveActorMethod "interpolateValue" o = Clutter.Animatable.AnimatableInterpolateValueMethodInfo
ResolveActorMethod "isFloating" o = GObject.Object.ObjectIsFloatingMethodInfo
ResolveActorMethod "isInClonePaint" o = ActorIsInClonePaintMethodInfo
ResolveActorMethod "isMapped" o = ActorIsMappedMethodInfo
ResolveActorMethod "isRealized" o = ActorIsRealizedMethodInfo
ResolveActorMethod "isRotated" o = ActorIsRotatedMethodInfo
ResolveActorMethod "isScaled" o = ActorIsScaledMethodInfo
ResolveActorMethod "isVisible" o = ActorIsVisibleMethodInfo
ResolveActorMethod "lower" o = ActorLowerMethodInfo
ResolveActorMethod "lowerBottom" o = ActorLowerBottomMethodInfo
ResolveActorMethod "lowerChild" o = Clutter.Container.ContainerLowerChildMethodInfo
ResolveActorMethod "map" o = ActorMapMethodInfo
ResolveActorMethod "moveAnchorPoint" o = ActorMoveAnchorPointMethodInfo
ResolveActorMethod "moveAnchorPointFromGravity" o = ActorMoveAnchorPointFromGravityMethodInfo
ResolveActorMethod "moveBy" o = ActorMoveByMethodInfo
ResolveActorMethod "needsExpand" o = ActorNeedsExpandMethodInfo
ResolveActorMethod "notify" o = GObject.Object.ObjectNotifyMethodInfo
ResolveActorMethod "notifyByPspec" o = GObject.Object.ObjectNotifyByPspecMethodInfo
ResolveActorMethod "paint" o = ActorPaintMethodInfo
ResolveActorMethod "parseCustomNode" o = Clutter.Scriptable.ScriptableParseCustomNodeMethodInfo
ResolveActorMethod "popInternal" o = ActorPopInternalMethodInfo
ResolveActorMethod "pushInternal" o = ActorPushInternalMethodInfo
ResolveActorMethod "queueRedraw" o = ActorQueueRedrawMethodInfo
ResolveActorMethod "queueRedrawWithClip" o = ActorQueueRedrawWithClipMethodInfo
ResolveActorMethod "queueRelayout" o = ActorQueueRelayoutMethodInfo
ResolveActorMethod "raise" o = ActorRaiseMethodInfo
ResolveActorMethod "raiseChild" o = Clutter.Container.ContainerRaiseChildMethodInfo
ResolveActorMethod "raiseTop" o = ActorRaiseTopMethodInfo
ResolveActorMethod "realize" o = ActorRealizeMethodInfo
ResolveActorMethod "ref" o = GObject.Object.ObjectRefMethodInfo
ResolveActorMethod "refSink" o = GObject.Object.ObjectRefSinkMethodInfo
ResolveActorMethod "removeAction" o = ActorRemoveActionMethodInfo
ResolveActorMethod "removeActionByName" o = ActorRemoveActionByNameMethodInfo
ResolveActorMethod "removeActor" o = Clutter.Container.ContainerRemoveActorMethodInfo
ResolveActorMethod "removeAllChildren" o = ActorRemoveAllChildrenMethodInfo
ResolveActorMethod "removeAllTransitions" o = ActorRemoveAllTransitionsMethodInfo
ResolveActorMethod "removeChild" o = ActorRemoveChildMethodInfo
ResolveActorMethod "removeClip" o = ActorRemoveClipMethodInfo
ResolveActorMethod "removeConstraint" o = ActorRemoveConstraintMethodInfo
ResolveActorMethod "removeConstraintByName" o = ActorRemoveConstraintByNameMethodInfo
ResolveActorMethod "removeEffect" o = ActorRemoveEffectMethodInfo
ResolveActorMethod "removeEffectByName" o = ActorRemoveEffectByNameMethodInfo
ResolveActorMethod "removeTransition" o = ActorRemoveTransitionMethodInfo
ResolveActorMethod "reparent" o = ActorReparentMethodInfo
ResolveActorMethod "replaceChild" o = ActorReplaceChildMethodInfo
ResolveActorMethod "restoreEasingState" o = ActorRestoreEasingStateMethodInfo
ResolveActorMethod "runDispose" o = GObject.Object.ObjectRunDisposeMethodInfo
ResolveActorMethod "saveEasingState" o = ActorSaveEasingStateMethodInfo
ResolveActorMethod "shouldPickPaint" o = ActorShouldPickPaintMethodInfo
ResolveActorMethod "show" o = ActorShowMethodInfo
ResolveActorMethod "showAll" o = ActorShowAllMethodInfo
ResolveActorMethod "sortDepthOrder" o = Clutter.Container.ContainerSortDepthOrderMethodInfo
ResolveActorMethod "stealData" o = GObject.Object.ObjectStealDataMethodInfo
ResolveActorMethod "stealQdata" o = GObject.Object.ObjectStealQdataMethodInfo
ResolveActorMethod "thawNotify" o = GObject.Object.ObjectThawNotifyMethodInfo
ResolveActorMethod "transformStagePoint" o = ActorTransformStagePointMethodInfo
ResolveActorMethod "unmap" o = ActorUnmapMethodInfo
ResolveActorMethod "unparent" o = ActorUnparentMethodInfo
ResolveActorMethod "unrealize" o = ActorUnrealizeMethodInfo
ResolveActorMethod "unref" o = GObject.Object.ObjectUnrefMethodInfo
ResolveActorMethod "unsetFlags" o = ActorUnsetFlagsMethodInfo
ResolveActorMethod "watchClosure" o = GObject.Object.ObjectWatchClosureMethodInfo
ResolveActorMethod "getAbsAllocationVertices" o = ActorGetAbsAllocationVerticesMethodInfo
ResolveActorMethod "getAccessible" o = ActorGetAccessibleMethodInfo
ResolveActorMethod "getAction" o = ActorGetActionMethodInfo
ResolveActorMethod "getActions" o = ActorGetActionsMethodInfo
ResolveActorMethod "getAllocationBox" o = ActorGetAllocationBoxMethodInfo
ResolveActorMethod "getAllocationGeometry" o = ActorGetAllocationGeometryMethodInfo
ResolveActorMethod "getAllocationVertices" o = ActorGetAllocationVerticesMethodInfo
ResolveActorMethod "getAnchorPoint" o = ActorGetAnchorPointMethodInfo
ResolveActorMethod "getAnchorPointGravity" o = ActorGetAnchorPointGravityMethodInfo
ResolveActorMethod "getAnimation" o = ActorGetAnimationMethodInfo
ResolveActorMethod "getBackgroundColor" o = ActorGetBackgroundColorMethodInfo
ResolveActorMethod "getChildAtIndex" o = ActorGetChildAtIndexMethodInfo
ResolveActorMethod "getChildMeta" o = Clutter.Container.ContainerGetChildMetaMethodInfo
ResolveActorMethod "getChildTransform" o = ActorGetChildTransformMethodInfo
ResolveActorMethod "getChildren" o = ActorGetChildrenMethodInfo
ResolveActorMethod "getClip" o = ActorGetClipMethodInfo
ResolveActorMethod "getClipToAllocation" o = ActorGetClipToAllocationMethodInfo
ResolveActorMethod "getConstraint" o = ActorGetConstraintMethodInfo
ResolveActorMethod "getConstraints" o = ActorGetConstraintsMethodInfo
ResolveActorMethod "getContent" o = ActorGetContentMethodInfo
ResolveActorMethod "getContentBox" o = ActorGetContentBoxMethodInfo
ResolveActorMethod "getContentGravity" o = ActorGetContentGravityMethodInfo
ResolveActorMethod "getContentRepeat" o = ActorGetContentRepeatMethodInfo
ResolveActorMethod "getContentScalingFilters" o = ActorGetContentScalingFiltersMethodInfo
ResolveActorMethod "getData" o = GObject.Object.ObjectGetDataMethodInfo
ResolveActorMethod "getDefaultPaintVolume" o = ActorGetDefaultPaintVolumeMethodInfo
ResolveActorMethod "getDepth" o = ActorGetDepthMethodInfo
ResolveActorMethod "getEasingDelay" o = ActorGetEasingDelayMethodInfo
ResolveActorMethod "getEasingDuration" o = ActorGetEasingDurationMethodInfo
ResolveActorMethod "getEasingMode" o = ActorGetEasingModeMethodInfo
ResolveActorMethod "getEffect" o = ActorGetEffectMethodInfo
ResolveActorMethod "getEffects" o = ActorGetEffectsMethodInfo
ResolveActorMethod "getFirstChild" o = ActorGetFirstChildMethodInfo
ResolveActorMethod "getFixedPositionSet" o = ActorGetFixedPositionSetMethodInfo
ResolveActorMethod "getFlags" o = ActorGetFlagsMethodInfo
ResolveActorMethod "getGeometry" o = ActorGetGeometryMethodInfo
ResolveActorMethod "getGid" o = ActorGetGidMethodInfo
ResolveActorMethod "getHeight" o = ActorGetHeightMethodInfo
ResolveActorMethod "getId" o = Clutter.Scriptable.ScriptableGetIdMethodInfo
ResolveActorMethod "getInitialState" o = Clutter.Animatable.AnimatableGetInitialStateMethodInfo
ResolveActorMethod "getLastChild" o = ActorGetLastChildMethodInfo
ResolveActorMethod "getLayoutManager" o = ActorGetLayoutManagerMethodInfo
ResolveActorMethod "getMargin" o = ActorGetMarginMethodInfo
ResolveActorMethod "getMarginBottom" o = ActorGetMarginBottomMethodInfo
ResolveActorMethod "getMarginLeft" o = ActorGetMarginLeftMethodInfo
ResolveActorMethod "getMarginRight" o = ActorGetMarginRightMethodInfo
ResolveActorMethod "getMarginTop" o = ActorGetMarginTopMethodInfo
ResolveActorMethod "getNChildren" o = ActorGetNChildrenMethodInfo
ResolveActorMethod "getName" o = ActorGetNameMethodInfo
ResolveActorMethod "getNextSibling" o = ActorGetNextSiblingMethodInfo
ResolveActorMethod "getOffscreenRedirect" o = ActorGetOffscreenRedirectMethodInfo
ResolveActorMethod "getOpacity" o = ActorGetOpacityMethodInfo
ResolveActorMethod "getPaintBox" o = ActorGetPaintBoxMethodInfo
ResolveActorMethod "getPaintOpacity" o = ActorGetPaintOpacityMethodInfo
ResolveActorMethod "getPaintVisibility" o = ActorGetPaintVisibilityMethodInfo
ResolveActorMethod "getPaintVolume" o = ActorGetPaintVolumeMethodInfo
ResolveActorMethod "getPangoContext" o = ActorGetPangoContextMethodInfo
ResolveActorMethod "getParent" o = ActorGetParentMethodInfo
ResolveActorMethod "getPivotPoint" o = ActorGetPivotPointMethodInfo
ResolveActorMethod "getPivotPointZ" o = ActorGetPivotPointZMethodInfo
ResolveActorMethod "getPosition" o = ActorGetPositionMethodInfo
ResolveActorMethod "getPreferredHeight" o = ActorGetPreferredHeightMethodInfo
ResolveActorMethod "getPreferredSize" o = ActorGetPreferredSizeMethodInfo
ResolveActorMethod "getPreferredWidth" o = ActorGetPreferredWidthMethodInfo
ResolveActorMethod "getPreviousSibling" o = ActorGetPreviousSiblingMethodInfo
ResolveActorMethod "getProperty" o = GObject.Object.ObjectGetPropertyMethodInfo
ResolveActorMethod "getQdata" o = GObject.Object.ObjectGetQdataMethodInfo
ResolveActorMethod "getReactive" o = ActorGetReactiveMethodInfo
ResolveActorMethod "getRequestMode" o = ActorGetRequestModeMethodInfo
ResolveActorMethod "getRotation" o = ActorGetRotationMethodInfo
ResolveActorMethod "getRotationAngle" o = ActorGetRotationAngleMethodInfo
ResolveActorMethod "getScale" o = ActorGetScaleMethodInfo
ResolveActorMethod "getScaleCenter" o = ActorGetScaleCenterMethodInfo
ResolveActorMethod "getScaleGravity" o = ActorGetScaleGravityMethodInfo
ResolveActorMethod "getScaleZ" o = ActorGetScaleZMethodInfo
ResolveActorMethod "getShader" o = ActorGetShaderMethodInfo
ResolveActorMethod "getSize" o = ActorGetSizeMethodInfo
ResolveActorMethod "getStage" o = ActorGetStageMethodInfo
ResolveActorMethod "getTextDirection" o = ActorGetTextDirectionMethodInfo
ResolveActorMethod "getTransform" o = ActorGetTransformMethodInfo
ResolveActorMethod "getTransformationMatrix" o = ActorGetTransformationMatrixMethodInfo
ResolveActorMethod "getTransformedPaintVolume" o = ActorGetTransformedPaintVolumeMethodInfo
ResolveActorMethod "getTransformedPosition" o = ActorGetTransformedPositionMethodInfo
ResolveActorMethod "getTransformedSize" o = ActorGetTransformedSizeMethodInfo
ResolveActorMethod "getTransition" o = ActorGetTransitionMethodInfo
ResolveActorMethod "getTranslation" o = ActorGetTranslationMethodInfo
ResolveActorMethod "getWidth" o = ActorGetWidthMethodInfo
ResolveActorMethod "getX" o = ActorGetXMethodInfo
ResolveActorMethod "getXAlign" o = ActorGetXAlignMethodInfo
ResolveActorMethod "getXExpand" o = ActorGetXExpandMethodInfo
ResolveActorMethod "getY" o = ActorGetYMethodInfo
ResolveActorMethod "getYAlign" o = ActorGetYAlignMethodInfo
ResolveActorMethod "getYExpand" o = ActorGetYExpandMethodInfo
ResolveActorMethod "getZPosition" o = ActorGetZPositionMethodInfo
ResolveActorMethod "getZRotationGravity" o = ActorGetZRotationGravityMethodInfo
ResolveActorMethod "setAllocation" o = ActorSetAllocationMethodInfo
ResolveActorMethod "setAnchorPoint" o = ActorSetAnchorPointMethodInfo
ResolveActorMethod "setAnchorPointFromGravity" o = ActorSetAnchorPointFromGravityMethodInfo
ResolveActorMethod "setBackgroundColor" o = ActorSetBackgroundColorMethodInfo
ResolveActorMethod "setChildAboveSibling" o = ActorSetChildAboveSiblingMethodInfo
ResolveActorMethod "setChildAtIndex" o = ActorSetChildAtIndexMethodInfo
ResolveActorMethod "setChildBelowSibling" o = ActorSetChildBelowSiblingMethodInfo
ResolveActorMethod "setChildTransform" o = ActorSetChildTransformMethodInfo
ResolveActorMethod "setClip" o = ActorSetClipMethodInfo
ResolveActorMethod "setClipToAllocation" o = ActorSetClipToAllocationMethodInfo
ResolveActorMethod "setContent" o = ActorSetContentMethodInfo
ResolveActorMethod "setContentGravity" o = ActorSetContentGravityMethodInfo
ResolveActorMethod "setContentRepeat" o = ActorSetContentRepeatMethodInfo
ResolveActorMethod "setContentScalingFilters" o = ActorSetContentScalingFiltersMethodInfo
ResolveActorMethod "setCustomProperty" o = Clutter.Scriptable.ScriptableSetCustomPropertyMethodInfo
ResolveActorMethod "setData" o = GObject.Object.ObjectSetDataMethodInfo
ResolveActorMethod "setDataFull" o = GObject.Object.ObjectSetDataFullMethodInfo
ResolveActorMethod "setDepth" o = ActorSetDepthMethodInfo
ResolveActorMethod "setEasingDelay" o = ActorSetEasingDelayMethodInfo
ResolveActorMethod "setEasingDuration" o = ActorSetEasingDurationMethodInfo
ResolveActorMethod "setEasingMode" o = ActorSetEasingModeMethodInfo
ResolveActorMethod "setFinalState" o = Clutter.Animatable.AnimatableSetFinalStateMethodInfo
ResolveActorMethod "setFixedPositionSet" o = ActorSetFixedPositionSetMethodInfo
ResolveActorMethod "setFlags" o = ActorSetFlagsMethodInfo
ResolveActorMethod "setGeometry" o = ActorSetGeometryMethodInfo
ResolveActorMethod "setHeight" o = ActorSetHeightMethodInfo
ResolveActorMethod "setId" o = Clutter.Scriptable.ScriptableSetIdMethodInfo
ResolveActorMethod "setLayoutManager" o = ActorSetLayoutManagerMethodInfo
ResolveActorMethod "setMargin" o = ActorSetMarginMethodInfo
ResolveActorMethod "setMarginBottom" o = ActorSetMarginBottomMethodInfo
ResolveActorMethod "setMarginLeft" o = ActorSetMarginLeftMethodInfo
ResolveActorMethod "setMarginRight" o = ActorSetMarginRightMethodInfo
ResolveActorMethod "setMarginTop" o = ActorSetMarginTopMethodInfo
ResolveActorMethod "setName" o = ActorSetNameMethodInfo
ResolveActorMethod "setOffscreenRedirect" o = ActorSetOffscreenRedirectMethodInfo
ResolveActorMethod "setOpacity" o = ActorSetOpacityMethodInfo
ResolveActorMethod "setParent" o = ActorSetParentMethodInfo
ResolveActorMethod "setPivotPoint" o = ActorSetPivotPointMethodInfo
ResolveActorMethod "setPivotPointZ" o = ActorSetPivotPointZMethodInfo
ResolveActorMethod "setPosition" o = ActorSetPositionMethodInfo
ResolveActorMethod "setProperty" o = GObject.Object.ObjectSetPropertyMethodInfo
ResolveActorMethod "setReactive" o = ActorSetReactiveMethodInfo
ResolveActorMethod "setRequestMode" o = ActorSetRequestModeMethodInfo
ResolveActorMethod "setRotation" o = ActorSetRotationMethodInfo
ResolveActorMethod "setRotationAngle" o = ActorSetRotationAngleMethodInfo
ResolveActorMethod "setScale" o = ActorSetScaleMethodInfo
ResolveActorMethod "setScaleFull" o = ActorSetScaleFullMethodInfo
ResolveActorMethod "setScaleWithGravity" o = ActorSetScaleWithGravityMethodInfo
ResolveActorMethod "setScaleZ" o = ActorSetScaleZMethodInfo
ResolveActorMethod "setShader" o = ActorSetShaderMethodInfo
ResolveActorMethod "setShaderParam" o = ActorSetShaderParamMethodInfo
ResolveActorMethod "setShaderParamFloat" o = ActorSetShaderParamFloatMethodInfo
ResolveActorMethod "setShaderParamInt" o = ActorSetShaderParamIntMethodInfo
ResolveActorMethod "setSize" o = ActorSetSizeMethodInfo
ResolveActorMethod "setTextDirection" o = ActorSetTextDirectionMethodInfo
ResolveActorMethod "setTransform" o = ActorSetTransformMethodInfo
ResolveActorMethod "setTranslation" o = ActorSetTranslationMethodInfo
ResolveActorMethod "setWidth" o = ActorSetWidthMethodInfo
ResolveActorMethod "setX" o = ActorSetXMethodInfo
ResolveActorMethod "setXAlign" o = ActorSetXAlignMethodInfo
ResolveActorMethod "setXExpand" o = ActorSetXExpandMethodInfo
ResolveActorMethod "setY" o = ActorSetYMethodInfo
ResolveActorMethod "setYAlign" o = ActorSetYAlignMethodInfo
ResolveActorMethod "setYExpand" o = ActorSetYExpandMethodInfo
ResolveActorMethod "setZPosition" o = ActorSetZPositionMethodInfo
ResolveActorMethod "setZRotationFromGravity" o = ActorSetZRotationFromGravityMethodInfo
ResolveActorMethod l o = O.MethodResolutionFailed l o
instance (info ~ ResolveActorMethod t Actor, O.OverloadedMethod info Actor p) => OL.IsLabel t (Actor -> p) where
#if MIN_VERSION_base(4,10,0)
fromLabel = O.overloadedMethod @info
#else
fromLabel _ = O.overloadedMethod @info
#endif
#if MIN_VERSION_base(4,13,0)
instance (info ~ ResolveActorMethod t Actor, O.OverloadedMethod info Actor p, R.HasField t Actor p) => R.HasField t Actor p where
getField = O.overloadedMethod @info
#endif
instance (info ~ ResolveActorMethod t Actor, O.OverloadedMethodInfo info Actor) => OL.IsLabel t (O.MethodProxy info Actor) where
#if MIN_VERSION_base(4,10,0)
fromLabel = O.MethodProxy
#else
fromLabel _ = O.MethodProxy
#endif
#endif
type ActorAllocationChangedCallback =
Clutter.ActorBox.ActorBox
-> [Clutter.Flags.AllocationFlags]
-> IO ()
type C_ActorAllocationChangedCallback =
Ptr Actor ->
Ptr Clutter.ActorBox.ActorBox ->
CUInt ->
Ptr () ->
IO ()
foreign import ccall "wrapper"
mk_ActorAllocationChangedCallback :: C_ActorAllocationChangedCallback -> IO (FunPtr C_ActorAllocationChangedCallback)
wrap_ActorAllocationChangedCallback ::
GObject a => (a -> ActorAllocationChangedCallback) ->
C_ActorAllocationChangedCallback
wrap_ActorAllocationChangedCallback :: forall a.
GObject a =>
(a -> ActorAllocationChangedCallback)
-> C_ActorAllocationChangedCallback
wrap_ActorAllocationChangedCallback a -> ActorAllocationChangedCallback
gi'cb Ptr Actor
gi'selfPtr Ptr ActorBox
box CUInt
flags Ptr ()
_ = do
Ptr ActorBox -> (ActorBox -> IO ()) -> IO ()
forall a b.
(HasCallStack, ManagedPtrNewtype a) =>
Ptr a -> (a -> IO b) -> IO b
B.ManagedPtr.withTransient Ptr ActorBox
box ((ActorBox -> IO ()) -> IO ()) -> (ActorBox -> IO ()) -> IO ()
forall a b. (a -> b) -> a -> b
$ \ActorBox
box' -> do
let flags' :: [AllocationFlags]
flags' = CUInt -> [AllocationFlags]
forall a b. (Storable a, Integral a, Bits a, IsGFlag b) => a -> [b]
wordToGFlags CUInt
flags
Ptr Actor -> (Actor -> IO ()) -> IO ()
forall o b.
(HasCallStack, GObject o) =>
Ptr o -> (o -> IO b) -> IO b
B.ManagedPtr.withNewObject Ptr Actor
gi'selfPtr ((Actor -> IO ()) -> IO ()) -> (Actor -> IO ()) -> IO ()
forall a b. (a -> b) -> a -> b
$ \Actor
gi'self -> a -> ActorAllocationChangedCallback
gi'cb (Actor -> a
forall a b. Coercible a b => a -> b
Coerce.coerce Actor
gi'self) ActorBox
box' [AllocationFlags]
flags'
onActorAllocationChanged :: (IsActor a, MonadIO m) => a -> ((?self :: a) => ActorAllocationChangedCallback) -> m SignalHandlerId
onActorAllocationChanged :: forall a (m :: * -> *).
(IsActor a, MonadIO m) =>
a
-> ((?self::a) => ActorAllocationChangedCallback)
-> m SignalHandlerId
onActorAllocationChanged a
obj (?self::a) => ActorAllocationChangedCallback
cb = IO SignalHandlerId -> m SignalHandlerId
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SignalHandlerId -> m SignalHandlerId)
-> IO SignalHandlerId -> m SignalHandlerId
forall a b. (a -> b) -> a -> b
$ do
let wrapped :: a -> ActorAllocationChangedCallback
wrapped a
self = let ?self = a
?self::a
self in (?self::a) => ActorAllocationChangedCallback
ActorAllocationChangedCallback
cb
let wrapped' :: C_ActorAllocationChangedCallback
wrapped' = (a -> ActorAllocationChangedCallback)
-> C_ActorAllocationChangedCallback
forall a.
GObject a =>
(a -> ActorAllocationChangedCallback)
-> C_ActorAllocationChangedCallback
wrap_ActorAllocationChangedCallback a -> ActorAllocationChangedCallback
wrapped
FunPtr C_ActorAllocationChangedCallback
wrapped'' <- C_ActorAllocationChangedCallback
-> IO (FunPtr C_ActorAllocationChangedCallback)
mk_ActorAllocationChangedCallback C_ActorAllocationChangedCallback
wrapped'
a
-> Text
-> FunPtr C_ActorAllocationChangedCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj Text
"allocation-changed" FunPtr C_ActorAllocationChangedCallback
wrapped'' SignalConnectMode
SignalConnectBefore Maybe Text
forall a. Maybe a
Nothing
afterActorAllocationChanged :: (IsActor a, MonadIO m) => a -> ((?self :: a) => ActorAllocationChangedCallback) -> m SignalHandlerId
afterActorAllocationChanged :: forall a (m :: * -> *).
(IsActor a, MonadIO m) =>
a
-> ((?self::a) => ActorAllocationChangedCallback)
-> m SignalHandlerId
afterActorAllocationChanged a
obj (?self::a) => ActorAllocationChangedCallback
cb = IO SignalHandlerId -> m SignalHandlerId
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SignalHandlerId -> m SignalHandlerId)
-> IO SignalHandlerId -> m SignalHandlerId
forall a b. (a -> b) -> a -> b
$ do
let wrapped :: a -> ActorAllocationChangedCallback
wrapped a
self = let ?self = a
?self::a
self in (?self::a) => ActorAllocationChangedCallback
ActorAllocationChangedCallback
cb
let wrapped' :: C_ActorAllocationChangedCallback
wrapped' = (a -> ActorAllocationChangedCallback)
-> C_ActorAllocationChangedCallback
forall a.
GObject a =>
(a -> ActorAllocationChangedCallback)
-> C_ActorAllocationChangedCallback
wrap_ActorAllocationChangedCallback a -> ActorAllocationChangedCallback
wrapped
FunPtr C_ActorAllocationChangedCallback
wrapped'' <- C_ActorAllocationChangedCallback
-> IO (FunPtr C_ActorAllocationChangedCallback)
mk_ActorAllocationChangedCallback C_ActorAllocationChangedCallback
wrapped'
a
-> Text
-> FunPtr C_ActorAllocationChangedCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj Text
"allocation-changed" FunPtr C_ActorAllocationChangedCallback
wrapped'' SignalConnectMode
SignalConnectAfter Maybe Text
forall a. Maybe a
Nothing
#if defined(ENABLE_OVERLOADING)
data ActorAllocationChangedSignalInfo
instance SignalInfo ActorAllocationChangedSignalInfo where
type HaskellCallbackType ActorAllocationChangedSignalInfo = ActorAllocationChangedCallback
connectSignal obj cb connectMode detail = do
let cb' = wrap_ActorAllocationChangedCallback cb
cb'' <- mk_ActorAllocationChangedCallback cb'
connectSignalFunPtr obj "allocation-changed" cb'' connectMode detail
dbgSignalInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor::allocation-changed"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:signal:allocationChanged"})
#endif
type ActorButtonPressEventCallback =
Clutter.ButtonEvent.ButtonEvent
-> IO Bool
type C_ActorButtonPressEventCallback =
Ptr Actor ->
Ptr Clutter.ButtonEvent.ButtonEvent ->
Ptr () ->
IO CInt
foreign import ccall "wrapper"
mk_ActorButtonPressEventCallback :: C_ActorButtonPressEventCallback -> IO (FunPtr C_ActorButtonPressEventCallback)
wrap_ActorButtonPressEventCallback ::
GObject a => (a -> ActorButtonPressEventCallback) ->
C_ActorButtonPressEventCallback
wrap_ActorButtonPressEventCallback :: forall a.
GObject a =>
(a -> ActorButtonPressEventCallback)
-> C_ActorButtonPressEventCallback
wrap_ActorButtonPressEventCallback a -> ActorButtonPressEventCallback
gi'cb Ptr Actor
gi'selfPtr Ptr ButtonEvent
event Ptr ()
_ = do
ButtonEvent
event' <- ((ManagedPtr ButtonEvent -> ButtonEvent)
-> Ptr ButtonEvent -> IO ButtonEvent
forall a.
(HasCallStack, BoxedPtr a) =>
(ManagedPtr a -> a) -> Ptr a -> IO a
newPtr ManagedPtr ButtonEvent -> ButtonEvent
Clutter.ButtonEvent.ButtonEvent) Ptr ButtonEvent
event
Bool
result <- Ptr Actor -> (Actor -> IO Bool) -> IO Bool
forall o b.
(HasCallStack, GObject o) =>
Ptr o -> (o -> IO b) -> IO b
B.ManagedPtr.withNewObject Ptr Actor
gi'selfPtr ((Actor -> IO Bool) -> IO Bool) -> (Actor -> IO Bool) -> IO Bool
forall a b. (a -> b) -> a -> b
$ \Actor
gi'self -> a -> ActorButtonPressEventCallback
gi'cb (Actor -> a
forall a b. Coercible a b => a -> b
Coerce.coerce Actor
gi'self) ButtonEvent
event'
let result' :: CInt
result' = (Int -> CInt
forall a b. (Integral a, Num b) => a -> b
P.fromIntegral (Int -> CInt) -> (Bool -> Int) -> Bool -> CInt
forall b c a. (b -> c) -> (a -> b) -> a -> c
. Bool -> Int
forall a. Enum a => a -> Int
P.fromEnum) Bool
result
CInt -> IO CInt
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return CInt
result'
onActorButtonPressEvent :: (IsActor a, MonadIO m) => a -> ((?self :: a) => ActorButtonPressEventCallback) -> m SignalHandlerId
onActorButtonPressEvent :: forall a (m :: * -> *).
(IsActor a, MonadIO m) =>
a
-> ((?self::a) => ActorButtonPressEventCallback)
-> m SignalHandlerId
onActorButtonPressEvent a
obj (?self::a) => ActorButtonPressEventCallback
cb = IO SignalHandlerId -> m SignalHandlerId
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SignalHandlerId -> m SignalHandlerId)
-> IO SignalHandlerId -> m SignalHandlerId
forall a b. (a -> b) -> a -> b
$ do
let wrapped :: a -> ActorButtonPressEventCallback
wrapped a
self = let ?self = a
?self::a
self in (?self::a) => ActorButtonPressEventCallback
ActorButtonPressEventCallback
cb
let wrapped' :: C_ActorButtonPressEventCallback
wrapped' = (a -> ActorButtonPressEventCallback)
-> C_ActorButtonPressEventCallback
forall a.
GObject a =>
(a -> ActorButtonPressEventCallback)
-> C_ActorButtonPressEventCallback
wrap_ActorButtonPressEventCallback a -> ActorButtonPressEventCallback
wrapped
FunPtr C_ActorButtonPressEventCallback
wrapped'' <- C_ActorButtonPressEventCallback
-> IO (FunPtr C_ActorButtonPressEventCallback)
mk_ActorButtonPressEventCallback C_ActorButtonPressEventCallback
wrapped'
a
-> Text
-> FunPtr C_ActorButtonPressEventCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj Text
"button-press-event" FunPtr C_ActorButtonPressEventCallback
wrapped'' SignalConnectMode
SignalConnectBefore Maybe Text
forall a. Maybe a
Nothing
afterActorButtonPressEvent :: (IsActor a, MonadIO m) => a -> ((?self :: a) => ActorButtonPressEventCallback) -> m SignalHandlerId
afterActorButtonPressEvent :: forall a (m :: * -> *).
(IsActor a, MonadIO m) =>
a
-> ((?self::a) => ActorButtonPressEventCallback)
-> m SignalHandlerId
afterActorButtonPressEvent a
obj (?self::a) => ActorButtonPressEventCallback
cb = IO SignalHandlerId -> m SignalHandlerId
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SignalHandlerId -> m SignalHandlerId)
-> IO SignalHandlerId -> m SignalHandlerId
forall a b. (a -> b) -> a -> b
$ do
let wrapped :: a -> ActorButtonPressEventCallback
wrapped a
self = let ?self = a
?self::a
self in (?self::a) => ActorButtonPressEventCallback
ActorButtonPressEventCallback
cb
let wrapped' :: C_ActorButtonPressEventCallback
wrapped' = (a -> ActorButtonPressEventCallback)
-> C_ActorButtonPressEventCallback
forall a.
GObject a =>
(a -> ActorButtonPressEventCallback)
-> C_ActorButtonPressEventCallback
wrap_ActorButtonPressEventCallback a -> ActorButtonPressEventCallback
wrapped
FunPtr C_ActorButtonPressEventCallback
wrapped'' <- C_ActorButtonPressEventCallback
-> IO (FunPtr C_ActorButtonPressEventCallback)
mk_ActorButtonPressEventCallback C_ActorButtonPressEventCallback
wrapped'
a
-> Text
-> FunPtr C_ActorButtonPressEventCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj Text
"button-press-event" FunPtr C_ActorButtonPressEventCallback
wrapped'' SignalConnectMode
SignalConnectAfter Maybe Text
forall a. Maybe a
Nothing
#if defined(ENABLE_OVERLOADING)
data ActorButtonPressEventSignalInfo
instance SignalInfo ActorButtonPressEventSignalInfo where
type HaskellCallbackType ActorButtonPressEventSignalInfo = ActorButtonPressEventCallback
connectSignal obj cb connectMode detail = do
let cb' = wrap_ActorButtonPressEventCallback cb
cb'' <- mk_ActorButtonPressEventCallback cb'
connectSignalFunPtr obj "button-press-event" cb'' connectMode detail
dbgSignalInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor::button-press-event"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:signal:buttonPressEvent"})
#endif
type ActorButtonReleaseEventCallback =
Clutter.ButtonEvent.ButtonEvent
-> IO Bool
type C_ActorButtonReleaseEventCallback =
Ptr Actor ->
Ptr Clutter.ButtonEvent.ButtonEvent ->
Ptr () ->
IO CInt
foreign import ccall "wrapper"
mk_ActorButtonReleaseEventCallback :: C_ActorButtonReleaseEventCallback -> IO (FunPtr C_ActorButtonReleaseEventCallback)
wrap_ActorButtonReleaseEventCallback ::
GObject a => (a -> ActorButtonReleaseEventCallback) ->
C_ActorButtonReleaseEventCallback
wrap_ActorButtonReleaseEventCallback :: forall a.
GObject a =>
(a -> ActorButtonPressEventCallback)
-> C_ActorButtonPressEventCallback
wrap_ActorButtonReleaseEventCallback a -> ActorButtonPressEventCallback
gi'cb Ptr Actor
gi'selfPtr Ptr ButtonEvent
event Ptr ()
_ = do
ButtonEvent
event' <- ((ManagedPtr ButtonEvent -> ButtonEvent)
-> Ptr ButtonEvent -> IO ButtonEvent
forall a.
(HasCallStack, BoxedPtr a) =>
(ManagedPtr a -> a) -> Ptr a -> IO a
newPtr ManagedPtr ButtonEvent -> ButtonEvent
Clutter.ButtonEvent.ButtonEvent) Ptr ButtonEvent
event
Bool
result <- Ptr Actor -> (Actor -> IO Bool) -> IO Bool
forall o b.
(HasCallStack, GObject o) =>
Ptr o -> (o -> IO b) -> IO b
B.ManagedPtr.withNewObject Ptr Actor
gi'selfPtr ((Actor -> IO Bool) -> IO Bool) -> (Actor -> IO Bool) -> IO Bool
forall a b. (a -> b) -> a -> b
$ \Actor
gi'self -> a -> ActorButtonPressEventCallback
gi'cb (Actor -> a
forall a b. Coercible a b => a -> b
Coerce.coerce Actor
gi'self) ButtonEvent
event'
let result' :: CInt
result' = (Int -> CInt
forall a b. (Integral a, Num b) => a -> b
P.fromIntegral (Int -> CInt) -> (Bool -> Int) -> Bool -> CInt
forall b c a. (b -> c) -> (a -> b) -> a -> c
. Bool -> Int
forall a. Enum a => a -> Int
P.fromEnum) Bool
result
CInt -> IO CInt
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return CInt
result'
onActorButtonReleaseEvent :: (IsActor a, MonadIO m) => a -> ((?self :: a) => ActorButtonReleaseEventCallback) -> m SignalHandlerId
onActorButtonReleaseEvent :: forall a (m :: * -> *).
(IsActor a, MonadIO m) =>
a
-> ((?self::a) => ActorButtonPressEventCallback)
-> m SignalHandlerId
onActorButtonReleaseEvent a
obj (?self::a) => ActorButtonPressEventCallback
cb = IO SignalHandlerId -> m SignalHandlerId
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SignalHandlerId -> m SignalHandlerId)
-> IO SignalHandlerId -> m SignalHandlerId
forall a b. (a -> b) -> a -> b
$ do
let wrapped :: a -> ActorButtonPressEventCallback
wrapped a
self = let ?self = a
?self::a
self in (?self::a) => ActorButtonPressEventCallback
ActorButtonPressEventCallback
cb
let wrapped' :: C_ActorButtonPressEventCallback
wrapped' = (a -> ActorButtonPressEventCallback)
-> C_ActorButtonPressEventCallback
forall a.
GObject a =>
(a -> ActorButtonPressEventCallback)
-> C_ActorButtonPressEventCallback
wrap_ActorButtonReleaseEventCallback a -> ActorButtonPressEventCallback
wrapped
FunPtr C_ActorButtonPressEventCallback
wrapped'' <- C_ActorButtonPressEventCallback
-> IO (FunPtr C_ActorButtonPressEventCallback)
mk_ActorButtonReleaseEventCallback C_ActorButtonPressEventCallback
wrapped'
a
-> Text
-> FunPtr C_ActorButtonPressEventCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj Text
"button-release-event" FunPtr C_ActorButtonPressEventCallback
wrapped'' SignalConnectMode
SignalConnectBefore Maybe Text
forall a. Maybe a
Nothing
afterActorButtonReleaseEvent :: (IsActor a, MonadIO m) => a -> ((?self :: a) => ActorButtonReleaseEventCallback) -> m SignalHandlerId
afterActorButtonReleaseEvent :: forall a (m :: * -> *).
(IsActor a, MonadIO m) =>
a
-> ((?self::a) => ActorButtonPressEventCallback)
-> m SignalHandlerId
afterActorButtonReleaseEvent a
obj (?self::a) => ActorButtonPressEventCallback
cb = IO SignalHandlerId -> m SignalHandlerId
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SignalHandlerId -> m SignalHandlerId)
-> IO SignalHandlerId -> m SignalHandlerId
forall a b. (a -> b) -> a -> b
$ do
let wrapped :: a -> ActorButtonPressEventCallback
wrapped a
self = let ?self = a
?self::a
self in (?self::a) => ActorButtonPressEventCallback
ActorButtonPressEventCallback
cb
let wrapped' :: C_ActorButtonPressEventCallback
wrapped' = (a -> ActorButtonPressEventCallback)
-> C_ActorButtonPressEventCallback
forall a.
GObject a =>
(a -> ActorButtonPressEventCallback)
-> C_ActorButtonPressEventCallback
wrap_ActorButtonReleaseEventCallback a -> ActorButtonPressEventCallback
wrapped
FunPtr C_ActorButtonPressEventCallback
wrapped'' <- C_ActorButtonPressEventCallback
-> IO (FunPtr C_ActorButtonPressEventCallback)
mk_ActorButtonReleaseEventCallback C_ActorButtonPressEventCallback
wrapped'
a
-> Text
-> FunPtr C_ActorButtonPressEventCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj Text
"button-release-event" FunPtr C_ActorButtonPressEventCallback
wrapped'' SignalConnectMode
SignalConnectAfter Maybe Text
forall a. Maybe a
Nothing
#if defined(ENABLE_OVERLOADING)
data ActorButtonReleaseEventSignalInfo
instance SignalInfo ActorButtonReleaseEventSignalInfo where
type HaskellCallbackType ActorButtonReleaseEventSignalInfo = ActorButtonReleaseEventCallback
connectSignal obj cb connectMode detail = do
let cb' = wrap_ActorButtonReleaseEventCallback cb
cb'' <- mk_ActorButtonReleaseEventCallback cb'
connectSignalFunPtr obj "button-release-event" cb'' connectMode detail
dbgSignalInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor::button-release-event"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:signal:buttonReleaseEvent"})
#endif
type ActorCapturedEventCallback =
Clutter.Event.Event
-> IO Bool
type C_ActorCapturedEventCallback =
Ptr Actor ->
Ptr Clutter.Event.Event ->
Ptr () ->
IO CInt
foreign import ccall "wrapper"
mk_ActorCapturedEventCallback :: C_ActorCapturedEventCallback -> IO (FunPtr C_ActorCapturedEventCallback)
wrap_ActorCapturedEventCallback ::
GObject a => (a -> ActorCapturedEventCallback) ->
C_ActorCapturedEventCallback
wrap_ActorCapturedEventCallback :: forall a.
GObject a =>
(a -> ActorCapturedEventCallback) -> C_ActorCapturedEventCallback
wrap_ActorCapturedEventCallback a -> ActorCapturedEventCallback
gi'cb Ptr Actor
gi'selfPtr Ptr Event
event Ptr ()
_ = do
Ptr Event -> (Event -> IO CInt) -> IO CInt
forall a b.
(HasCallStack, ManagedPtrNewtype a) =>
Ptr a -> (a -> IO b) -> IO b
B.ManagedPtr.withTransient Ptr Event
event ((Event -> IO CInt) -> IO CInt) -> (Event -> IO CInt) -> IO CInt
forall a b. (a -> b) -> a -> b
$ \Event
event' -> do
Bool
result <- Ptr Actor -> (Actor -> IO Bool) -> IO Bool
forall o b.
(HasCallStack, GObject o) =>
Ptr o -> (o -> IO b) -> IO b
B.ManagedPtr.withNewObject Ptr Actor
gi'selfPtr ((Actor -> IO Bool) -> IO Bool) -> (Actor -> IO Bool) -> IO Bool
forall a b. (a -> b) -> a -> b
$ \Actor
gi'self -> a -> ActorCapturedEventCallback
gi'cb (Actor -> a
forall a b. Coercible a b => a -> b
Coerce.coerce Actor
gi'self) Event
event'
let result' :: CInt
result' = (Int -> CInt
forall a b. (Integral a, Num b) => a -> b
P.fromIntegral (Int -> CInt) -> (Bool -> Int) -> Bool -> CInt
forall b c a. (b -> c) -> (a -> b) -> a -> c
. Bool -> Int
forall a. Enum a => a -> Int
P.fromEnum) Bool
result
CInt -> IO CInt
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return CInt
result'
onActorCapturedEvent :: (IsActor a, MonadIO m) => a -> ((?self :: a) => ActorCapturedEventCallback) -> m SignalHandlerId
onActorCapturedEvent :: forall a (m :: * -> *).
(IsActor a, MonadIO m) =>
a
-> ((?self::a) => ActorCapturedEventCallback) -> m SignalHandlerId
onActorCapturedEvent a
obj (?self::a) => ActorCapturedEventCallback
cb = IO SignalHandlerId -> m SignalHandlerId
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SignalHandlerId -> m SignalHandlerId)
-> IO SignalHandlerId -> m SignalHandlerId
forall a b. (a -> b) -> a -> b
$ do
let wrapped :: a -> ActorCapturedEventCallback
wrapped a
self = let ?self = a
?self::a
self in (?self::a) => ActorCapturedEventCallback
ActorCapturedEventCallback
cb
let wrapped' :: C_ActorCapturedEventCallback
wrapped' = (a -> ActorCapturedEventCallback) -> C_ActorCapturedEventCallback
forall a.
GObject a =>
(a -> ActorCapturedEventCallback) -> C_ActorCapturedEventCallback
wrap_ActorCapturedEventCallback a -> ActorCapturedEventCallback
wrapped
FunPtr C_ActorCapturedEventCallback
wrapped'' <- C_ActorCapturedEventCallback
-> IO (FunPtr C_ActorCapturedEventCallback)
mk_ActorCapturedEventCallback C_ActorCapturedEventCallback
wrapped'
a
-> Text
-> FunPtr C_ActorCapturedEventCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj Text
"captured-event" FunPtr C_ActorCapturedEventCallback
wrapped'' SignalConnectMode
SignalConnectBefore Maybe Text
forall a. Maybe a
Nothing
afterActorCapturedEvent :: (IsActor a, MonadIO m) => a -> ((?self :: a) => ActorCapturedEventCallback) -> m SignalHandlerId
afterActorCapturedEvent :: forall a (m :: * -> *).
(IsActor a, MonadIO m) =>
a
-> ((?self::a) => ActorCapturedEventCallback) -> m SignalHandlerId
afterActorCapturedEvent a
obj (?self::a) => ActorCapturedEventCallback
cb = IO SignalHandlerId -> m SignalHandlerId
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SignalHandlerId -> m SignalHandlerId)
-> IO SignalHandlerId -> m SignalHandlerId
forall a b. (a -> b) -> a -> b
$ do
let wrapped :: a -> ActorCapturedEventCallback
wrapped a
self = let ?self = a
?self::a
self in (?self::a) => ActorCapturedEventCallback
ActorCapturedEventCallback
cb
let wrapped' :: C_ActorCapturedEventCallback
wrapped' = (a -> ActorCapturedEventCallback) -> C_ActorCapturedEventCallback
forall a.
GObject a =>
(a -> ActorCapturedEventCallback) -> C_ActorCapturedEventCallback
wrap_ActorCapturedEventCallback a -> ActorCapturedEventCallback
wrapped
FunPtr C_ActorCapturedEventCallback
wrapped'' <- C_ActorCapturedEventCallback
-> IO (FunPtr C_ActorCapturedEventCallback)
mk_ActorCapturedEventCallback C_ActorCapturedEventCallback
wrapped'
a
-> Text
-> FunPtr C_ActorCapturedEventCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj Text
"captured-event" FunPtr C_ActorCapturedEventCallback
wrapped'' SignalConnectMode
SignalConnectAfter Maybe Text
forall a. Maybe a
Nothing
#if defined(ENABLE_OVERLOADING)
data ActorCapturedEventSignalInfo
instance SignalInfo ActorCapturedEventSignalInfo where
type HaskellCallbackType ActorCapturedEventSignalInfo = ActorCapturedEventCallback
connectSignal obj cb connectMode detail = do
let cb' = wrap_ActorCapturedEventCallback cb
cb'' <- mk_ActorCapturedEventCallback cb'
connectSignalFunPtr obj "captured-event" cb'' connectMode detail
dbgSignalInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor::captured-event"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:signal:capturedEvent"})
#endif
type ActorDestroyCallback =
IO ()
type C_ActorDestroyCallback =
Ptr Actor ->
Ptr () ->
IO ()
foreign import ccall "wrapper"
mk_ActorDestroyCallback :: C_ActorDestroyCallback -> IO (FunPtr C_ActorDestroyCallback)
wrap_ActorDestroyCallback ::
GObject a => (a -> ActorDestroyCallback) ->
C_ActorDestroyCallback
wrap_ActorDestroyCallback :: forall a. GObject a => (a -> IO ()) -> C_ActorDestroyCallback
wrap_ActorDestroyCallback a -> IO ()
gi'cb Ptr Actor
gi'selfPtr Ptr ()
_ = do
Ptr Actor -> (Actor -> IO ()) -> IO ()
forall o b.
(HasCallStack, GObject o) =>
Ptr o -> (o -> IO b) -> IO b
B.ManagedPtr.withNewObject Ptr Actor
gi'selfPtr ((Actor -> IO ()) -> IO ()) -> (Actor -> IO ()) -> IO ()
forall a b. (a -> b) -> a -> b
$ \Actor
gi'self -> a -> IO ()
gi'cb (Actor -> a
forall a b. Coercible a b => a -> b
Coerce.coerce Actor
gi'self)
onActorDestroy :: (IsActor a, MonadIO m) => a -> ((?self :: a) => ActorDestroyCallback) -> m SignalHandlerId
onActorDestroy :: forall a (m :: * -> *).
(IsActor a, MonadIO m) =>
a -> ((?self::a) => IO ()) -> m SignalHandlerId
onActorDestroy a
obj (?self::a) => IO ()
cb = IO SignalHandlerId -> m SignalHandlerId
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SignalHandlerId -> m SignalHandlerId)
-> IO SignalHandlerId -> m SignalHandlerId
forall a b. (a -> b) -> a -> b
$ do
let wrapped :: a -> IO ()
wrapped a
self = let ?self = a
?self::a
self in IO ()
(?self::a) => IO ()
cb
let wrapped' :: C_ActorDestroyCallback
wrapped' = (a -> IO ()) -> C_ActorDestroyCallback
forall a. GObject a => (a -> IO ()) -> C_ActorDestroyCallback
wrap_ActorDestroyCallback a -> IO ()
wrapped
FunPtr C_ActorDestroyCallback
wrapped'' <- C_ActorDestroyCallback -> IO (FunPtr C_ActorDestroyCallback)
mk_ActorDestroyCallback C_ActorDestroyCallback
wrapped'
a
-> Text
-> FunPtr C_ActorDestroyCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj Text
"destroy" FunPtr C_ActorDestroyCallback
wrapped'' SignalConnectMode
SignalConnectBefore Maybe Text
forall a. Maybe a
Nothing
afterActorDestroy :: (IsActor a, MonadIO m) => a -> ((?self :: a) => ActorDestroyCallback) -> m SignalHandlerId
afterActorDestroy :: forall a (m :: * -> *).
(IsActor a, MonadIO m) =>
a -> ((?self::a) => IO ()) -> m SignalHandlerId
afterActorDestroy a
obj (?self::a) => IO ()
cb = IO SignalHandlerId -> m SignalHandlerId
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SignalHandlerId -> m SignalHandlerId)
-> IO SignalHandlerId -> m SignalHandlerId
forall a b. (a -> b) -> a -> b
$ do
let wrapped :: a -> IO ()
wrapped a
self = let ?self = a
?self::a
self in IO ()
(?self::a) => IO ()
cb
let wrapped' :: C_ActorDestroyCallback
wrapped' = (a -> IO ()) -> C_ActorDestroyCallback
forall a. GObject a => (a -> IO ()) -> C_ActorDestroyCallback
wrap_ActorDestroyCallback a -> IO ()
wrapped
FunPtr C_ActorDestroyCallback
wrapped'' <- C_ActorDestroyCallback -> IO (FunPtr C_ActorDestroyCallback)
mk_ActorDestroyCallback C_ActorDestroyCallback
wrapped'
a
-> Text
-> FunPtr C_ActorDestroyCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj Text
"destroy" FunPtr C_ActorDestroyCallback
wrapped'' SignalConnectMode
SignalConnectAfter Maybe Text
forall a. Maybe a
Nothing
#if defined(ENABLE_OVERLOADING)
data ActorDestroySignalInfo
instance SignalInfo ActorDestroySignalInfo where
type HaskellCallbackType ActorDestroySignalInfo = ActorDestroyCallback
connectSignal obj cb connectMode detail = do
let cb' = wrap_ActorDestroyCallback cb
cb'' <- mk_ActorDestroyCallback cb'
connectSignalFunPtr obj "destroy" cb'' connectMode detail
dbgSignalInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor::destroy"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:signal:destroy"})
#endif
type ActorEnterEventCallback =
Clutter.CrossingEvent.CrossingEvent
-> IO Bool
type C_ActorEnterEventCallback =
Ptr Actor ->
Ptr Clutter.CrossingEvent.CrossingEvent ->
Ptr () ->
IO CInt
foreign import ccall "wrapper"
mk_ActorEnterEventCallback :: C_ActorEnterEventCallback -> IO (FunPtr C_ActorEnterEventCallback)
wrap_ActorEnterEventCallback ::
GObject a => (a -> ActorEnterEventCallback) ->
C_ActorEnterEventCallback
wrap_ActorEnterEventCallback :: forall a.
GObject a =>
(a -> ActorEnterEventCallback) -> C_ActorEnterEventCallback
wrap_ActorEnterEventCallback a -> ActorEnterEventCallback
gi'cb Ptr Actor
gi'selfPtr Ptr CrossingEvent
event Ptr ()
_ = do
CrossingEvent
event' <- ((ManagedPtr CrossingEvent -> CrossingEvent)
-> Ptr CrossingEvent -> IO CrossingEvent
forall a.
(HasCallStack, BoxedPtr a) =>
(ManagedPtr a -> a) -> Ptr a -> IO a
newPtr ManagedPtr CrossingEvent -> CrossingEvent
Clutter.CrossingEvent.CrossingEvent) Ptr CrossingEvent
event
Bool
result <- Ptr Actor -> (Actor -> IO Bool) -> IO Bool
forall o b.
(HasCallStack, GObject o) =>
Ptr o -> (o -> IO b) -> IO b
B.ManagedPtr.withNewObject Ptr Actor
gi'selfPtr ((Actor -> IO Bool) -> IO Bool) -> (Actor -> IO Bool) -> IO Bool
forall a b. (a -> b) -> a -> b
$ \Actor
gi'self -> a -> ActorEnterEventCallback
gi'cb (Actor -> a
forall a b. Coercible a b => a -> b
Coerce.coerce Actor
gi'self) CrossingEvent
event'
let result' :: CInt
result' = (Int -> CInt
forall a b. (Integral a, Num b) => a -> b
P.fromIntegral (Int -> CInt) -> (Bool -> Int) -> Bool -> CInt
forall b c a. (b -> c) -> (a -> b) -> a -> c
. Bool -> Int
forall a. Enum a => a -> Int
P.fromEnum) Bool
result
CInt -> IO CInt
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return CInt
result'
onActorEnterEvent :: (IsActor a, MonadIO m) => a -> ((?self :: a) => ActorEnterEventCallback) -> m SignalHandlerId
onActorEnterEvent :: forall a (m :: * -> *).
(IsActor a, MonadIO m) =>
a -> ((?self::a) => ActorEnterEventCallback) -> m SignalHandlerId
onActorEnterEvent a
obj (?self::a) => ActorEnterEventCallback
cb = IO SignalHandlerId -> m SignalHandlerId
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SignalHandlerId -> m SignalHandlerId)
-> IO SignalHandlerId -> m SignalHandlerId
forall a b. (a -> b) -> a -> b
$ do
let wrapped :: a -> ActorEnterEventCallback
wrapped a
self = let ?self = a
?self::a
self in (?self::a) => ActorEnterEventCallback
ActorEnterEventCallback
cb
let wrapped' :: C_ActorEnterEventCallback
wrapped' = (a -> ActorEnterEventCallback) -> C_ActorEnterEventCallback
forall a.
GObject a =>
(a -> ActorEnterEventCallback) -> C_ActorEnterEventCallback
wrap_ActorEnterEventCallback a -> ActorEnterEventCallback
wrapped
FunPtr C_ActorEnterEventCallback
wrapped'' <- C_ActorEnterEventCallback -> IO (FunPtr C_ActorEnterEventCallback)
mk_ActorEnterEventCallback C_ActorEnterEventCallback
wrapped'
a
-> Text
-> FunPtr C_ActorEnterEventCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj Text
"enter-event" FunPtr C_ActorEnterEventCallback
wrapped'' SignalConnectMode
SignalConnectBefore Maybe Text
forall a. Maybe a
Nothing
afterActorEnterEvent :: (IsActor a, MonadIO m) => a -> ((?self :: a) => ActorEnterEventCallback) -> m SignalHandlerId
afterActorEnterEvent :: forall a (m :: * -> *).
(IsActor a, MonadIO m) =>
a -> ((?self::a) => ActorEnterEventCallback) -> m SignalHandlerId
afterActorEnterEvent a
obj (?self::a) => ActorEnterEventCallback
cb = IO SignalHandlerId -> m SignalHandlerId
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SignalHandlerId -> m SignalHandlerId)
-> IO SignalHandlerId -> m SignalHandlerId
forall a b. (a -> b) -> a -> b
$ do
let wrapped :: a -> ActorEnterEventCallback
wrapped a
self = let ?self = a
?self::a
self in (?self::a) => ActorEnterEventCallback
ActorEnterEventCallback
cb
let wrapped' :: C_ActorEnterEventCallback
wrapped' = (a -> ActorEnterEventCallback) -> C_ActorEnterEventCallback
forall a.
GObject a =>
(a -> ActorEnterEventCallback) -> C_ActorEnterEventCallback
wrap_ActorEnterEventCallback a -> ActorEnterEventCallback
wrapped
FunPtr C_ActorEnterEventCallback
wrapped'' <- C_ActorEnterEventCallback -> IO (FunPtr C_ActorEnterEventCallback)
mk_ActorEnterEventCallback C_ActorEnterEventCallback
wrapped'
a
-> Text
-> FunPtr C_ActorEnterEventCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj Text
"enter-event" FunPtr C_ActorEnterEventCallback
wrapped'' SignalConnectMode
SignalConnectAfter Maybe Text
forall a. Maybe a
Nothing
#if defined(ENABLE_OVERLOADING)
data ActorEnterEventSignalInfo
instance SignalInfo ActorEnterEventSignalInfo where
type HaskellCallbackType ActorEnterEventSignalInfo = ActorEnterEventCallback
connectSignal obj cb connectMode detail = do
let cb' = wrap_ActorEnterEventCallback cb
cb'' <- mk_ActorEnterEventCallback cb'
connectSignalFunPtr obj "enter-event" cb'' connectMode detail
dbgSignalInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor::enter-event"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:signal:enterEvent"})
#endif
type ActorEventCallback =
Clutter.Event.Event
-> IO Bool
type C_ActorEventCallback =
Ptr Actor ->
Ptr Clutter.Event.Event ->
Ptr () ->
IO CInt
foreign import ccall "wrapper"
mk_ActorEventCallback :: C_ActorEventCallback -> IO (FunPtr C_ActorEventCallback)
wrap_ActorEventCallback ::
GObject a => (a -> ActorEventCallback) ->
C_ActorEventCallback
wrap_ActorEventCallback :: forall a.
GObject a =>
(a -> ActorCapturedEventCallback) -> C_ActorCapturedEventCallback
wrap_ActorEventCallback a -> ActorCapturedEventCallback
gi'cb Ptr Actor
gi'selfPtr Ptr Event
event Ptr ()
_ = do
Ptr Event -> (Event -> IO CInt) -> IO CInt
forall a b.
(HasCallStack, ManagedPtrNewtype a) =>
Ptr a -> (a -> IO b) -> IO b
B.ManagedPtr.withTransient Ptr Event
event ((Event -> IO CInt) -> IO CInt) -> (Event -> IO CInt) -> IO CInt
forall a b. (a -> b) -> a -> b
$ \Event
event' -> do
Bool
result <- Ptr Actor -> (Actor -> IO Bool) -> IO Bool
forall o b.
(HasCallStack, GObject o) =>
Ptr o -> (o -> IO b) -> IO b
B.ManagedPtr.withNewObject Ptr Actor
gi'selfPtr ((Actor -> IO Bool) -> IO Bool) -> (Actor -> IO Bool) -> IO Bool
forall a b. (a -> b) -> a -> b
$ \Actor
gi'self -> a -> ActorCapturedEventCallback
gi'cb (Actor -> a
forall a b. Coercible a b => a -> b
Coerce.coerce Actor
gi'self) Event
event'
let result' :: CInt
result' = (Int -> CInt
forall a b. (Integral a, Num b) => a -> b
P.fromIntegral (Int -> CInt) -> (Bool -> Int) -> Bool -> CInt
forall b c a. (b -> c) -> (a -> b) -> a -> c
. Bool -> Int
forall a. Enum a => a -> Int
P.fromEnum) Bool
result
CInt -> IO CInt
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return CInt
result'
onActorEvent :: (IsActor a, MonadIO m) => a -> ((?self :: a) => ActorEventCallback) -> m SignalHandlerId
onActorEvent :: forall a (m :: * -> *).
(IsActor a, MonadIO m) =>
a
-> ((?self::a) => ActorCapturedEventCallback) -> m SignalHandlerId
onActorEvent a
obj (?self::a) => ActorCapturedEventCallback
cb = IO SignalHandlerId -> m SignalHandlerId
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SignalHandlerId -> m SignalHandlerId)
-> IO SignalHandlerId -> m SignalHandlerId
forall a b. (a -> b) -> a -> b
$ do
let wrapped :: a -> ActorCapturedEventCallback
wrapped a
self = let ?self = a
?self::a
self in (?self::a) => ActorCapturedEventCallback
ActorCapturedEventCallback
cb
let wrapped' :: C_ActorCapturedEventCallback
wrapped' = (a -> ActorCapturedEventCallback) -> C_ActorCapturedEventCallback
forall a.
GObject a =>
(a -> ActorCapturedEventCallback) -> C_ActorCapturedEventCallback
wrap_ActorEventCallback a -> ActorCapturedEventCallback
wrapped
FunPtr C_ActorCapturedEventCallback
wrapped'' <- C_ActorCapturedEventCallback
-> IO (FunPtr C_ActorCapturedEventCallback)
mk_ActorEventCallback C_ActorCapturedEventCallback
wrapped'
a
-> Text
-> FunPtr C_ActorCapturedEventCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj Text
"event" FunPtr C_ActorCapturedEventCallback
wrapped'' SignalConnectMode
SignalConnectBefore Maybe Text
forall a. Maybe a
Nothing
afterActorEvent :: (IsActor a, MonadIO m) => a -> ((?self :: a) => ActorEventCallback) -> m SignalHandlerId
afterActorEvent :: forall a (m :: * -> *).
(IsActor a, MonadIO m) =>
a
-> ((?self::a) => ActorCapturedEventCallback) -> m SignalHandlerId
afterActorEvent a
obj (?self::a) => ActorCapturedEventCallback
cb = IO SignalHandlerId -> m SignalHandlerId
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SignalHandlerId -> m SignalHandlerId)
-> IO SignalHandlerId -> m SignalHandlerId
forall a b. (a -> b) -> a -> b
$ do
let wrapped :: a -> ActorCapturedEventCallback
wrapped a
self = let ?self = a
?self::a
self in (?self::a) => ActorCapturedEventCallback
ActorCapturedEventCallback
cb
let wrapped' :: C_ActorCapturedEventCallback
wrapped' = (a -> ActorCapturedEventCallback) -> C_ActorCapturedEventCallback
forall a.
GObject a =>
(a -> ActorCapturedEventCallback) -> C_ActorCapturedEventCallback
wrap_ActorEventCallback a -> ActorCapturedEventCallback
wrapped
FunPtr C_ActorCapturedEventCallback
wrapped'' <- C_ActorCapturedEventCallback
-> IO (FunPtr C_ActorCapturedEventCallback)
mk_ActorEventCallback C_ActorCapturedEventCallback
wrapped'
a
-> Text
-> FunPtr C_ActorCapturedEventCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj Text
"event" FunPtr C_ActorCapturedEventCallback
wrapped'' SignalConnectMode
SignalConnectAfter Maybe Text
forall a. Maybe a
Nothing
#if defined(ENABLE_OVERLOADING)
data ActorEventSignalInfo
instance SignalInfo ActorEventSignalInfo where
type HaskellCallbackType ActorEventSignalInfo = ActorEventCallback
connectSignal obj cb connectMode detail = do
let cb' = wrap_ActorEventCallback cb
cb'' <- mk_ActorEventCallback cb'
connectSignalFunPtr obj "event" cb'' connectMode detail
dbgSignalInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor::event"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:signal:event"})
#endif
type ActorHideCallback =
IO ()
type C_ActorHideCallback =
Ptr Actor ->
Ptr () ->
IO ()
foreign import ccall "wrapper"
mk_ActorHideCallback :: C_ActorHideCallback -> IO (FunPtr C_ActorHideCallback)
wrap_ActorHideCallback ::
GObject a => (a -> ActorHideCallback) ->
C_ActorHideCallback
wrap_ActorHideCallback :: forall a. GObject a => (a -> IO ()) -> C_ActorDestroyCallback
wrap_ActorHideCallback a -> IO ()
gi'cb Ptr Actor
gi'selfPtr Ptr ()
_ = do
Ptr Actor -> (Actor -> IO ()) -> IO ()
forall o b.
(HasCallStack, GObject o) =>
Ptr o -> (o -> IO b) -> IO b
B.ManagedPtr.withNewObject Ptr Actor
gi'selfPtr ((Actor -> IO ()) -> IO ()) -> (Actor -> IO ()) -> IO ()
forall a b. (a -> b) -> a -> b
$ \Actor
gi'self -> a -> IO ()
gi'cb (Actor -> a
forall a b. Coercible a b => a -> b
Coerce.coerce Actor
gi'self)
onActorHide :: (IsActor a, MonadIO m) => a -> ((?self :: a) => ActorHideCallback) -> m SignalHandlerId
onActorHide :: forall a (m :: * -> *).
(IsActor a, MonadIO m) =>
a -> ((?self::a) => IO ()) -> m SignalHandlerId
onActorHide a
obj (?self::a) => IO ()
cb = IO SignalHandlerId -> m SignalHandlerId
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SignalHandlerId -> m SignalHandlerId)
-> IO SignalHandlerId -> m SignalHandlerId
forall a b. (a -> b) -> a -> b
$ do
let wrapped :: a -> IO ()
wrapped a
self = let ?self = a
?self::a
self in IO ()
(?self::a) => IO ()
cb
let wrapped' :: C_ActorDestroyCallback
wrapped' = (a -> IO ()) -> C_ActorDestroyCallback
forall a. GObject a => (a -> IO ()) -> C_ActorDestroyCallback
wrap_ActorHideCallback a -> IO ()
wrapped
FunPtr C_ActorDestroyCallback
wrapped'' <- C_ActorDestroyCallback -> IO (FunPtr C_ActorDestroyCallback)
mk_ActorHideCallback C_ActorDestroyCallback
wrapped'
a
-> Text
-> FunPtr C_ActorDestroyCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj Text
"hide" FunPtr C_ActorDestroyCallback
wrapped'' SignalConnectMode
SignalConnectBefore Maybe Text
forall a. Maybe a
Nothing
afterActorHide :: (IsActor a, MonadIO m) => a -> ((?self :: a) => ActorHideCallback) -> m SignalHandlerId
afterActorHide :: forall a (m :: * -> *).
(IsActor a, MonadIO m) =>
a -> ((?self::a) => IO ()) -> m SignalHandlerId
afterActorHide a
obj (?self::a) => IO ()
cb = IO SignalHandlerId -> m SignalHandlerId
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SignalHandlerId -> m SignalHandlerId)
-> IO SignalHandlerId -> m SignalHandlerId
forall a b. (a -> b) -> a -> b
$ do
let wrapped :: a -> IO ()
wrapped a
self = let ?self = a
?self::a
self in IO ()
(?self::a) => IO ()
cb
let wrapped' :: C_ActorDestroyCallback
wrapped' = (a -> IO ()) -> C_ActorDestroyCallback
forall a. GObject a => (a -> IO ()) -> C_ActorDestroyCallback
wrap_ActorHideCallback a -> IO ()
wrapped
FunPtr C_ActorDestroyCallback
wrapped'' <- C_ActorDestroyCallback -> IO (FunPtr C_ActorDestroyCallback)
mk_ActorHideCallback C_ActorDestroyCallback
wrapped'
a
-> Text
-> FunPtr C_ActorDestroyCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj Text
"hide" FunPtr C_ActorDestroyCallback
wrapped'' SignalConnectMode
SignalConnectAfter Maybe Text
forall a. Maybe a
Nothing
#if defined(ENABLE_OVERLOADING)
data ActorHideSignalInfo
instance SignalInfo ActorHideSignalInfo where
type HaskellCallbackType ActorHideSignalInfo = ActorHideCallback
connectSignal obj cb connectMode detail = do
let cb' = wrap_ActorHideCallback cb
cb'' <- mk_ActorHideCallback cb'
connectSignalFunPtr obj "hide" cb'' connectMode detail
dbgSignalInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor::hide"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:signal:hide"})
#endif
type ActorKeyFocusInCallback =
IO ()
type C_ActorKeyFocusInCallback =
Ptr Actor ->
Ptr () ->
IO ()
foreign import ccall "wrapper"
mk_ActorKeyFocusInCallback :: C_ActorKeyFocusInCallback -> IO (FunPtr C_ActorKeyFocusInCallback)
wrap_ActorKeyFocusInCallback ::
GObject a => (a -> ActorKeyFocusInCallback) ->
C_ActorKeyFocusInCallback
wrap_ActorKeyFocusInCallback :: forall a. GObject a => (a -> IO ()) -> C_ActorDestroyCallback
wrap_ActorKeyFocusInCallback a -> IO ()
gi'cb Ptr Actor
gi'selfPtr Ptr ()
_ = do
Ptr Actor -> (Actor -> IO ()) -> IO ()
forall o b.
(HasCallStack, GObject o) =>
Ptr o -> (o -> IO b) -> IO b
B.ManagedPtr.withNewObject Ptr Actor
gi'selfPtr ((Actor -> IO ()) -> IO ()) -> (Actor -> IO ()) -> IO ()
forall a b. (a -> b) -> a -> b
$ \Actor
gi'self -> a -> IO ()
gi'cb (Actor -> a
forall a b. Coercible a b => a -> b
Coerce.coerce Actor
gi'self)
onActorKeyFocusIn :: (IsActor a, MonadIO m) => a -> ((?self :: a) => ActorKeyFocusInCallback) -> m SignalHandlerId
onActorKeyFocusIn :: forall a (m :: * -> *).
(IsActor a, MonadIO m) =>
a -> ((?self::a) => IO ()) -> m SignalHandlerId
onActorKeyFocusIn a
obj (?self::a) => IO ()
cb = IO SignalHandlerId -> m SignalHandlerId
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SignalHandlerId -> m SignalHandlerId)
-> IO SignalHandlerId -> m SignalHandlerId
forall a b. (a -> b) -> a -> b
$ do
let wrapped :: a -> IO ()
wrapped a
self = let ?self = a
?self::a
self in IO ()
(?self::a) => IO ()
cb
let wrapped' :: C_ActorDestroyCallback
wrapped' = (a -> IO ()) -> C_ActorDestroyCallback
forall a. GObject a => (a -> IO ()) -> C_ActorDestroyCallback
wrap_ActorKeyFocusInCallback a -> IO ()
wrapped
FunPtr C_ActorDestroyCallback
wrapped'' <- C_ActorDestroyCallback -> IO (FunPtr C_ActorDestroyCallback)
mk_ActorKeyFocusInCallback C_ActorDestroyCallback
wrapped'
a
-> Text
-> FunPtr C_ActorDestroyCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj Text
"key-focus-in" FunPtr C_ActorDestroyCallback
wrapped'' SignalConnectMode
SignalConnectBefore Maybe Text
forall a. Maybe a
Nothing
afterActorKeyFocusIn :: (IsActor a, MonadIO m) => a -> ((?self :: a) => ActorKeyFocusInCallback) -> m SignalHandlerId
afterActorKeyFocusIn :: forall a (m :: * -> *).
(IsActor a, MonadIO m) =>
a -> ((?self::a) => IO ()) -> m SignalHandlerId
afterActorKeyFocusIn a
obj (?self::a) => IO ()
cb = IO SignalHandlerId -> m SignalHandlerId
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SignalHandlerId -> m SignalHandlerId)
-> IO SignalHandlerId -> m SignalHandlerId
forall a b. (a -> b) -> a -> b
$ do
let wrapped :: a -> IO ()
wrapped a
self = let ?self = a
?self::a
self in IO ()
(?self::a) => IO ()
cb
let wrapped' :: C_ActorDestroyCallback
wrapped' = (a -> IO ()) -> C_ActorDestroyCallback
forall a. GObject a => (a -> IO ()) -> C_ActorDestroyCallback
wrap_ActorKeyFocusInCallback a -> IO ()
wrapped
FunPtr C_ActorDestroyCallback
wrapped'' <- C_ActorDestroyCallback -> IO (FunPtr C_ActorDestroyCallback)
mk_ActorKeyFocusInCallback C_ActorDestroyCallback
wrapped'
a
-> Text
-> FunPtr C_ActorDestroyCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj Text
"key-focus-in" FunPtr C_ActorDestroyCallback
wrapped'' SignalConnectMode
SignalConnectAfter Maybe Text
forall a. Maybe a
Nothing
#if defined(ENABLE_OVERLOADING)
data ActorKeyFocusInSignalInfo
instance SignalInfo ActorKeyFocusInSignalInfo where
type HaskellCallbackType ActorKeyFocusInSignalInfo = ActorKeyFocusInCallback
connectSignal obj cb connectMode detail = do
let cb' = wrap_ActorKeyFocusInCallback cb
cb'' <- mk_ActorKeyFocusInCallback cb'
connectSignalFunPtr obj "key-focus-in" cb'' connectMode detail
dbgSignalInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor::key-focus-in"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:signal:keyFocusIn"})
#endif
type ActorKeyFocusOutCallback =
IO ()
type C_ActorKeyFocusOutCallback =
Ptr Actor ->
Ptr () ->
IO ()
foreign import ccall "wrapper"
mk_ActorKeyFocusOutCallback :: C_ActorKeyFocusOutCallback -> IO (FunPtr C_ActorKeyFocusOutCallback)
wrap_ActorKeyFocusOutCallback ::
GObject a => (a -> ActorKeyFocusOutCallback) ->
C_ActorKeyFocusOutCallback
wrap_ActorKeyFocusOutCallback :: forall a. GObject a => (a -> IO ()) -> C_ActorDestroyCallback
wrap_ActorKeyFocusOutCallback a -> IO ()
gi'cb Ptr Actor
gi'selfPtr Ptr ()
_ = do
Ptr Actor -> (Actor -> IO ()) -> IO ()
forall o b.
(HasCallStack, GObject o) =>
Ptr o -> (o -> IO b) -> IO b
B.ManagedPtr.withNewObject Ptr Actor
gi'selfPtr ((Actor -> IO ()) -> IO ()) -> (Actor -> IO ()) -> IO ()
forall a b. (a -> b) -> a -> b
$ \Actor
gi'self -> a -> IO ()
gi'cb (Actor -> a
forall a b. Coercible a b => a -> b
Coerce.coerce Actor
gi'self)
onActorKeyFocusOut :: (IsActor a, MonadIO m) => a -> ((?self :: a) => ActorKeyFocusOutCallback) -> m SignalHandlerId
onActorKeyFocusOut :: forall a (m :: * -> *).
(IsActor a, MonadIO m) =>
a -> ((?self::a) => IO ()) -> m SignalHandlerId
onActorKeyFocusOut a
obj (?self::a) => IO ()
cb = IO SignalHandlerId -> m SignalHandlerId
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SignalHandlerId -> m SignalHandlerId)
-> IO SignalHandlerId -> m SignalHandlerId
forall a b. (a -> b) -> a -> b
$ do
let wrapped :: a -> IO ()
wrapped a
self = let ?self = a
?self::a
self in IO ()
(?self::a) => IO ()
cb
let wrapped' :: C_ActorDestroyCallback
wrapped' = (a -> IO ()) -> C_ActorDestroyCallback
forall a. GObject a => (a -> IO ()) -> C_ActorDestroyCallback
wrap_ActorKeyFocusOutCallback a -> IO ()
wrapped
FunPtr C_ActorDestroyCallback
wrapped'' <- C_ActorDestroyCallback -> IO (FunPtr C_ActorDestroyCallback)
mk_ActorKeyFocusOutCallback C_ActorDestroyCallback
wrapped'
a
-> Text
-> FunPtr C_ActorDestroyCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj Text
"key-focus-out" FunPtr C_ActorDestroyCallback
wrapped'' SignalConnectMode
SignalConnectBefore Maybe Text
forall a. Maybe a
Nothing
afterActorKeyFocusOut :: (IsActor a, MonadIO m) => a -> ((?self :: a) => ActorKeyFocusOutCallback) -> m SignalHandlerId
afterActorKeyFocusOut :: forall a (m :: * -> *).
(IsActor a, MonadIO m) =>
a -> ((?self::a) => IO ()) -> m SignalHandlerId
afterActorKeyFocusOut a
obj (?self::a) => IO ()
cb = IO SignalHandlerId -> m SignalHandlerId
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SignalHandlerId -> m SignalHandlerId)
-> IO SignalHandlerId -> m SignalHandlerId
forall a b. (a -> b) -> a -> b
$ do
let wrapped :: a -> IO ()
wrapped a
self = let ?self = a
?self::a
self in IO ()
(?self::a) => IO ()
cb
let wrapped' :: C_ActorDestroyCallback
wrapped' = (a -> IO ()) -> C_ActorDestroyCallback
forall a. GObject a => (a -> IO ()) -> C_ActorDestroyCallback
wrap_ActorKeyFocusOutCallback a -> IO ()
wrapped
FunPtr C_ActorDestroyCallback
wrapped'' <- C_ActorDestroyCallback -> IO (FunPtr C_ActorDestroyCallback)
mk_ActorKeyFocusOutCallback C_ActorDestroyCallback
wrapped'
a
-> Text
-> FunPtr C_ActorDestroyCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj Text
"key-focus-out" FunPtr C_ActorDestroyCallback
wrapped'' SignalConnectMode
SignalConnectAfter Maybe Text
forall a. Maybe a
Nothing
#if defined(ENABLE_OVERLOADING)
data ActorKeyFocusOutSignalInfo
instance SignalInfo ActorKeyFocusOutSignalInfo where
type HaskellCallbackType ActorKeyFocusOutSignalInfo = ActorKeyFocusOutCallback
connectSignal obj cb connectMode detail = do
let cb' = wrap_ActorKeyFocusOutCallback cb
cb'' <- mk_ActorKeyFocusOutCallback cb'
connectSignalFunPtr obj "key-focus-out" cb'' connectMode detail
dbgSignalInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor::key-focus-out"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:signal:keyFocusOut"})
#endif
type ActorKeyPressEventCallback =
Clutter.KeyEvent.KeyEvent
-> IO Bool
type C_ActorKeyPressEventCallback =
Ptr Actor ->
Ptr Clutter.KeyEvent.KeyEvent ->
Ptr () ->
IO CInt
foreign import ccall "wrapper"
mk_ActorKeyPressEventCallback :: C_ActorKeyPressEventCallback -> IO (FunPtr C_ActorKeyPressEventCallback)
wrap_ActorKeyPressEventCallback ::
GObject a => (a -> ActorKeyPressEventCallback) ->
C_ActorKeyPressEventCallback
wrap_ActorKeyPressEventCallback :: forall a.
GObject a =>
(a -> ActorKeyPressEventCallback) -> C_ActorKeyPressEventCallback
wrap_ActorKeyPressEventCallback a -> ActorKeyPressEventCallback
gi'cb Ptr Actor
gi'selfPtr Ptr KeyEvent
event Ptr ()
_ = do
KeyEvent
event' <- ((ManagedPtr KeyEvent -> KeyEvent) -> Ptr KeyEvent -> IO KeyEvent
forall a.
(HasCallStack, BoxedPtr a) =>
(ManagedPtr a -> a) -> Ptr a -> IO a
newPtr ManagedPtr KeyEvent -> KeyEvent
Clutter.KeyEvent.KeyEvent) Ptr KeyEvent
event
Bool
result <- Ptr Actor -> (Actor -> IO Bool) -> IO Bool
forall o b.
(HasCallStack, GObject o) =>
Ptr o -> (o -> IO b) -> IO b
B.ManagedPtr.withNewObject Ptr Actor
gi'selfPtr ((Actor -> IO Bool) -> IO Bool) -> (Actor -> IO Bool) -> IO Bool
forall a b. (a -> b) -> a -> b
$ \Actor
gi'self -> a -> ActorKeyPressEventCallback
gi'cb (Actor -> a
forall a b. Coercible a b => a -> b
Coerce.coerce Actor
gi'self) KeyEvent
event'
let result' :: CInt
result' = (Int -> CInt
forall a b. (Integral a, Num b) => a -> b
P.fromIntegral (Int -> CInt) -> (Bool -> Int) -> Bool -> CInt
forall b c a. (b -> c) -> (a -> b) -> a -> c
. Bool -> Int
forall a. Enum a => a -> Int
P.fromEnum) Bool
result
CInt -> IO CInt
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return CInt
result'
onActorKeyPressEvent :: (IsActor a, MonadIO m) => a -> ((?self :: a) => ActorKeyPressEventCallback) -> m SignalHandlerId
onActorKeyPressEvent :: forall a (m :: * -> *).
(IsActor a, MonadIO m) =>
a
-> ((?self::a) => ActorKeyPressEventCallback) -> m SignalHandlerId
onActorKeyPressEvent a
obj (?self::a) => ActorKeyPressEventCallback
cb = IO SignalHandlerId -> m SignalHandlerId
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SignalHandlerId -> m SignalHandlerId)
-> IO SignalHandlerId -> m SignalHandlerId
forall a b. (a -> b) -> a -> b
$ do
let wrapped :: a -> ActorKeyPressEventCallback
wrapped a
self = let ?self = a
?self::a
self in (?self::a) => ActorKeyPressEventCallback
ActorKeyPressEventCallback
cb
let wrapped' :: C_ActorKeyPressEventCallback
wrapped' = (a -> ActorKeyPressEventCallback) -> C_ActorKeyPressEventCallback
forall a.
GObject a =>
(a -> ActorKeyPressEventCallback) -> C_ActorKeyPressEventCallback
wrap_ActorKeyPressEventCallback a -> ActorKeyPressEventCallback
wrapped
FunPtr C_ActorKeyPressEventCallback
wrapped'' <- C_ActorKeyPressEventCallback
-> IO (FunPtr C_ActorKeyPressEventCallback)
mk_ActorKeyPressEventCallback C_ActorKeyPressEventCallback
wrapped'
a
-> Text
-> FunPtr C_ActorKeyPressEventCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj Text
"key-press-event" FunPtr C_ActorKeyPressEventCallback
wrapped'' SignalConnectMode
SignalConnectBefore Maybe Text
forall a. Maybe a
Nothing
afterActorKeyPressEvent :: (IsActor a, MonadIO m) => a -> ((?self :: a) => ActorKeyPressEventCallback) -> m SignalHandlerId
afterActorKeyPressEvent :: forall a (m :: * -> *).
(IsActor a, MonadIO m) =>
a
-> ((?self::a) => ActorKeyPressEventCallback) -> m SignalHandlerId
afterActorKeyPressEvent a
obj (?self::a) => ActorKeyPressEventCallback
cb = IO SignalHandlerId -> m SignalHandlerId
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SignalHandlerId -> m SignalHandlerId)
-> IO SignalHandlerId -> m SignalHandlerId
forall a b. (a -> b) -> a -> b
$ do
let wrapped :: a -> ActorKeyPressEventCallback
wrapped a
self = let ?self = a
?self::a
self in (?self::a) => ActorKeyPressEventCallback
ActorKeyPressEventCallback
cb
let wrapped' :: C_ActorKeyPressEventCallback
wrapped' = (a -> ActorKeyPressEventCallback) -> C_ActorKeyPressEventCallback
forall a.
GObject a =>
(a -> ActorKeyPressEventCallback) -> C_ActorKeyPressEventCallback
wrap_ActorKeyPressEventCallback a -> ActorKeyPressEventCallback
wrapped
FunPtr C_ActorKeyPressEventCallback
wrapped'' <- C_ActorKeyPressEventCallback
-> IO (FunPtr C_ActorKeyPressEventCallback)
mk_ActorKeyPressEventCallback C_ActorKeyPressEventCallback
wrapped'
a
-> Text
-> FunPtr C_ActorKeyPressEventCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj Text
"key-press-event" FunPtr C_ActorKeyPressEventCallback
wrapped'' SignalConnectMode
SignalConnectAfter Maybe Text
forall a. Maybe a
Nothing
#if defined(ENABLE_OVERLOADING)
data ActorKeyPressEventSignalInfo
instance SignalInfo ActorKeyPressEventSignalInfo where
type HaskellCallbackType ActorKeyPressEventSignalInfo = ActorKeyPressEventCallback
connectSignal obj cb connectMode detail = do
let cb' = wrap_ActorKeyPressEventCallback cb
cb'' <- mk_ActorKeyPressEventCallback cb'
connectSignalFunPtr obj "key-press-event" cb'' connectMode detail
dbgSignalInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor::key-press-event"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:signal:keyPressEvent"})
#endif
type ActorKeyReleaseEventCallback =
Clutter.KeyEvent.KeyEvent
-> IO Bool
type C_ActorKeyReleaseEventCallback =
Ptr Actor ->
Ptr Clutter.KeyEvent.KeyEvent ->
Ptr () ->
IO CInt
foreign import ccall "wrapper"
mk_ActorKeyReleaseEventCallback :: C_ActorKeyReleaseEventCallback -> IO (FunPtr C_ActorKeyReleaseEventCallback)
wrap_ActorKeyReleaseEventCallback ::
GObject a => (a -> ActorKeyReleaseEventCallback) ->
C_ActorKeyReleaseEventCallback
wrap_ActorKeyReleaseEventCallback :: forall a.
GObject a =>
(a -> ActorKeyPressEventCallback) -> C_ActorKeyPressEventCallback
wrap_ActorKeyReleaseEventCallback a -> ActorKeyPressEventCallback
gi'cb Ptr Actor
gi'selfPtr Ptr KeyEvent
event Ptr ()
_ = do
KeyEvent
event' <- ((ManagedPtr KeyEvent -> KeyEvent) -> Ptr KeyEvent -> IO KeyEvent
forall a.
(HasCallStack, BoxedPtr a) =>
(ManagedPtr a -> a) -> Ptr a -> IO a
newPtr ManagedPtr KeyEvent -> KeyEvent
Clutter.KeyEvent.KeyEvent) Ptr KeyEvent
event
Bool
result <- Ptr Actor -> (Actor -> IO Bool) -> IO Bool
forall o b.
(HasCallStack, GObject o) =>
Ptr o -> (o -> IO b) -> IO b
B.ManagedPtr.withNewObject Ptr Actor
gi'selfPtr ((Actor -> IO Bool) -> IO Bool) -> (Actor -> IO Bool) -> IO Bool
forall a b. (a -> b) -> a -> b
$ \Actor
gi'self -> a -> ActorKeyPressEventCallback
gi'cb (Actor -> a
forall a b. Coercible a b => a -> b
Coerce.coerce Actor
gi'self) KeyEvent
event'
let result' :: CInt
result' = (Int -> CInt
forall a b. (Integral a, Num b) => a -> b
P.fromIntegral (Int -> CInt) -> (Bool -> Int) -> Bool -> CInt
forall b c a. (b -> c) -> (a -> b) -> a -> c
. Bool -> Int
forall a. Enum a => a -> Int
P.fromEnum) Bool
result
CInt -> IO CInt
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return CInt
result'
onActorKeyReleaseEvent :: (IsActor a, MonadIO m) => a -> ((?self :: a) => ActorKeyReleaseEventCallback) -> m SignalHandlerId
onActorKeyReleaseEvent :: forall a (m :: * -> *).
(IsActor a, MonadIO m) =>
a
-> ((?self::a) => ActorKeyPressEventCallback) -> m SignalHandlerId
onActorKeyReleaseEvent a
obj (?self::a) => ActorKeyPressEventCallback
cb = IO SignalHandlerId -> m SignalHandlerId
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SignalHandlerId -> m SignalHandlerId)
-> IO SignalHandlerId -> m SignalHandlerId
forall a b. (a -> b) -> a -> b
$ do
let wrapped :: a -> ActorKeyPressEventCallback
wrapped a
self = let ?self = a
?self::a
self in (?self::a) => ActorKeyPressEventCallback
ActorKeyPressEventCallback
cb
let wrapped' :: C_ActorKeyPressEventCallback
wrapped' = (a -> ActorKeyPressEventCallback) -> C_ActorKeyPressEventCallback
forall a.
GObject a =>
(a -> ActorKeyPressEventCallback) -> C_ActorKeyPressEventCallback
wrap_ActorKeyReleaseEventCallback a -> ActorKeyPressEventCallback
wrapped
FunPtr C_ActorKeyPressEventCallback
wrapped'' <- C_ActorKeyPressEventCallback
-> IO (FunPtr C_ActorKeyPressEventCallback)
mk_ActorKeyReleaseEventCallback C_ActorKeyPressEventCallback
wrapped'
a
-> Text
-> FunPtr C_ActorKeyPressEventCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj Text
"key-release-event" FunPtr C_ActorKeyPressEventCallback
wrapped'' SignalConnectMode
SignalConnectBefore Maybe Text
forall a. Maybe a
Nothing
afterActorKeyReleaseEvent :: (IsActor a, MonadIO m) => a -> ((?self :: a) => ActorKeyReleaseEventCallback) -> m SignalHandlerId
afterActorKeyReleaseEvent :: forall a (m :: * -> *).
(IsActor a, MonadIO m) =>
a
-> ((?self::a) => ActorKeyPressEventCallback) -> m SignalHandlerId
afterActorKeyReleaseEvent a
obj (?self::a) => ActorKeyPressEventCallback
cb = IO SignalHandlerId -> m SignalHandlerId
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SignalHandlerId -> m SignalHandlerId)
-> IO SignalHandlerId -> m SignalHandlerId
forall a b. (a -> b) -> a -> b
$ do
let wrapped :: a -> ActorKeyPressEventCallback
wrapped a
self = let ?self = a
?self::a
self in (?self::a) => ActorKeyPressEventCallback
ActorKeyPressEventCallback
cb
let wrapped' :: C_ActorKeyPressEventCallback
wrapped' = (a -> ActorKeyPressEventCallback) -> C_ActorKeyPressEventCallback
forall a.
GObject a =>
(a -> ActorKeyPressEventCallback) -> C_ActorKeyPressEventCallback
wrap_ActorKeyReleaseEventCallback a -> ActorKeyPressEventCallback
wrapped
FunPtr C_ActorKeyPressEventCallback
wrapped'' <- C_ActorKeyPressEventCallback
-> IO (FunPtr C_ActorKeyPressEventCallback)
mk_ActorKeyReleaseEventCallback C_ActorKeyPressEventCallback
wrapped'
a
-> Text
-> FunPtr C_ActorKeyPressEventCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj Text
"key-release-event" FunPtr C_ActorKeyPressEventCallback
wrapped'' SignalConnectMode
SignalConnectAfter Maybe Text
forall a. Maybe a
Nothing
#if defined(ENABLE_OVERLOADING)
data ActorKeyReleaseEventSignalInfo
instance SignalInfo ActorKeyReleaseEventSignalInfo where
type HaskellCallbackType ActorKeyReleaseEventSignalInfo = ActorKeyReleaseEventCallback
connectSignal obj cb connectMode detail = do
let cb' = wrap_ActorKeyReleaseEventCallback cb
cb'' <- mk_ActorKeyReleaseEventCallback cb'
connectSignalFunPtr obj "key-release-event" cb'' connectMode detail
dbgSignalInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor::key-release-event"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:signal:keyReleaseEvent"})
#endif
type ActorLeaveEventCallback =
Clutter.CrossingEvent.CrossingEvent
-> IO Bool
type C_ActorLeaveEventCallback =
Ptr Actor ->
Ptr Clutter.CrossingEvent.CrossingEvent ->
Ptr () ->
IO CInt
foreign import ccall "wrapper"
mk_ActorLeaveEventCallback :: C_ActorLeaveEventCallback -> IO (FunPtr C_ActorLeaveEventCallback)
wrap_ActorLeaveEventCallback ::
GObject a => (a -> ActorLeaveEventCallback) ->
C_ActorLeaveEventCallback
wrap_ActorLeaveEventCallback :: forall a.
GObject a =>
(a -> ActorEnterEventCallback) -> C_ActorEnterEventCallback
wrap_ActorLeaveEventCallback a -> ActorEnterEventCallback
gi'cb Ptr Actor
gi'selfPtr Ptr CrossingEvent
event Ptr ()
_ = do
CrossingEvent
event' <- ((ManagedPtr CrossingEvent -> CrossingEvent)
-> Ptr CrossingEvent -> IO CrossingEvent
forall a.
(HasCallStack, BoxedPtr a) =>
(ManagedPtr a -> a) -> Ptr a -> IO a
newPtr ManagedPtr CrossingEvent -> CrossingEvent
Clutter.CrossingEvent.CrossingEvent) Ptr CrossingEvent
event
Bool
result <- Ptr Actor -> (Actor -> IO Bool) -> IO Bool
forall o b.
(HasCallStack, GObject o) =>
Ptr o -> (o -> IO b) -> IO b
B.ManagedPtr.withNewObject Ptr Actor
gi'selfPtr ((Actor -> IO Bool) -> IO Bool) -> (Actor -> IO Bool) -> IO Bool
forall a b. (a -> b) -> a -> b
$ \Actor
gi'self -> a -> ActorEnterEventCallback
gi'cb (Actor -> a
forall a b. Coercible a b => a -> b
Coerce.coerce Actor
gi'self) CrossingEvent
event'
let result' :: CInt
result' = (Int -> CInt
forall a b. (Integral a, Num b) => a -> b
P.fromIntegral (Int -> CInt) -> (Bool -> Int) -> Bool -> CInt
forall b c a. (b -> c) -> (a -> b) -> a -> c
. Bool -> Int
forall a. Enum a => a -> Int
P.fromEnum) Bool
result
CInt -> IO CInt
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return CInt
result'
onActorLeaveEvent :: (IsActor a, MonadIO m) => a -> ((?self :: a) => ActorLeaveEventCallback) -> m SignalHandlerId
onActorLeaveEvent :: forall a (m :: * -> *).
(IsActor a, MonadIO m) =>
a -> ((?self::a) => ActorEnterEventCallback) -> m SignalHandlerId
onActorLeaveEvent a
obj (?self::a) => ActorEnterEventCallback
cb = IO SignalHandlerId -> m SignalHandlerId
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SignalHandlerId -> m SignalHandlerId)
-> IO SignalHandlerId -> m SignalHandlerId
forall a b. (a -> b) -> a -> b
$ do
let wrapped :: a -> ActorEnterEventCallback
wrapped a
self = let ?self = a
?self::a
self in (?self::a) => ActorEnterEventCallback
ActorEnterEventCallback
cb
let wrapped' :: C_ActorEnterEventCallback
wrapped' = (a -> ActorEnterEventCallback) -> C_ActorEnterEventCallback
forall a.
GObject a =>
(a -> ActorEnterEventCallback) -> C_ActorEnterEventCallback
wrap_ActorLeaveEventCallback a -> ActorEnterEventCallback
wrapped
FunPtr C_ActorEnterEventCallback
wrapped'' <- C_ActorEnterEventCallback -> IO (FunPtr C_ActorEnterEventCallback)
mk_ActorLeaveEventCallback C_ActorEnterEventCallback
wrapped'
a
-> Text
-> FunPtr C_ActorEnterEventCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj Text
"leave-event" FunPtr C_ActorEnterEventCallback
wrapped'' SignalConnectMode
SignalConnectBefore Maybe Text
forall a. Maybe a
Nothing
afterActorLeaveEvent :: (IsActor a, MonadIO m) => a -> ((?self :: a) => ActorLeaveEventCallback) -> m SignalHandlerId
afterActorLeaveEvent :: forall a (m :: * -> *).
(IsActor a, MonadIO m) =>
a -> ((?self::a) => ActorEnterEventCallback) -> m SignalHandlerId
afterActorLeaveEvent a
obj (?self::a) => ActorEnterEventCallback
cb = IO SignalHandlerId -> m SignalHandlerId
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SignalHandlerId -> m SignalHandlerId)
-> IO SignalHandlerId -> m SignalHandlerId
forall a b. (a -> b) -> a -> b
$ do
let wrapped :: a -> ActorEnterEventCallback
wrapped a
self = let ?self = a
?self::a
self in (?self::a) => ActorEnterEventCallback
ActorEnterEventCallback
cb
let wrapped' :: C_ActorEnterEventCallback
wrapped' = (a -> ActorEnterEventCallback) -> C_ActorEnterEventCallback
forall a.
GObject a =>
(a -> ActorEnterEventCallback) -> C_ActorEnterEventCallback
wrap_ActorLeaveEventCallback a -> ActorEnterEventCallback
wrapped
FunPtr C_ActorEnterEventCallback
wrapped'' <- C_ActorEnterEventCallback -> IO (FunPtr C_ActorEnterEventCallback)
mk_ActorLeaveEventCallback C_ActorEnterEventCallback
wrapped'
a
-> Text
-> FunPtr C_ActorEnterEventCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj Text
"leave-event" FunPtr C_ActorEnterEventCallback
wrapped'' SignalConnectMode
SignalConnectAfter Maybe Text
forall a. Maybe a
Nothing
#if defined(ENABLE_OVERLOADING)
data ActorLeaveEventSignalInfo
instance SignalInfo ActorLeaveEventSignalInfo where
type HaskellCallbackType ActorLeaveEventSignalInfo = ActorLeaveEventCallback
connectSignal obj cb connectMode detail = do
let cb' = wrap_ActorLeaveEventCallback cb
cb'' <- mk_ActorLeaveEventCallback cb'
connectSignalFunPtr obj "leave-event" cb'' connectMode detail
dbgSignalInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor::leave-event"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:signal:leaveEvent"})
#endif
type ActorMotionEventCallback =
Clutter.MotionEvent.MotionEvent
-> IO Bool
type C_ActorMotionEventCallback =
Ptr Actor ->
Ptr Clutter.MotionEvent.MotionEvent ->
Ptr () ->
IO CInt
foreign import ccall "wrapper"
mk_ActorMotionEventCallback :: C_ActorMotionEventCallback -> IO (FunPtr C_ActorMotionEventCallback)
wrap_ActorMotionEventCallback ::
GObject a => (a -> ActorMotionEventCallback) ->
C_ActorMotionEventCallback
wrap_ActorMotionEventCallback :: forall a.
GObject a =>
(a -> ActorMotionEventCallback) -> C_ActorMotionEventCallback
wrap_ActorMotionEventCallback a -> ActorMotionEventCallback
gi'cb Ptr Actor
gi'selfPtr Ptr MotionEvent
event Ptr ()
_ = do
MotionEvent
event' <- ((ManagedPtr MotionEvent -> MotionEvent)
-> Ptr MotionEvent -> IO MotionEvent
forall a.
(HasCallStack, BoxedPtr a) =>
(ManagedPtr a -> a) -> Ptr a -> IO a
newPtr ManagedPtr MotionEvent -> MotionEvent
Clutter.MotionEvent.MotionEvent) Ptr MotionEvent
event
Bool
result <- Ptr Actor -> (Actor -> IO Bool) -> IO Bool
forall o b.
(HasCallStack, GObject o) =>
Ptr o -> (o -> IO b) -> IO b
B.ManagedPtr.withNewObject Ptr Actor
gi'selfPtr ((Actor -> IO Bool) -> IO Bool) -> (Actor -> IO Bool) -> IO Bool
forall a b. (a -> b) -> a -> b
$ \Actor
gi'self -> a -> ActorMotionEventCallback
gi'cb (Actor -> a
forall a b. Coercible a b => a -> b
Coerce.coerce Actor
gi'self) MotionEvent
event'
let result' :: CInt
result' = (Int -> CInt
forall a b. (Integral a, Num b) => a -> b
P.fromIntegral (Int -> CInt) -> (Bool -> Int) -> Bool -> CInt
forall b c a. (b -> c) -> (a -> b) -> a -> c
. Bool -> Int
forall a. Enum a => a -> Int
P.fromEnum) Bool
result
CInt -> IO CInt
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return CInt
result'
onActorMotionEvent :: (IsActor a, MonadIO m) => a -> ((?self :: a) => ActorMotionEventCallback) -> m SignalHandlerId
onActorMotionEvent :: forall a (m :: * -> *).
(IsActor a, MonadIO m) =>
a -> ((?self::a) => ActorMotionEventCallback) -> m SignalHandlerId
onActorMotionEvent a
obj (?self::a) => ActorMotionEventCallback
cb = IO SignalHandlerId -> m SignalHandlerId
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SignalHandlerId -> m SignalHandlerId)
-> IO SignalHandlerId -> m SignalHandlerId
forall a b. (a -> b) -> a -> b
$ do
let wrapped :: a -> ActorMotionEventCallback
wrapped a
self = let ?self = a
?self::a
self in (?self::a) => ActorMotionEventCallback
ActorMotionEventCallback
cb
let wrapped' :: C_ActorMotionEventCallback
wrapped' = (a -> ActorMotionEventCallback) -> C_ActorMotionEventCallback
forall a.
GObject a =>
(a -> ActorMotionEventCallback) -> C_ActorMotionEventCallback
wrap_ActorMotionEventCallback a -> ActorMotionEventCallback
wrapped
FunPtr C_ActorMotionEventCallback
wrapped'' <- C_ActorMotionEventCallback
-> IO (FunPtr C_ActorMotionEventCallback)
mk_ActorMotionEventCallback C_ActorMotionEventCallback
wrapped'
a
-> Text
-> FunPtr C_ActorMotionEventCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj Text
"motion-event" FunPtr C_ActorMotionEventCallback
wrapped'' SignalConnectMode
SignalConnectBefore Maybe Text
forall a. Maybe a
Nothing
afterActorMotionEvent :: (IsActor a, MonadIO m) => a -> ((?self :: a) => ActorMotionEventCallback) -> m SignalHandlerId
afterActorMotionEvent :: forall a (m :: * -> *).
(IsActor a, MonadIO m) =>
a -> ((?self::a) => ActorMotionEventCallback) -> m SignalHandlerId
afterActorMotionEvent a
obj (?self::a) => ActorMotionEventCallback
cb = IO SignalHandlerId -> m SignalHandlerId
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SignalHandlerId -> m SignalHandlerId)
-> IO SignalHandlerId -> m SignalHandlerId
forall a b. (a -> b) -> a -> b
$ do
let wrapped :: a -> ActorMotionEventCallback
wrapped a
self = let ?self = a
?self::a
self in (?self::a) => ActorMotionEventCallback
ActorMotionEventCallback
cb
let wrapped' :: C_ActorMotionEventCallback
wrapped' = (a -> ActorMotionEventCallback) -> C_ActorMotionEventCallback
forall a.
GObject a =>
(a -> ActorMotionEventCallback) -> C_ActorMotionEventCallback
wrap_ActorMotionEventCallback a -> ActorMotionEventCallback
wrapped
FunPtr C_ActorMotionEventCallback
wrapped'' <- C_ActorMotionEventCallback
-> IO (FunPtr C_ActorMotionEventCallback)
mk_ActorMotionEventCallback C_ActorMotionEventCallback
wrapped'
a
-> Text
-> FunPtr C_ActorMotionEventCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj Text
"motion-event" FunPtr C_ActorMotionEventCallback
wrapped'' SignalConnectMode
SignalConnectAfter Maybe Text
forall a. Maybe a
Nothing
#if defined(ENABLE_OVERLOADING)
data ActorMotionEventSignalInfo
instance SignalInfo ActorMotionEventSignalInfo where
type HaskellCallbackType ActorMotionEventSignalInfo = ActorMotionEventCallback
connectSignal obj cb connectMode detail = do
let cb' = wrap_ActorMotionEventCallback cb
cb'' <- mk_ActorMotionEventCallback cb'
connectSignalFunPtr obj "motion-event" cb'' connectMode detail
dbgSignalInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor::motion-event"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:signal:motionEvent"})
#endif
{-# DEPRECATED ActorPaintCallback ["(Since version 1.12)","Override the t'GI.Clutter.Structs.ActorClass.ActorClass'.@/paint/@ virtual"," function, use a t'GI.Clutter.Interfaces.Content.Content' implementation, or a t'GI.Clutter.Objects.Effect.Effect'"," instead of connecting to this signal."] #-}
type ActorPaintCallback =
IO ()
type C_ActorPaintCallback =
Ptr Actor ->
Ptr () ->
IO ()
foreign import ccall "wrapper"
mk_ActorPaintCallback :: C_ActorPaintCallback -> IO (FunPtr C_ActorPaintCallback)
wrap_ActorPaintCallback ::
GObject a => (a -> ActorPaintCallback) ->
C_ActorPaintCallback
wrap_ActorPaintCallback :: forall a. GObject a => (a -> IO ()) -> C_ActorDestroyCallback
wrap_ActorPaintCallback a -> IO ()
gi'cb Ptr Actor
gi'selfPtr Ptr ()
_ = do
Ptr Actor -> (Actor -> IO ()) -> IO ()
forall o b.
(HasCallStack, GObject o) =>
Ptr o -> (o -> IO b) -> IO b
B.ManagedPtr.withNewObject Ptr Actor
gi'selfPtr ((Actor -> IO ()) -> IO ()) -> (Actor -> IO ()) -> IO ()
forall a b. (a -> b) -> a -> b
$ \Actor
gi'self -> a -> IO ()
gi'cb (Actor -> a
forall a b. Coercible a b => a -> b
Coerce.coerce Actor
gi'self)
onActorPaint :: (IsActor a, MonadIO m) => a -> ((?self :: a) => ActorPaintCallback) -> m SignalHandlerId
onActorPaint :: forall a (m :: * -> *).
(IsActor a, MonadIO m) =>
a -> ((?self::a) => IO ()) -> m SignalHandlerId
onActorPaint a
obj (?self::a) => IO ()
cb = IO SignalHandlerId -> m SignalHandlerId
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SignalHandlerId -> m SignalHandlerId)
-> IO SignalHandlerId -> m SignalHandlerId
forall a b. (a -> b) -> a -> b
$ do
let wrapped :: a -> IO ()
wrapped a
self = let ?self = a
?self::a
self in IO ()
(?self::a) => IO ()
cb
let wrapped' :: C_ActorDestroyCallback
wrapped' = (a -> IO ()) -> C_ActorDestroyCallback
forall a. GObject a => (a -> IO ()) -> C_ActorDestroyCallback
wrap_ActorPaintCallback a -> IO ()
wrapped
FunPtr C_ActorDestroyCallback
wrapped'' <- C_ActorDestroyCallback -> IO (FunPtr C_ActorDestroyCallback)
mk_ActorPaintCallback C_ActorDestroyCallback
wrapped'
a
-> Text
-> FunPtr C_ActorDestroyCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj Text
"paint" FunPtr C_ActorDestroyCallback
wrapped'' SignalConnectMode
SignalConnectBefore Maybe Text
forall a. Maybe a
Nothing
afterActorPaint :: (IsActor a, MonadIO m) => a -> ((?self :: a) => ActorPaintCallback) -> m SignalHandlerId
afterActorPaint :: forall a (m :: * -> *).
(IsActor a, MonadIO m) =>
a -> ((?self::a) => IO ()) -> m SignalHandlerId
afterActorPaint a
obj (?self::a) => IO ()
cb = IO SignalHandlerId -> m SignalHandlerId
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SignalHandlerId -> m SignalHandlerId)
-> IO SignalHandlerId -> m SignalHandlerId
forall a b. (a -> b) -> a -> b
$ do
let wrapped :: a -> IO ()
wrapped a
self = let ?self = a
?self::a
self in IO ()
(?self::a) => IO ()
cb
let wrapped' :: C_ActorDestroyCallback
wrapped' = (a -> IO ()) -> C_ActorDestroyCallback
forall a. GObject a => (a -> IO ()) -> C_ActorDestroyCallback
wrap_ActorPaintCallback a -> IO ()
wrapped
FunPtr C_ActorDestroyCallback
wrapped'' <- C_ActorDestroyCallback -> IO (FunPtr C_ActorDestroyCallback)
mk_ActorPaintCallback C_ActorDestroyCallback
wrapped'
a
-> Text
-> FunPtr C_ActorDestroyCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj Text
"paint" FunPtr C_ActorDestroyCallback
wrapped'' SignalConnectMode
SignalConnectAfter Maybe Text
forall a. Maybe a
Nothing
#if defined(ENABLE_OVERLOADING)
data ActorPaintSignalInfo
instance SignalInfo ActorPaintSignalInfo where
type HaskellCallbackType ActorPaintSignalInfo = ActorPaintCallback
connectSignal obj cb connectMode detail = do
let cb' = wrap_ActorPaintCallback cb
cb'' <- mk_ActorPaintCallback cb'
connectSignalFunPtr obj "paint" cb'' connectMode detail
dbgSignalInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor::paint"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:signal:paint"})
#endif
type ActorParentSetCallback =
Maybe Actor
-> IO ()
type C_ActorParentSetCallback =
Ptr Actor ->
Ptr Actor ->
Ptr () ->
IO ()
foreign import ccall "wrapper"
mk_ActorParentSetCallback :: C_ActorParentSetCallback -> IO (FunPtr C_ActorParentSetCallback)
wrap_ActorParentSetCallback ::
GObject a => (a -> ActorParentSetCallback) ->
C_ActorParentSetCallback
wrap_ActorParentSetCallback :: forall a.
GObject a =>
(a -> Maybe Actor -> IO ()) -> C_ActorParentSetCallback
wrap_ActorParentSetCallback a -> Maybe Actor -> IO ()
gi'cb Ptr Actor
gi'selfPtr Ptr Actor
oldParent Ptr ()
_ = do
Maybe Actor
maybeOldParent <-
if Ptr Actor
oldParent Ptr Actor -> Ptr Actor -> Bool
forall a. Eq a => a -> a -> Bool
== Ptr Actor
forall a. Ptr a
nullPtr
then Maybe Actor -> IO (Maybe Actor)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Maybe Actor
forall a. Maybe a
Nothing
else do
Actor
oldParent' <- ((ManagedPtr Actor -> Actor) -> Ptr Actor -> IO Actor
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
newObject ManagedPtr Actor -> Actor
Actor) Ptr Actor
oldParent
Maybe Actor -> IO (Maybe Actor)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return (Maybe Actor -> IO (Maybe Actor))
-> Maybe Actor -> IO (Maybe Actor)
forall a b. (a -> b) -> a -> b
$ Actor -> Maybe Actor
forall a. a -> Maybe a
Just Actor
oldParent'
Ptr Actor -> (Actor -> IO ()) -> IO ()
forall o b.
(HasCallStack, GObject o) =>
Ptr o -> (o -> IO b) -> IO b
B.ManagedPtr.withNewObject Ptr Actor
gi'selfPtr ((Actor -> IO ()) -> IO ()) -> (Actor -> IO ()) -> IO ()
forall a b. (a -> b) -> a -> b
$ \Actor
gi'self -> a -> Maybe Actor -> IO ()
gi'cb (Actor -> a
forall a b. Coercible a b => a -> b
Coerce.coerce Actor
gi'self) Maybe Actor
maybeOldParent
onActorParentSet :: (IsActor a, MonadIO m) => a -> ((?self :: a) => ActorParentSetCallback) -> m SignalHandlerId
onActorParentSet :: forall a (m :: * -> *).
(IsActor a, MonadIO m) =>
a -> ((?self::a) => Maybe Actor -> IO ()) -> m SignalHandlerId
onActorParentSet a
obj (?self::a) => Maybe Actor -> IO ()
cb = IO SignalHandlerId -> m SignalHandlerId
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SignalHandlerId -> m SignalHandlerId)
-> IO SignalHandlerId -> m SignalHandlerId
forall a b. (a -> b) -> a -> b
$ do
let wrapped :: a -> Maybe Actor -> IO ()
wrapped a
self = let ?self = a
?self::a
self in (?self::a) => Maybe Actor -> IO ()
Maybe Actor -> IO ()
cb
let wrapped' :: C_ActorParentSetCallback
wrapped' = (a -> Maybe Actor -> IO ()) -> C_ActorParentSetCallback
forall a.
GObject a =>
(a -> Maybe Actor -> IO ()) -> C_ActorParentSetCallback
wrap_ActorParentSetCallback a -> Maybe Actor -> IO ()
wrapped
FunPtr C_ActorParentSetCallback
wrapped'' <- C_ActorParentSetCallback -> IO (FunPtr C_ActorParentSetCallback)
mk_ActorParentSetCallback C_ActorParentSetCallback
wrapped'
a
-> Text
-> FunPtr C_ActorParentSetCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj Text
"parent-set" FunPtr C_ActorParentSetCallback
wrapped'' SignalConnectMode
SignalConnectBefore Maybe Text
forall a. Maybe a
Nothing
afterActorParentSet :: (IsActor a, MonadIO m) => a -> ((?self :: a) => ActorParentSetCallback) -> m SignalHandlerId
afterActorParentSet :: forall a (m :: * -> *).
(IsActor a, MonadIO m) =>
a -> ((?self::a) => Maybe Actor -> IO ()) -> m SignalHandlerId
afterActorParentSet a
obj (?self::a) => Maybe Actor -> IO ()
cb = IO SignalHandlerId -> m SignalHandlerId
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SignalHandlerId -> m SignalHandlerId)
-> IO SignalHandlerId -> m SignalHandlerId
forall a b. (a -> b) -> a -> b
$ do
let wrapped :: a -> Maybe Actor -> IO ()
wrapped a
self = let ?self = a
?self::a
self in (?self::a) => Maybe Actor -> IO ()
Maybe Actor -> IO ()
cb
let wrapped' :: C_ActorParentSetCallback
wrapped' = (a -> Maybe Actor -> IO ()) -> C_ActorParentSetCallback
forall a.
GObject a =>
(a -> Maybe Actor -> IO ()) -> C_ActorParentSetCallback
wrap_ActorParentSetCallback a -> Maybe Actor -> IO ()
wrapped
FunPtr C_ActorParentSetCallback
wrapped'' <- C_ActorParentSetCallback -> IO (FunPtr C_ActorParentSetCallback)
mk_ActorParentSetCallback C_ActorParentSetCallback
wrapped'
a
-> Text
-> FunPtr C_ActorParentSetCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj Text
"parent-set" FunPtr C_ActorParentSetCallback
wrapped'' SignalConnectMode
SignalConnectAfter Maybe Text
forall a. Maybe a
Nothing
#if defined(ENABLE_OVERLOADING)
data ActorParentSetSignalInfo
instance SignalInfo ActorParentSetSignalInfo where
type HaskellCallbackType ActorParentSetSignalInfo = ActorParentSetCallback
connectSignal obj cb connectMode detail = do
let cb' = wrap_ActorParentSetCallback cb
cb'' <- mk_ActorParentSetCallback cb'
connectSignalFunPtr obj "parent-set" cb'' connectMode detail
dbgSignalInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor::parent-set"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:signal:parentSet"})
#endif
{-# DEPRECATED ActorPickCallback ["(Since version 1.12)","Override the t'GI.Clutter.Structs.ActorClass.ActorClass'.@/pick/@ virtual function"," instead."] #-}
type ActorPickCallback =
Clutter.Color.Color
-> IO ()
type C_ActorPickCallback =
Ptr Actor ->
Ptr Clutter.Color.Color ->
Ptr () ->
IO ()
foreign import ccall "wrapper"
mk_ActorPickCallback :: C_ActorPickCallback -> IO (FunPtr C_ActorPickCallback)
wrap_ActorPickCallback ::
GObject a => (a -> ActorPickCallback) ->
C_ActorPickCallback
wrap_ActorPickCallback :: forall a.
GObject a =>
(a -> ActorPickCallback) -> C_ActorPickCallback
wrap_ActorPickCallback a -> ActorPickCallback
gi'cb Ptr Actor
gi'selfPtr Ptr Color
color Ptr ()
_ = do
Ptr Color -> ActorPickCallback -> IO ()
forall a b.
(HasCallStack, ManagedPtrNewtype a) =>
Ptr a -> (a -> IO b) -> IO b
B.ManagedPtr.withTransient Ptr Color
color (ActorPickCallback -> IO ()) -> ActorPickCallback -> IO ()
forall a b. (a -> b) -> a -> b
$ \Color
color' -> do
Ptr Actor -> (Actor -> IO ()) -> IO ()
forall o b.
(HasCallStack, GObject o) =>
Ptr o -> (o -> IO b) -> IO b
B.ManagedPtr.withNewObject Ptr Actor
gi'selfPtr ((Actor -> IO ()) -> IO ()) -> (Actor -> IO ()) -> IO ()
forall a b. (a -> b) -> a -> b
$ \Actor
gi'self -> a -> ActorPickCallback
gi'cb (Actor -> a
forall a b. Coercible a b => a -> b
Coerce.coerce Actor
gi'self) Color
color'
onActorPick :: (IsActor a, MonadIO m) => a -> ((?self :: a) => ActorPickCallback) -> m SignalHandlerId
onActorPick :: forall a (m :: * -> *).
(IsActor a, MonadIO m) =>
a -> ((?self::a) => ActorPickCallback) -> m SignalHandlerId
onActorPick a
obj (?self::a) => ActorPickCallback
cb = IO SignalHandlerId -> m SignalHandlerId
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SignalHandlerId -> m SignalHandlerId)
-> IO SignalHandlerId -> m SignalHandlerId
forall a b. (a -> b) -> a -> b
$ do
let wrapped :: a -> ActorPickCallback
wrapped a
self = let ?self = a
?self::a
self in (?self::a) => ActorPickCallback
ActorPickCallback
cb
let wrapped' :: C_ActorPickCallback
wrapped' = (a -> ActorPickCallback) -> C_ActorPickCallback
forall a.
GObject a =>
(a -> ActorPickCallback) -> C_ActorPickCallback
wrap_ActorPickCallback a -> ActorPickCallback
wrapped
FunPtr C_ActorPickCallback
wrapped'' <- C_ActorPickCallback -> IO (FunPtr C_ActorPickCallback)
mk_ActorPickCallback C_ActorPickCallback
wrapped'
a
-> Text
-> FunPtr C_ActorPickCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj Text
"pick" FunPtr C_ActorPickCallback
wrapped'' SignalConnectMode
SignalConnectBefore Maybe Text
forall a. Maybe a
Nothing
afterActorPick :: (IsActor a, MonadIO m) => a -> ((?self :: a) => ActorPickCallback) -> m SignalHandlerId
afterActorPick :: forall a (m :: * -> *).
(IsActor a, MonadIO m) =>
a -> ((?self::a) => ActorPickCallback) -> m SignalHandlerId
afterActorPick a
obj (?self::a) => ActorPickCallback
cb = IO SignalHandlerId -> m SignalHandlerId
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SignalHandlerId -> m SignalHandlerId)
-> IO SignalHandlerId -> m SignalHandlerId
forall a b. (a -> b) -> a -> b
$ do
let wrapped :: a -> ActorPickCallback
wrapped a
self = let ?self = a
?self::a
self in (?self::a) => ActorPickCallback
ActorPickCallback
cb
let wrapped' :: C_ActorPickCallback
wrapped' = (a -> ActorPickCallback) -> C_ActorPickCallback
forall a.
GObject a =>
(a -> ActorPickCallback) -> C_ActorPickCallback
wrap_ActorPickCallback a -> ActorPickCallback
wrapped
FunPtr C_ActorPickCallback
wrapped'' <- C_ActorPickCallback -> IO (FunPtr C_ActorPickCallback)
mk_ActorPickCallback C_ActorPickCallback
wrapped'
a
-> Text
-> FunPtr C_ActorPickCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj Text
"pick" FunPtr C_ActorPickCallback
wrapped'' SignalConnectMode
SignalConnectAfter Maybe Text
forall a. Maybe a
Nothing
#if defined(ENABLE_OVERLOADING)
data ActorPickSignalInfo
instance SignalInfo ActorPickSignalInfo where
type HaskellCallbackType ActorPickSignalInfo = ActorPickCallback
connectSignal obj cb connectMode detail = do
let cb' = wrap_ActorPickCallback cb
cb'' <- mk_ActorPickCallback cb'
connectSignalFunPtr obj "pick" cb'' connectMode detail
dbgSignalInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor::pick"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:signal:pick"})
#endif
type ActorQueueRedrawCallback =
Actor
-> IO ()
type C_ActorQueueRedrawCallback =
Ptr Actor ->
Ptr Actor ->
Ptr () ->
IO ()
foreign import ccall "wrapper"
mk_ActorQueueRedrawCallback :: C_ActorQueueRedrawCallback -> IO (FunPtr C_ActorQueueRedrawCallback)
wrap_ActorQueueRedrawCallback ::
GObject a => (a -> ActorQueueRedrawCallback) ->
C_ActorQueueRedrawCallback
wrap_ActorQueueRedrawCallback :: forall a.
GObject a =>
(a -> Actor -> IO ()) -> C_ActorParentSetCallback
wrap_ActorQueueRedrawCallback a -> Actor -> IO ()
gi'cb Ptr Actor
gi'selfPtr Ptr Actor
origin Ptr ()
_ = do
Actor
origin' <- ((ManagedPtr Actor -> Actor) -> Ptr Actor -> IO Actor
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
newObject ManagedPtr Actor -> Actor
Actor) Ptr Actor
origin
Ptr Actor -> (Actor -> IO ()) -> IO ()
forall o b.
(HasCallStack, GObject o) =>
Ptr o -> (o -> IO b) -> IO b
B.ManagedPtr.withNewObject Ptr Actor
gi'selfPtr ((Actor -> IO ()) -> IO ()) -> (Actor -> IO ()) -> IO ()
forall a b. (a -> b) -> a -> b
$ \Actor
gi'self -> a -> Actor -> IO ()
gi'cb (Actor -> a
forall a b. Coercible a b => a -> b
Coerce.coerce Actor
gi'self) Actor
origin'
onActorQueueRedraw :: (IsActor a, MonadIO m) => a -> ((?self :: a) => ActorQueueRedrawCallback) -> m SignalHandlerId
onActorQueueRedraw :: forall a (m :: * -> *).
(IsActor a, MonadIO m) =>
a -> ((?self::a) => Actor -> IO ()) -> m SignalHandlerId
onActorQueueRedraw a
obj (?self::a) => Actor -> IO ()
cb = IO SignalHandlerId -> m SignalHandlerId
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SignalHandlerId -> m SignalHandlerId)
-> IO SignalHandlerId -> m SignalHandlerId
forall a b. (a -> b) -> a -> b
$ do
let wrapped :: a -> Actor -> IO ()
wrapped a
self = let ?self = a
?self::a
self in (?self::a) => Actor -> IO ()
Actor -> IO ()
cb
let wrapped' :: C_ActorParentSetCallback
wrapped' = (a -> Actor -> IO ()) -> C_ActorParentSetCallback
forall a.
GObject a =>
(a -> Actor -> IO ()) -> C_ActorParentSetCallback
wrap_ActorQueueRedrawCallback a -> Actor -> IO ()
wrapped
FunPtr C_ActorParentSetCallback
wrapped'' <- C_ActorParentSetCallback -> IO (FunPtr C_ActorParentSetCallback)
mk_ActorQueueRedrawCallback C_ActorParentSetCallback
wrapped'
a
-> Text
-> FunPtr C_ActorParentSetCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj Text
"queue-redraw" FunPtr C_ActorParentSetCallback
wrapped'' SignalConnectMode
SignalConnectBefore Maybe Text
forall a. Maybe a
Nothing
afterActorQueueRedraw :: (IsActor a, MonadIO m) => a -> ((?self :: a) => ActorQueueRedrawCallback) -> m SignalHandlerId
afterActorQueueRedraw :: forall a (m :: * -> *).
(IsActor a, MonadIO m) =>
a -> ((?self::a) => Actor -> IO ()) -> m SignalHandlerId
afterActorQueueRedraw a
obj (?self::a) => Actor -> IO ()
cb = IO SignalHandlerId -> m SignalHandlerId
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SignalHandlerId -> m SignalHandlerId)
-> IO SignalHandlerId -> m SignalHandlerId
forall a b. (a -> b) -> a -> b
$ do
let wrapped :: a -> Actor -> IO ()
wrapped a
self = let ?self = a
?self::a
self in (?self::a) => Actor -> IO ()
Actor -> IO ()
cb
let wrapped' :: C_ActorParentSetCallback
wrapped' = (a -> Actor -> IO ()) -> C_ActorParentSetCallback
forall a.
GObject a =>
(a -> Actor -> IO ()) -> C_ActorParentSetCallback
wrap_ActorQueueRedrawCallback a -> Actor -> IO ()
wrapped
FunPtr C_ActorParentSetCallback
wrapped'' <- C_ActorParentSetCallback -> IO (FunPtr C_ActorParentSetCallback)
mk_ActorQueueRedrawCallback C_ActorParentSetCallback
wrapped'
a
-> Text
-> FunPtr C_ActorParentSetCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj Text
"queue-redraw" FunPtr C_ActorParentSetCallback
wrapped'' SignalConnectMode
SignalConnectAfter Maybe Text
forall a. Maybe a
Nothing
#if defined(ENABLE_OVERLOADING)
data ActorQueueRedrawSignalInfo
instance SignalInfo ActorQueueRedrawSignalInfo where
type HaskellCallbackType ActorQueueRedrawSignalInfo = ActorQueueRedrawCallback
connectSignal obj cb connectMode detail = do
let cb' = wrap_ActorQueueRedrawCallback cb
cb'' <- mk_ActorQueueRedrawCallback cb'
connectSignalFunPtr obj "queue-redraw" cb'' connectMode detail
dbgSignalInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor::queue-redraw"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:signal:queueRedraw"})
#endif
type ActorQueueRelayoutCallback =
IO ()
type C_ActorQueueRelayoutCallback =
Ptr Actor ->
Ptr () ->
IO ()
foreign import ccall "wrapper"
mk_ActorQueueRelayoutCallback :: C_ActorQueueRelayoutCallback -> IO (FunPtr C_ActorQueueRelayoutCallback)
wrap_ActorQueueRelayoutCallback ::
GObject a => (a -> ActorQueueRelayoutCallback) ->
C_ActorQueueRelayoutCallback
wrap_ActorQueueRelayoutCallback :: forall a. GObject a => (a -> IO ()) -> C_ActorDestroyCallback
wrap_ActorQueueRelayoutCallback a -> IO ()
gi'cb Ptr Actor
gi'selfPtr Ptr ()
_ = do
Ptr Actor -> (Actor -> IO ()) -> IO ()
forall o b.
(HasCallStack, GObject o) =>
Ptr o -> (o -> IO b) -> IO b
B.ManagedPtr.withNewObject Ptr Actor
gi'selfPtr ((Actor -> IO ()) -> IO ()) -> (Actor -> IO ()) -> IO ()
forall a b. (a -> b) -> a -> b
$ \Actor
gi'self -> a -> IO ()
gi'cb (Actor -> a
forall a b. Coercible a b => a -> b
Coerce.coerce Actor
gi'self)
onActorQueueRelayout :: (IsActor a, MonadIO m) => a -> ((?self :: a) => ActorQueueRelayoutCallback) -> m SignalHandlerId
onActorQueueRelayout :: forall a (m :: * -> *).
(IsActor a, MonadIO m) =>
a -> ((?self::a) => IO ()) -> m SignalHandlerId
onActorQueueRelayout a
obj (?self::a) => IO ()
cb = IO SignalHandlerId -> m SignalHandlerId
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SignalHandlerId -> m SignalHandlerId)
-> IO SignalHandlerId -> m SignalHandlerId
forall a b. (a -> b) -> a -> b
$ do
let wrapped :: a -> IO ()
wrapped a
self = let ?self = a
?self::a
self in IO ()
(?self::a) => IO ()
cb
let wrapped' :: C_ActorDestroyCallback
wrapped' = (a -> IO ()) -> C_ActorDestroyCallback
forall a. GObject a => (a -> IO ()) -> C_ActorDestroyCallback
wrap_ActorQueueRelayoutCallback a -> IO ()
wrapped
FunPtr C_ActorDestroyCallback
wrapped'' <- C_ActorDestroyCallback -> IO (FunPtr C_ActorDestroyCallback)
mk_ActorQueueRelayoutCallback C_ActorDestroyCallback
wrapped'
a
-> Text
-> FunPtr C_ActorDestroyCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj Text
"queue-relayout" FunPtr C_ActorDestroyCallback
wrapped'' SignalConnectMode
SignalConnectBefore Maybe Text
forall a. Maybe a
Nothing
afterActorQueueRelayout :: (IsActor a, MonadIO m) => a -> ((?self :: a) => ActorQueueRelayoutCallback) -> m SignalHandlerId
afterActorQueueRelayout :: forall a (m :: * -> *).
(IsActor a, MonadIO m) =>
a -> ((?self::a) => IO ()) -> m SignalHandlerId
afterActorQueueRelayout a
obj (?self::a) => IO ()
cb = IO SignalHandlerId -> m SignalHandlerId
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SignalHandlerId -> m SignalHandlerId)
-> IO SignalHandlerId -> m SignalHandlerId
forall a b. (a -> b) -> a -> b
$ do
let wrapped :: a -> IO ()
wrapped a
self = let ?self = a
?self::a
self in IO ()
(?self::a) => IO ()
cb
let wrapped' :: C_ActorDestroyCallback
wrapped' = (a -> IO ()) -> C_ActorDestroyCallback
forall a. GObject a => (a -> IO ()) -> C_ActorDestroyCallback
wrap_ActorQueueRelayoutCallback a -> IO ()
wrapped
FunPtr C_ActorDestroyCallback
wrapped'' <- C_ActorDestroyCallback -> IO (FunPtr C_ActorDestroyCallback)
mk_ActorQueueRelayoutCallback C_ActorDestroyCallback
wrapped'
a
-> Text
-> FunPtr C_ActorDestroyCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj Text
"queue-relayout" FunPtr C_ActorDestroyCallback
wrapped'' SignalConnectMode
SignalConnectAfter Maybe Text
forall a. Maybe a
Nothing
#if defined(ENABLE_OVERLOADING)
data ActorQueueRelayoutSignalInfo
instance SignalInfo ActorQueueRelayoutSignalInfo where
type HaskellCallbackType ActorQueueRelayoutSignalInfo = ActorQueueRelayoutCallback
connectSignal obj cb connectMode detail = do
let cb' = wrap_ActorQueueRelayoutCallback cb
cb'' <- mk_ActorQueueRelayoutCallback cb'
connectSignalFunPtr obj "queue-relayout" cb'' connectMode detail
dbgSignalInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor::queue-relayout"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:signal:queueRelayout"})
#endif
{-# DEPRECATED ActorRealizeCallback ["(Since version 1.16)","The signal should not be used in newly"," written code"] #-}
type ActorRealizeCallback =
IO ()
type C_ActorRealizeCallback =
Ptr Actor ->
Ptr () ->
IO ()
foreign import ccall "wrapper"
mk_ActorRealizeCallback :: C_ActorRealizeCallback -> IO (FunPtr C_ActorRealizeCallback)
wrap_ActorRealizeCallback ::
GObject a => (a -> ActorRealizeCallback) ->
C_ActorRealizeCallback
wrap_ActorRealizeCallback :: forall a. GObject a => (a -> IO ()) -> C_ActorDestroyCallback
wrap_ActorRealizeCallback a -> IO ()
gi'cb Ptr Actor
gi'selfPtr Ptr ()
_ = do
Ptr Actor -> (Actor -> IO ()) -> IO ()
forall o b.
(HasCallStack, GObject o) =>
Ptr o -> (o -> IO b) -> IO b
B.ManagedPtr.withNewObject Ptr Actor
gi'selfPtr ((Actor -> IO ()) -> IO ()) -> (Actor -> IO ()) -> IO ()
forall a b. (a -> b) -> a -> b
$ \Actor
gi'self -> a -> IO ()
gi'cb (Actor -> a
forall a b. Coercible a b => a -> b
Coerce.coerce Actor
gi'self)
onActorRealize :: (IsActor a, MonadIO m) => a -> ((?self :: a) => ActorRealizeCallback) -> m SignalHandlerId
onActorRealize :: forall a (m :: * -> *).
(IsActor a, MonadIO m) =>
a -> ((?self::a) => IO ()) -> m SignalHandlerId
onActorRealize a
obj (?self::a) => IO ()
cb = IO SignalHandlerId -> m SignalHandlerId
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SignalHandlerId -> m SignalHandlerId)
-> IO SignalHandlerId -> m SignalHandlerId
forall a b. (a -> b) -> a -> b
$ do
let wrapped :: a -> IO ()
wrapped a
self = let ?self = a
?self::a
self in IO ()
(?self::a) => IO ()
cb
let wrapped' :: C_ActorDestroyCallback
wrapped' = (a -> IO ()) -> C_ActorDestroyCallback
forall a. GObject a => (a -> IO ()) -> C_ActorDestroyCallback
wrap_ActorRealizeCallback a -> IO ()
wrapped
FunPtr C_ActorDestroyCallback
wrapped'' <- C_ActorDestroyCallback -> IO (FunPtr C_ActorDestroyCallback)
mk_ActorRealizeCallback C_ActorDestroyCallback
wrapped'
a
-> Text
-> FunPtr C_ActorDestroyCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj Text
"realize" FunPtr C_ActorDestroyCallback
wrapped'' SignalConnectMode
SignalConnectBefore Maybe Text
forall a. Maybe a
Nothing
afterActorRealize :: (IsActor a, MonadIO m) => a -> ((?self :: a) => ActorRealizeCallback) -> m SignalHandlerId
afterActorRealize :: forall a (m :: * -> *).
(IsActor a, MonadIO m) =>
a -> ((?self::a) => IO ()) -> m SignalHandlerId
afterActorRealize a
obj (?self::a) => IO ()
cb = IO SignalHandlerId -> m SignalHandlerId
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SignalHandlerId -> m SignalHandlerId)
-> IO SignalHandlerId -> m SignalHandlerId
forall a b. (a -> b) -> a -> b
$ do
let wrapped :: a -> IO ()
wrapped a
self = let ?self = a
?self::a
self in IO ()
(?self::a) => IO ()
cb
let wrapped' :: C_ActorDestroyCallback
wrapped' = (a -> IO ()) -> C_ActorDestroyCallback
forall a. GObject a => (a -> IO ()) -> C_ActorDestroyCallback
wrap_ActorRealizeCallback a -> IO ()
wrapped
FunPtr C_ActorDestroyCallback
wrapped'' <- C_ActorDestroyCallback -> IO (FunPtr C_ActorDestroyCallback)
mk_ActorRealizeCallback C_ActorDestroyCallback
wrapped'
a
-> Text
-> FunPtr C_ActorDestroyCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj Text
"realize" FunPtr C_ActorDestroyCallback
wrapped'' SignalConnectMode
SignalConnectAfter Maybe Text
forall a. Maybe a
Nothing
#if defined(ENABLE_OVERLOADING)
data ActorRealizeSignalInfo
instance SignalInfo ActorRealizeSignalInfo where
type HaskellCallbackType ActorRealizeSignalInfo = ActorRealizeCallback
connectSignal obj cb connectMode detail = do
let cb' = wrap_ActorRealizeCallback cb
cb'' <- mk_ActorRealizeCallback cb'
connectSignalFunPtr obj "realize" cb'' connectMode detail
dbgSignalInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor::realize"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:signal:realize"})
#endif
type ActorScrollEventCallback =
Clutter.ScrollEvent.ScrollEvent
-> IO Bool
type C_ActorScrollEventCallback =
Ptr Actor ->
Ptr Clutter.ScrollEvent.ScrollEvent ->
Ptr () ->
IO CInt
foreign import ccall "wrapper"
mk_ActorScrollEventCallback :: C_ActorScrollEventCallback -> IO (FunPtr C_ActorScrollEventCallback)
wrap_ActorScrollEventCallback ::
GObject a => (a -> ActorScrollEventCallback) ->
C_ActorScrollEventCallback
wrap_ActorScrollEventCallback :: forall a.
GObject a =>
(a -> ActorScrollEventCallback) -> C_ActorScrollEventCallback
wrap_ActorScrollEventCallback a -> ActorScrollEventCallback
gi'cb Ptr Actor
gi'selfPtr Ptr ScrollEvent
event Ptr ()
_ = do
ScrollEvent
event' <- ((ManagedPtr ScrollEvent -> ScrollEvent)
-> Ptr ScrollEvent -> IO ScrollEvent
forall a.
(HasCallStack, BoxedPtr a) =>
(ManagedPtr a -> a) -> Ptr a -> IO a
newPtr ManagedPtr ScrollEvent -> ScrollEvent
Clutter.ScrollEvent.ScrollEvent) Ptr ScrollEvent
event
Bool
result <- Ptr Actor -> (Actor -> IO Bool) -> IO Bool
forall o b.
(HasCallStack, GObject o) =>
Ptr o -> (o -> IO b) -> IO b
B.ManagedPtr.withNewObject Ptr Actor
gi'selfPtr ((Actor -> IO Bool) -> IO Bool) -> (Actor -> IO Bool) -> IO Bool
forall a b. (a -> b) -> a -> b
$ \Actor
gi'self -> a -> ActorScrollEventCallback
gi'cb (Actor -> a
forall a b. Coercible a b => a -> b
Coerce.coerce Actor
gi'self) ScrollEvent
event'
let result' :: CInt
result' = (Int -> CInt
forall a b. (Integral a, Num b) => a -> b
P.fromIntegral (Int -> CInt) -> (Bool -> Int) -> Bool -> CInt
forall b c a. (b -> c) -> (a -> b) -> a -> c
. Bool -> Int
forall a. Enum a => a -> Int
P.fromEnum) Bool
result
CInt -> IO CInt
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return CInt
result'
onActorScrollEvent :: (IsActor a, MonadIO m) => a -> ((?self :: a) => ActorScrollEventCallback) -> m SignalHandlerId
onActorScrollEvent :: forall a (m :: * -> *).
(IsActor a, MonadIO m) =>
a -> ((?self::a) => ActorScrollEventCallback) -> m SignalHandlerId
onActorScrollEvent a
obj (?self::a) => ActorScrollEventCallback
cb = IO SignalHandlerId -> m SignalHandlerId
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SignalHandlerId -> m SignalHandlerId)
-> IO SignalHandlerId -> m SignalHandlerId
forall a b. (a -> b) -> a -> b
$ do
let wrapped :: a -> ActorScrollEventCallback
wrapped a
self = let ?self = a
?self::a
self in (?self::a) => ActorScrollEventCallback
ActorScrollEventCallback
cb
let wrapped' :: C_ActorScrollEventCallback
wrapped' = (a -> ActorScrollEventCallback) -> C_ActorScrollEventCallback
forall a.
GObject a =>
(a -> ActorScrollEventCallback) -> C_ActorScrollEventCallback
wrap_ActorScrollEventCallback a -> ActorScrollEventCallback
wrapped
FunPtr C_ActorScrollEventCallback
wrapped'' <- C_ActorScrollEventCallback
-> IO (FunPtr C_ActorScrollEventCallback)
mk_ActorScrollEventCallback C_ActorScrollEventCallback
wrapped'
a
-> Text
-> FunPtr C_ActorScrollEventCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj Text
"scroll-event" FunPtr C_ActorScrollEventCallback
wrapped'' SignalConnectMode
SignalConnectBefore Maybe Text
forall a. Maybe a
Nothing
afterActorScrollEvent :: (IsActor a, MonadIO m) => a -> ((?self :: a) => ActorScrollEventCallback) -> m SignalHandlerId
afterActorScrollEvent :: forall a (m :: * -> *).
(IsActor a, MonadIO m) =>
a -> ((?self::a) => ActorScrollEventCallback) -> m SignalHandlerId
afterActorScrollEvent a
obj (?self::a) => ActorScrollEventCallback
cb = IO SignalHandlerId -> m SignalHandlerId
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SignalHandlerId -> m SignalHandlerId)
-> IO SignalHandlerId -> m SignalHandlerId
forall a b. (a -> b) -> a -> b
$ do
let wrapped :: a -> ActorScrollEventCallback
wrapped a
self = let ?self = a
?self::a
self in (?self::a) => ActorScrollEventCallback
ActorScrollEventCallback
cb
let wrapped' :: C_ActorScrollEventCallback
wrapped' = (a -> ActorScrollEventCallback) -> C_ActorScrollEventCallback
forall a.
GObject a =>
(a -> ActorScrollEventCallback) -> C_ActorScrollEventCallback
wrap_ActorScrollEventCallback a -> ActorScrollEventCallback
wrapped
FunPtr C_ActorScrollEventCallback
wrapped'' <- C_ActorScrollEventCallback
-> IO (FunPtr C_ActorScrollEventCallback)
mk_ActorScrollEventCallback C_ActorScrollEventCallback
wrapped'
a
-> Text
-> FunPtr C_ActorScrollEventCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj Text
"scroll-event" FunPtr C_ActorScrollEventCallback
wrapped'' SignalConnectMode
SignalConnectAfter Maybe Text
forall a. Maybe a
Nothing
#if defined(ENABLE_OVERLOADING)
data ActorScrollEventSignalInfo
instance SignalInfo ActorScrollEventSignalInfo where
type HaskellCallbackType ActorScrollEventSignalInfo = ActorScrollEventCallback
connectSignal obj cb connectMode detail = do
let cb' = wrap_ActorScrollEventCallback cb
cb'' <- mk_ActorScrollEventCallback cb'
connectSignalFunPtr obj "scroll-event" cb'' connectMode detail
dbgSignalInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor::scroll-event"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:signal:scrollEvent"})
#endif
type ActorShowCallback =
IO ()
type C_ActorShowCallback =
Ptr Actor ->
Ptr () ->
IO ()
foreign import ccall "wrapper"
mk_ActorShowCallback :: C_ActorShowCallback -> IO (FunPtr C_ActorShowCallback)
wrap_ActorShowCallback ::
GObject a => (a -> ActorShowCallback) ->
C_ActorShowCallback
wrap_ActorShowCallback :: forall a. GObject a => (a -> IO ()) -> C_ActorDestroyCallback
wrap_ActorShowCallback a -> IO ()
gi'cb Ptr Actor
gi'selfPtr Ptr ()
_ = do
Ptr Actor -> (Actor -> IO ()) -> IO ()
forall o b.
(HasCallStack, GObject o) =>
Ptr o -> (o -> IO b) -> IO b
B.ManagedPtr.withNewObject Ptr Actor
gi'selfPtr ((Actor -> IO ()) -> IO ()) -> (Actor -> IO ()) -> IO ()
forall a b. (a -> b) -> a -> b
$ \Actor
gi'self -> a -> IO ()
gi'cb (Actor -> a
forall a b. Coercible a b => a -> b
Coerce.coerce Actor
gi'self)
onActorShow :: (IsActor a, MonadIO m) => a -> ((?self :: a) => ActorShowCallback) -> m SignalHandlerId
onActorShow :: forall a (m :: * -> *).
(IsActor a, MonadIO m) =>
a -> ((?self::a) => IO ()) -> m SignalHandlerId
onActorShow a
obj (?self::a) => IO ()
cb = IO SignalHandlerId -> m SignalHandlerId
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SignalHandlerId -> m SignalHandlerId)
-> IO SignalHandlerId -> m SignalHandlerId
forall a b. (a -> b) -> a -> b
$ do
let wrapped :: a -> IO ()
wrapped a
self = let ?self = a
?self::a
self in IO ()
(?self::a) => IO ()
cb
let wrapped' :: C_ActorDestroyCallback
wrapped' = (a -> IO ()) -> C_ActorDestroyCallback
forall a. GObject a => (a -> IO ()) -> C_ActorDestroyCallback
wrap_ActorShowCallback a -> IO ()
wrapped
FunPtr C_ActorDestroyCallback
wrapped'' <- C_ActorDestroyCallback -> IO (FunPtr C_ActorDestroyCallback)
mk_ActorShowCallback C_ActorDestroyCallback
wrapped'
a
-> Text
-> FunPtr C_ActorDestroyCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj Text
"show" FunPtr C_ActorDestroyCallback
wrapped'' SignalConnectMode
SignalConnectBefore Maybe Text
forall a. Maybe a
Nothing
afterActorShow :: (IsActor a, MonadIO m) => a -> ((?self :: a) => ActorShowCallback) -> m SignalHandlerId
afterActorShow :: forall a (m :: * -> *).
(IsActor a, MonadIO m) =>
a -> ((?self::a) => IO ()) -> m SignalHandlerId
afterActorShow a
obj (?self::a) => IO ()
cb = IO SignalHandlerId -> m SignalHandlerId
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SignalHandlerId -> m SignalHandlerId)
-> IO SignalHandlerId -> m SignalHandlerId
forall a b. (a -> b) -> a -> b
$ do
let wrapped :: a -> IO ()
wrapped a
self = let ?self = a
?self::a
self in IO ()
(?self::a) => IO ()
cb
let wrapped' :: C_ActorDestroyCallback
wrapped' = (a -> IO ()) -> C_ActorDestroyCallback
forall a. GObject a => (a -> IO ()) -> C_ActorDestroyCallback
wrap_ActorShowCallback a -> IO ()
wrapped
FunPtr C_ActorDestroyCallback
wrapped'' <- C_ActorDestroyCallback -> IO (FunPtr C_ActorDestroyCallback)
mk_ActorShowCallback C_ActorDestroyCallback
wrapped'
a
-> Text
-> FunPtr C_ActorDestroyCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj Text
"show" FunPtr C_ActorDestroyCallback
wrapped'' SignalConnectMode
SignalConnectAfter Maybe Text
forall a. Maybe a
Nothing
#if defined(ENABLE_OVERLOADING)
data ActorShowSignalInfo
instance SignalInfo ActorShowSignalInfo where
type HaskellCallbackType ActorShowSignalInfo = ActorShowCallback
connectSignal obj cb connectMode detail = do
let cb' = wrap_ActorShowCallback cb
cb'' <- mk_ActorShowCallback cb'
connectSignalFunPtr obj "show" cb'' connectMode detail
dbgSignalInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor::show"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:signal:show"})
#endif
type ActorTouchEventCallback =
Clutter.Event.Event
-> IO Bool
type C_ActorTouchEventCallback =
Ptr Actor ->
Ptr Clutter.Event.Event ->
Ptr () ->
IO CInt
foreign import ccall "wrapper"
mk_ActorTouchEventCallback :: C_ActorTouchEventCallback -> IO (FunPtr C_ActorTouchEventCallback)
wrap_ActorTouchEventCallback ::
GObject a => (a -> ActorTouchEventCallback) ->
C_ActorTouchEventCallback
wrap_ActorTouchEventCallback :: forall a.
GObject a =>
(a -> ActorCapturedEventCallback) -> C_ActorCapturedEventCallback
wrap_ActorTouchEventCallback a -> ActorCapturedEventCallback
gi'cb Ptr Actor
gi'selfPtr Ptr Event
event Ptr ()
_ = do
Ptr Event -> (Event -> IO CInt) -> IO CInt
forall a b.
(HasCallStack, ManagedPtrNewtype a) =>
Ptr a -> (a -> IO b) -> IO b
B.ManagedPtr.withTransient Ptr Event
event ((Event -> IO CInt) -> IO CInt) -> (Event -> IO CInt) -> IO CInt
forall a b. (a -> b) -> a -> b
$ \Event
event' -> do
Bool
result <- Ptr Actor -> (Actor -> IO Bool) -> IO Bool
forall o b.
(HasCallStack, GObject o) =>
Ptr o -> (o -> IO b) -> IO b
B.ManagedPtr.withNewObject Ptr Actor
gi'selfPtr ((Actor -> IO Bool) -> IO Bool) -> (Actor -> IO Bool) -> IO Bool
forall a b. (a -> b) -> a -> b
$ \Actor
gi'self -> a -> ActorCapturedEventCallback
gi'cb (Actor -> a
forall a b. Coercible a b => a -> b
Coerce.coerce Actor
gi'self) Event
event'
let result' :: CInt
result' = (Int -> CInt
forall a b. (Integral a, Num b) => a -> b
P.fromIntegral (Int -> CInt) -> (Bool -> Int) -> Bool -> CInt
forall b c a. (b -> c) -> (a -> b) -> a -> c
. Bool -> Int
forall a. Enum a => a -> Int
P.fromEnum) Bool
result
CInt -> IO CInt
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return CInt
result'
onActorTouchEvent :: (IsActor a, MonadIO m) => a -> ((?self :: a) => ActorTouchEventCallback) -> m SignalHandlerId
onActorTouchEvent :: forall a (m :: * -> *).
(IsActor a, MonadIO m) =>
a
-> ((?self::a) => ActorCapturedEventCallback) -> m SignalHandlerId
onActorTouchEvent a
obj (?self::a) => ActorCapturedEventCallback
cb = IO SignalHandlerId -> m SignalHandlerId
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SignalHandlerId -> m SignalHandlerId)
-> IO SignalHandlerId -> m SignalHandlerId
forall a b. (a -> b) -> a -> b
$ do
let wrapped :: a -> ActorCapturedEventCallback
wrapped a
self = let ?self = a
?self::a
self in (?self::a) => ActorCapturedEventCallback
ActorCapturedEventCallback
cb
let wrapped' :: C_ActorCapturedEventCallback
wrapped' = (a -> ActorCapturedEventCallback) -> C_ActorCapturedEventCallback
forall a.
GObject a =>
(a -> ActorCapturedEventCallback) -> C_ActorCapturedEventCallback
wrap_ActorTouchEventCallback a -> ActorCapturedEventCallback
wrapped
FunPtr C_ActorCapturedEventCallback
wrapped'' <- C_ActorCapturedEventCallback
-> IO (FunPtr C_ActorCapturedEventCallback)
mk_ActorTouchEventCallback C_ActorCapturedEventCallback
wrapped'
a
-> Text
-> FunPtr C_ActorCapturedEventCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj Text
"touch-event" FunPtr C_ActorCapturedEventCallback
wrapped'' SignalConnectMode
SignalConnectBefore Maybe Text
forall a. Maybe a
Nothing
afterActorTouchEvent :: (IsActor a, MonadIO m) => a -> ((?self :: a) => ActorTouchEventCallback) -> m SignalHandlerId
afterActorTouchEvent :: forall a (m :: * -> *).
(IsActor a, MonadIO m) =>
a
-> ((?self::a) => ActorCapturedEventCallback) -> m SignalHandlerId
afterActorTouchEvent a
obj (?self::a) => ActorCapturedEventCallback
cb = IO SignalHandlerId -> m SignalHandlerId
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SignalHandlerId -> m SignalHandlerId)
-> IO SignalHandlerId -> m SignalHandlerId
forall a b. (a -> b) -> a -> b
$ do
let wrapped :: a -> ActorCapturedEventCallback
wrapped a
self = let ?self = a
?self::a
self in (?self::a) => ActorCapturedEventCallback
ActorCapturedEventCallback
cb
let wrapped' :: C_ActorCapturedEventCallback
wrapped' = (a -> ActorCapturedEventCallback) -> C_ActorCapturedEventCallback
forall a.
GObject a =>
(a -> ActorCapturedEventCallback) -> C_ActorCapturedEventCallback
wrap_ActorTouchEventCallback a -> ActorCapturedEventCallback
wrapped
FunPtr C_ActorCapturedEventCallback
wrapped'' <- C_ActorCapturedEventCallback
-> IO (FunPtr C_ActorCapturedEventCallback)
mk_ActorTouchEventCallback C_ActorCapturedEventCallback
wrapped'
a
-> Text
-> FunPtr C_ActorCapturedEventCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj Text
"touch-event" FunPtr C_ActorCapturedEventCallback
wrapped'' SignalConnectMode
SignalConnectAfter Maybe Text
forall a. Maybe a
Nothing
#if defined(ENABLE_OVERLOADING)
data ActorTouchEventSignalInfo
instance SignalInfo ActorTouchEventSignalInfo where
type HaskellCallbackType ActorTouchEventSignalInfo = ActorTouchEventCallback
connectSignal obj cb connectMode detail = do
let cb' = wrap_ActorTouchEventCallback cb
cb'' <- mk_ActorTouchEventCallback cb'
connectSignalFunPtr obj "touch-event" cb'' connectMode detail
dbgSignalInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor::touch-event"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:signal:touchEvent"})
#endif
type ActorTransitionStoppedCallback =
T.Text
-> Bool
-> IO ()
type C_ActorTransitionStoppedCallback =
Ptr Actor ->
CString ->
CInt ->
Ptr () ->
IO ()
foreign import ccall "wrapper"
mk_ActorTransitionStoppedCallback :: C_ActorTransitionStoppedCallback -> IO (FunPtr C_ActorTransitionStoppedCallback)
wrap_ActorTransitionStoppedCallback ::
GObject a => (a -> ActorTransitionStoppedCallback) ->
C_ActorTransitionStoppedCallback
wrap_ActorTransitionStoppedCallback :: forall a.
GObject a =>
(a -> ActorTransitionStoppedCallback)
-> C_ActorTransitionStoppedCallback
wrap_ActorTransitionStoppedCallback a -> ActorTransitionStoppedCallback
gi'cb Ptr Actor
gi'selfPtr CString
name CInt
isFinished Ptr ()
_ = do
Text
name' <- HasCallStack => CString -> IO Text
CString -> IO Text
cstringToText CString
name
let isFinished' :: Bool
isFinished' = (CInt -> CInt -> Bool
forall a. Eq a => a -> a -> Bool
/= CInt
0) CInt
isFinished
Ptr Actor -> (Actor -> IO ()) -> IO ()
forall o b.
(HasCallStack, GObject o) =>
Ptr o -> (o -> IO b) -> IO b
B.ManagedPtr.withNewObject Ptr Actor
gi'selfPtr ((Actor -> IO ()) -> IO ()) -> (Actor -> IO ()) -> IO ()
forall a b. (a -> b) -> a -> b
$ \Actor
gi'self -> a -> ActorTransitionStoppedCallback
gi'cb (Actor -> a
forall a b. Coercible a b => a -> b
Coerce.coerce Actor
gi'self) Text
name' Bool
isFinished'
onActorTransitionStopped :: (IsActor a, MonadIO m) => a -> P.Maybe T.Text -> ((?self :: a) => ActorTransitionStoppedCallback) -> m SignalHandlerId
onActorTransitionStopped :: forall a (m :: * -> *).
(IsActor a, MonadIO m) =>
a
-> Maybe Text
-> ((?self::a) => ActorTransitionStoppedCallback)
-> m SignalHandlerId
onActorTransitionStopped a
obj Maybe Text
detail (?self::a) => ActorTransitionStoppedCallback
cb = IO SignalHandlerId -> m SignalHandlerId
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SignalHandlerId -> m SignalHandlerId)
-> IO SignalHandlerId -> m SignalHandlerId
forall a b. (a -> b) -> a -> b
$ do
let wrapped :: a -> ActorTransitionStoppedCallback
wrapped a
self = let ?self = a
?self::a
self in (?self::a) => ActorTransitionStoppedCallback
ActorTransitionStoppedCallback
cb
let wrapped' :: C_ActorTransitionStoppedCallback
wrapped' = (a -> ActorTransitionStoppedCallback)
-> C_ActorTransitionStoppedCallback
forall a.
GObject a =>
(a -> ActorTransitionStoppedCallback)
-> C_ActorTransitionStoppedCallback
wrap_ActorTransitionStoppedCallback a -> ActorTransitionStoppedCallback
wrapped
FunPtr C_ActorTransitionStoppedCallback
wrapped'' <- C_ActorTransitionStoppedCallback
-> IO (FunPtr C_ActorTransitionStoppedCallback)
mk_ActorTransitionStoppedCallback C_ActorTransitionStoppedCallback
wrapped'
a
-> Text
-> FunPtr C_ActorTransitionStoppedCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj Text
"transition-stopped" FunPtr C_ActorTransitionStoppedCallback
wrapped'' SignalConnectMode
SignalConnectBefore Maybe Text
detail
afterActorTransitionStopped :: (IsActor a, MonadIO m) => a -> P.Maybe T.Text -> ((?self :: a) => ActorTransitionStoppedCallback) -> m SignalHandlerId
afterActorTransitionStopped :: forall a (m :: * -> *).
(IsActor a, MonadIO m) =>
a
-> Maybe Text
-> ((?self::a) => ActorTransitionStoppedCallback)
-> m SignalHandlerId
afterActorTransitionStopped a
obj Maybe Text
detail (?self::a) => ActorTransitionStoppedCallback
cb = IO SignalHandlerId -> m SignalHandlerId
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SignalHandlerId -> m SignalHandlerId)
-> IO SignalHandlerId -> m SignalHandlerId
forall a b. (a -> b) -> a -> b
$ do
let wrapped :: a -> ActorTransitionStoppedCallback
wrapped a
self = let ?self = a
?self::a
self in (?self::a) => ActorTransitionStoppedCallback
ActorTransitionStoppedCallback
cb
let wrapped' :: C_ActorTransitionStoppedCallback
wrapped' = (a -> ActorTransitionStoppedCallback)
-> C_ActorTransitionStoppedCallback
forall a.
GObject a =>
(a -> ActorTransitionStoppedCallback)
-> C_ActorTransitionStoppedCallback
wrap_ActorTransitionStoppedCallback a -> ActorTransitionStoppedCallback
wrapped
FunPtr C_ActorTransitionStoppedCallback
wrapped'' <- C_ActorTransitionStoppedCallback
-> IO (FunPtr C_ActorTransitionStoppedCallback)
mk_ActorTransitionStoppedCallback C_ActorTransitionStoppedCallback
wrapped'
a
-> Text
-> FunPtr C_ActorTransitionStoppedCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj Text
"transition-stopped" FunPtr C_ActorTransitionStoppedCallback
wrapped'' SignalConnectMode
SignalConnectAfter Maybe Text
detail
#if defined(ENABLE_OVERLOADING)
data ActorTransitionStoppedSignalInfo
instance SignalInfo ActorTransitionStoppedSignalInfo where
type HaskellCallbackType ActorTransitionStoppedSignalInfo = ActorTransitionStoppedCallback
connectSignal obj cb connectMode detail = do
let cb' = wrap_ActorTransitionStoppedCallback cb
cb'' <- mk_ActorTransitionStoppedCallback cb'
connectSignalFunPtr obj "transition-stopped" cb'' connectMode detail
dbgSignalInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor::transition-stopped"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:signal:transitionStopped"})
#endif
type ActorTransitionsCompletedCallback =
IO ()
type C_ActorTransitionsCompletedCallback =
Ptr Actor ->
Ptr () ->
IO ()
foreign import ccall "wrapper"
mk_ActorTransitionsCompletedCallback :: C_ActorTransitionsCompletedCallback -> IO (FunPtr C_ActorTransitionsCompletedCallback)
wrap_ActorTransitionsCompletedCallback ::
GObject a => (a -> ActorTransitionsCompletedCallback) ->
C_ActorTransitionsCompletedCallback
wrap_ActorTransitionsCompletedCallback :: forall a. GObject a => (a -> IO ()) -> C_ActorDestroyCallback
wrap_ActorTransitionsCompletedCallback a -> IO ()
gi'cb Ptr Actor
gi'selfPtr Ptr ()
_ = do
Ptr Actor -> (Actor -> IO ()) -> IO ()
forall o b.
(HasCallStack, GObject o) =>
Ptr o -> (o -> IO b) -> IO b
B.ManagedPtr.withNewObject Ptr Actor
gi'selfPtr ((Actor -> IO ()) -> IO ()) -> (Actor -> IO ()) -> IO ()
forall a b. (a -> b) -> a -> b
$ \Actor
gi'self -> a -> IO ()
gi'cb (Actor -> a
forall a b. Coercible a b => a -> b
Coerce.coerce Actor
gi'self)
onActorTransitionsCompleted :: (IsActor a, MonadIO m) => a -> ((?self :: a) => ActorTransitionsCompletedCallback) -> m SignalHandlerId
onActorTransitionsCompleted :: forall a (m :: * -> *).
(IsActor a, MonadIO m) =>
a -> ((?self::a) => IO ()) -> m SignalHandlerId
onActorTransitionsCompleted a
obj (?self::a) => IO ()
cb = IO SignalHandlerId -> m SignalHandlerId
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SignalHandlerId -> m SignalHandlerId)
-> IO SignalHandlerId -> m SignalHandlerId
forall a b. (a -> b) -> a -> b
$ do
let wrapped :: a -> IO ()
wrapped a
self = let ?self = a
?self::a
self in IO ()
(?self::a) => IO ()
cb
let wrapped' :: C_ActorDestroyCallback
wrapped' = (a -> IO ()) -> C_ActorDestroyCallback
forall a. GObject a => (a -> IO ()) -> C_ActorDestroyCallback
wrap_ActorTransitionsCompletedCallback a -> IO ()
wrapped
FunPtr C_ActorDestroyCallback
wrapped'' <- C_ActorDestroyCallback -> IO (FunPtr C_ActorDestroyCallback)
mk_ActorTransitionsCompletedCallback C_ActorDestroyCallback
wrapped'
a
-> Text
-> FunPtr C_ActorDestroyCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj Text
"transitions-completed" FunPtr C_ActorDestroyCallback
wrapped'' SignalConnectMode
SignalConnectBefore Maybe Text
forall a. Maybe a
Nothing
afterActorTransitionsCompleted :: (IsActor a, MonadIO m) => a -> ((?self :: a) => ActorTransitionsCompletedCallback) -> m SignalHandlerId
afterActorTransitionsCompleted :: forall a (m :: * -> *).
(IsActor a, MonadIO m) =>
a -> ((?self::a) => IO ()) -> m SignalHandlerId
afterActorTransitionsCompleted a
obj (?self::a) => IO ()
cb = IO SignalHandlerId -> m SignalHandlerId
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SignalHandlerId -> m SignalHandlerId)
-> IO SignalHandlerId -> m SignalHandlerId
forall a b. (a -> b) -> a -> b
$ do
let wrapped :: a -> IO ()
wrapped a
self = let ?self = a
?self::a
self in IO ()
(?self::a) => IO ()
cb
let wrapped' :: C_ActorDestroyCallback
wrapped' = (a -> IO ()) -> C_ActorDestroyCallback
forall a. GObject a => (a -> IO ()) -> C_ActorDestroyCallback
wrap_ActorTransitionsCompletedCallback a -> IO ()
wrapped
FunPtr C_ActorDestroyCallback
wrapped'' <- C_ActorDestroyCallback -> IO (FunPtr C_ActorDestroyCallback)
mk_ActorTransitionsCompletedCallback C_ActorDestroyCallback
wrapped'
a
-> Text
-> FunPtr C_ActorDestroyCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj Text
"transitions-completed" FunPtr C_ActorDestroyCallback
wrapped'' SignalConnectMode
SignalConnectAfter Maybe Text
forall a. Maybe a
Nothing
#if defined(ENABLE_OVERLOADING)
data ActorTransitionsCompletedSignalInfo
instance SignalInfo ActorTransitionsCompletedSignalInfo where
type HaskellCallbackType ActorTransitionsCompletedSignalInfo = ActorTransitionsCompletedCallback
connectSignal obj cb connectMode detail = do
let cb' = wrap_ActorTransitionsCompletedCallback cb
cb'' <- mk_ActorTransitionsCompletedCallback cb'
connectSignalFunPtr obj "transitions-completed" cb'' connectMode detail
dbgSignalInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor::transitions-completed"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:signal:transitionsCompleted"})
#endif
{-# DEPRECATED ActorUnrealizeCallback ["(Since version 1.16)","The signal should not be used in newly"," written code"] #-}
type ActorUnrealizeCallback =
IO ()
type C_ActorUnrealizeCallback =
Ptr Actor ->
Ptr () ->
IO ()
foreign import ccall "wrapper"
mk_ActorUnrealizeCallback :: C_ActorUnrealizeCallback -> IO (FunPtr C_ActorUnrealizeCallback)
wrap_ActorUnrealizeCallback ::
GObject a => (a -> ActorUnrealizeCallback) ->
C_ActorUnrealizeCallback
wrap_ActorUnrealizeCallback :: forall a. GObject a => (a -> IO ()) -> C_ActorDestroyCallback
wrap_ActorUnrealizeCallback a -> IO ()
gi'cb Ptr Actor
gi'selfPtr Ptr ()
_ = do
Ptr Actor -> (Actor -> IO ()) -> IO ()
forall o b.
(HasCallStack, GObject o) =>
Ptr o -> (o -> IO b) -> IO b
B.ManagedPtr.withNewObject Ptr Actor
gi'selfPtr ((Actor -> IO ()) -> IO ()) -> (Actor -> IO ()) -> IO ()
forall a b. (a -> b) -> a -> b
$ \Actor
gi'self -> a -> IO ()
gi'cb (Actor -> a
forall a b. Coercible a b => a -> b
Coerce.coerce Actor
gi'self)
onActorUnrealize :: (IsActor a, MonadIO m) => a -> ((?self :: a) => ActorUnrealizeCallback) -> m SignalHandlerId
onActorUnrealize :: forall a (m :: * -> *).
(IsActor a, MonadIO m) =>
a -> ((?self::a) => IO ()) -> m SignalHandlerId
onActorUnrealize a
obj (?self::a) => IO ()
cb = IO SignalHandlerId -> m SignalHandlerId
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SignalHandlerId -> m SignalHandlerId)
-> IO SignalHandlerId -> m SignalHandlerId
forall a b. (a -> b) -> a -> b
$ do
let wrapped :: a -> IO ()
wrapped a
self = let ?self = a
?self::a
self in IO ()
(?self::a) => IO ()
cb
let wrapped' :: C_ActorDestroyCallback
wrapped' = (a -> IO ()) -> C_ActorDestroyCallback
forall a. GObject a => (a -> IO ()) -> C_ActorDestroyCallback
wrap_ActorUnrealizeCallback a -> IO ()
wrapped
FunPtr C_ActorDestroyCallback
wrapped'' <- C_ActorDestroyCallback -> IO (FunPtr C_ActorDestroyCallback)
mk_ActorUnrealizeCallback C_ActorDestroyCallback
wrapped'
a
-> Text
-> FunPtr C_ActorDestroyCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj Text
"unrealize" FunPtr C_ActorDestroyCallback
wrapped'' SignalConnectMode
SignalConnectBefore Maybe Text
forall a. Maybe a
Nothing
afterActorUnrealize :: (IsActor a, MonadIO m) => a -> ((?self :: a) => ActorUnrealizeCallback) -> m SignalHandlerId
afterActorUnrealize :: forall a (m :: * -> *).
(IsActor a, MonadIO m) =>
a -> ((?self::a) => IO ()) -> m SignalHandlerId
afterActorUnrealize a
obj (?self::a) => IO ()
cb = IO SignalHandlerId -> m SignalHandlerId
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SignalHandlerId -> m SignalHandlerId)
-> IO SignalHandlerId -> m SignalHandlerId
forall a b. (a -> b) -> a -> b
$ do
let wrapped :: a -> IO ()
wrapped a
self = let ?self = a
?self::a
self in IO ()
(?self::a) => IO ()
cb
let wrapped' :: C_ActorDestroyCallback
wrapped' = (a -> IO ()) -> C_ActorDestroyCallback
forall a. GObject a => (a -> IO ()) -> C_ActorDestroyCallback
wrap_ActorUnrealizeCallback a -> IO ()
wrapped
FunPtr C_ActorDestroyCallback
wrapped'' <- C_ActorDestroyCallback -> IO (FunPtr C_ActorDestroyCallback)
mk_ActorUnrealizeCallback C_ActorDestroyCallback
wrapped'
a
-> Text
-> FunPtr C_ActorDestroyCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj Text
"unrealize" FunPtr C_ActorDestroyCallback
wrapped'' SignalConnectMode
SignalConnectAfter Maybe Text
forall a. Maybe a
Nothing
#if defined(ENABLE_OVERLOADING)
data ActorUnrealizeSignalInfo
instance SignalInfo ActorUnrealizeSignalInfo where
type HaskellCallbackType ActorUnrealizeSignalInfo = ActorUnrealizeCallback
connectSignal obj cb connectMode detail = do
let cb' = wrap_ActorUnrealizeCallback cb
cb'' <- mk_ActorUnrealizeCallback cb'
connectSignalFunPtr obj "unrealize" cb'' connectMode detail
dbgSignalInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor::unrealize"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:signal:unrealize"})
#endif
setActorActions :: (MonadIO m, IsActor o, Clutter.Action.IsAction a) => o -> a -> m ()
setActorActions :: forall (m :: * -> *) o a.
(MonadIO m, IsActor o, IsAction a) =>
o -> a -> m ()
setActorActions o
obj a
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Maybe a -> IO ()
forall a b.
(GObject a, GObject b) =>
a -> String -> Maybe b -> IO ()
B.Properties.setObjectPropertyObject o
obj String
"actions" (a -> Maybe a
forall a. a -> Maybe a
Just a
val)
constructActorActions :: (IsActor o, MIO.MonadIO m, Clutter.Action.IsAction a) => a -> m (GValueConstruct o)
constructActorActions :: forall o (m :: * -> *) a.
(IsActor o, MonadIO m, IsAction a) =>
a -> m (GValueConstruct o)
constructActorActions a
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Maybe a -> IO (GValueConstruct o)
forall a o.
GObject a =>
String -> Maybe a -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyObject String
"actions" (a -> Maybe a
forall a. a -> Maybe a
P.Just a
val)
clearActorActions :: (MonadIO m, IsActor o) => o -> m ()
clearActorActions :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m ()
clearActorActions o
obj = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ o -> String -> Maybe Action -> IO ()
forall a b.
(GObject a, GObject b) =>
a -> String -> Maybe b -> IO ()
B.Properties.setObjectPropertyObject o
obj String
"actions" (Maybe Action
forall a. Maybe a
Nothing :: Maybe Clutter.Action.Action)
#if defined(ENABLE_OVERLOADING)
data ActorActionsPropertyInfo
instance AttrInfo ActorActionsPropertyInfo where
type AttrAllowedOps ActorActionsPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrClear]
type AttrBaseTypeConstraint ActorActionsPropertyInfo = IsActor
type AttrSetTypeConstraint ActorActionsPropertyInfo = Clutter.Action.IsAction
type AttrTransferTypeConstraint ActorActionsPropertyInfo = Clutter.Action.IsAction
type AttrTransferType ActorActionsPropertyInfo = Clutter.Action.Action
type AttrGetType ActorActionsPropertyInfo = ()
type AttrLabel ActorActionsPropertyInfo = "actions"
type AttrOrigin ActorActionsPropertyInfo = Actor
attrGet = undefined
attrSet = setActorActions
attrTransfer _ v = do
unsafeCastTo Clutter.Action.Action v
attrConstruct = constructActorActions
attrClear = clearActorActions
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actions"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:actions"
})
#endif
getActorAllocation :: (MonadIO m, IsActor o) => o -> m (Maybe Clutter.ActorBox.ActorBox)
getActorAllocation :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> m (Maybe ActorBox)
getActorAllocation o
obj = IO (Maybe ActorBox) -> m (Maybe ActorBox)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (Maybe ActorBox) -> m (Maybe ActorBox))
-> IO (Maybe ActorBox) -> m (Maybe ActorBox)
forall a b. (a -> b) -> a -> b
$ o
-> String
-> (ManagedPtr ActorBox -> ActorBox)
-> IO (Maybe ActorBox)
forall a b.
(GObject a, GBoxed b) =>
a -> String -> (ManagedPtr b -> b) -> IO (Maybe b)
B.Properties.getObjectPropertyBoxed o
obj String
"allocation" ManagedPtr ActorBox -> ActorBox
Clutter.ActorBox.ActorBox
#if defined(ENABLE_OVERLOADING)
data ActorAllocationPropertyInfo
instance AttrInfo ActorAllocationPropertyInfo where
type AttrAllowedOps ActorAllocationPropertyInfo = '[ 'AttrGet, 'AttrClear]
type AttrBaseTypeConstraint ActorAllocationPropertyInfo = IsActor
type AttrSetTypeConstraint ActorAllocationPropertyInfo = (~) ()
type AttrTransferTypeConstraint ActorAllocationPropertyInfo = (~) ()
type AttrTransferType ActorAllocationPropertyInfo = ()
type AttrGetType ActorAllocationPropertyInfo = (Maybe Clutter.ActorBox.ActorBox)
type AttrLabel ActorAllocationPropertyInfo = "allocation"
type AttrOrigin ActorAllocationPropertyInfo = Actor
attrGet = getActorAllocation
attrSet = undefined
attrTransfer _ = undefined
attrConstruct = undefined
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.allocation"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:allocation"
})
#endif
getActorAnchorGravity :: (MonadIO m, IsActor o) => o -> m Clutter.Enums.Gravity
getActorAnchorGravity :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m Gravity
getActorAnchorGravity o
obj = IO Gravity -> m Gravity
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Gravity -> m Gravity) -> IO Gravity -> m Gravity
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Gravity
forall a b. (GObject a, Enum b, BoxedEnum b) => a -> String -> IO b
B.Properties.getObjectPropertyEnum o
obj String
"anchor-gravity"
setActorAnchorGravity :: (MonadIO m, IsActor o) => o -> Clutter.Enums.Gravity -> m ()
setActorAnchorGravity :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> Gravity -> m ()
setActorAnchorGravity o
obj Gravity
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Gravity -> IO ()
forall a b.
(GObject a, Enum b, BoxedEnum b) =>
a -> String -> b -> IO ()
B.Properties.setObjectPropertyEnum o
obj String
"anchor-gravity" Gravity
val
constructActorAnchorGravity :: (IsActor o, MIO.MonadIO m) => Clutter.Enums.Gravity -> m (GValueConstruct o)
constructActorAnchorGravity :: forall o (m :: * -> *).
(IsActor o, MonadIO m) =>
Gravity -> m (GValueConstruct o)
constructActorAnchorGravity Gravity
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Gravity -> IO (GValueConstruct o)
forall a o.
(Enum a, BoxedEnum a) =>
String -> a -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyEnum String
"anchor-gravity" Gravity
val
#if defined(ENABLE_OVERLOADING)
data ActorAnchorGravityPropertyInfo
instance AttrInfo ActorAnchorGravityPropertyInfo where
type AttrAllowedOps ActorAnchorGravityPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ActorAnchorGravityPropertyInfo = IsActor
type AttrSetTypeConstraint ActorAnchorGravityPropertyInfo = (~) Clutter.Enums.Gravity
type AttrTransferTypeConstraint ActorAnchorGravityPropertyInfo = (~) Clutter.Enums.Gravity
type AttrTransferType ActorAnchorGravityPropertyInfo = Clutter.Enums.Gravity
type AttrGetType ActorAnchorGravityPropertyInfo = Clutter.Enums.Gravity
type AttrLabel ActorAnchorGravityPropertyInfo = "anchor-gravity"
type AttrOrigin ActorAnchorGravityPropertyInfo = Actor
attrGet = getActorAnchorGravity
attrSet = setActorAnchorGravity
attrTransfer _ v = do
return v
attrConstruct = constructActorAnchorGravity
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.anchorGravity"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:anchorGravity"
})
#endif
getActorAnchorX :: (MonadIO m, IsActor o) => o -> m Float
getActorAnchorX :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m Float
getActorAnchorX o
obj = IO Float -> m Float
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Float -> m Float) -> IO Float -> m Float
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Float
forall a. GObject a => a -> String -> IO Float
B.Properties.getObjectPropertyFloat o
obj String
"anchor-x"
setActorAnchorX :: (MonadIO m, IsActor o) => o -> Float -> m ()
setActorAnchorX :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> Float -> m ()
setActorAnchorX o
obj Float
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Float -> IO ()
forall a. GObject a => a -> String -> Float -> IO ()
B.Properties.setObjectPropertyFloat o
obj String
"anchor-x" Float
val
constructActorAnchorX :: (IsActor o, MIO.MonadIO m) => Float -> m (GValueConstruct o)
constructActorAnchorX :: forall o (m :: * -> *).
(IsActor o, MonadIO m) =>
Float -> m (GValueConstruct o)
constructActorAnchorX Float
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Float -> IO (GValueConstruct o)
forall o. String -> Float -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyFloat String
"anchor-x" Float
val
#if defined(ENABLE_OVERLOADING)
data ActorAnchorXPropertyInfo
instance AttrInfo ActorAnchorXPropertyInfo where
type AttrAllowedOps ActorAnchorXPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ActorAnchorXPropertyInfo = IsActor
type AttrSetTypeConstraint ActorAnchorXPropertyInfo = (~) Float
type AttrTransferTypeConstraint ActorAnchorXPropertyInfo = (~) Float
type AttrTransferType ActorAnchorXPropertyInfo = Float
type AttrGetType ActorAnchorXPropertyInfo = Float
type AttrLabel ActorAnchorXPropertyInfo = "anchor-x"
type AttrOrigin ActorAnchorXPropertyInfo = Actor
attrGet = getActorAnchorX
attrSet = setActorAnchorX
attrTransfer _ v = do
return v
attrConstruct = constructActorAnchorX
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.anchorX"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:anchorX"
})
#endif
getActorAnchorY :: (MonadIO m, IsActor o) => o -> m Float
getActorAnchorY :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m Float
getActorAnchorY o
obj = IO Float -> m Float
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Float -> m Float) -> IO Float -> m Float
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Float
forall a. GObject a => a -> String -> IO Float
B.Properties.getObjectPropertyFloat o
obj String
"anchor-y"
setActorAnchorY :: (MonadIO m, IsActor o) => o -> Float -> m ()
setActorAnchorY :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> Float -> m ()
setActorAnchorY o
obj Float
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Float -> IO ()
forall a. GObject a => a -> String -> Float -> IO ()
B.Properties.setObjectPropertyFloat o
obj String
"anchor-y" Float
val
constructActorAnchorY :: (IsActor o, MIO.MonadIO m) => Float -> m (GValueConstruct o)
constructActorAnchorY :: forall o (m :: * -> *).
(IsActor o, MonadIO m) =>
Float -> m (GValueConstruct o)
constructActorAnchorY Float
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Float -> IO (GValueConstruct o)
forall o. String -> Float -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyFloat String
"anchor-y" Float
val
#if defined(ENABLE_OVERLOADING)
data ActorAnchorYPropertyInfo
instance AttrInfo ActorAnchorYPropertyInfo where
type AttrAllowedOps ActorAnchorYPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ActorAnchorYPropertyInfo = IsActor
type AttrSetTypeConstraint ActorAnchorYPropertyInfo = (~) Float
type AttrTransferTypeConstraint ActorAnchorYPropertyInfo = (~) Float
type AttrTransferType ActorAnchorYPropertyInfo = Float
type AttrGetType ActorAnchorYPropertyInfo = Float
type AttrLabel ActorAnchorYPropertyInfo = "anchor-y"
type AttrOrigin ActorAnchorYPropertyInfo = Actor
attrGet = getActorAnchorY
attrSet = setActorAnchorY
attrTransfer _ v = do
return v
attrConstruct = constructActorAnchorY
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.anchorY"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:anchorY"
})
#endif
getActorBackgroundColor :: (MonadIO m, IsActor o) => o -> m (Maybe Clutter.Color.Color)
getActorBackgroundColor :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> m (Maybe Color)
getActorBackgroundColor o
obj = IO (Maybe Color) -> m (Maybe Color)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (Maybe Color) -> m (Maybe Color))
-> IO (Maybe Color) -> m (Maybe Color)
forall a b. (a -> b) -> a -> b
$ o -> String -> (ManagedPtr Color -> Color) -> IO (Maybe Color)
forall a b.
(GObject a, GBoxed b) =>
a -> String -> (ManagedPtr b -> b) -> IO (Maybe b)
B.Properties.getObjectPropertyBoxed o
obj String
"background-color" ManagedPtr Color -> Color
Clutter.Color.Color
setActorBackgroundColor :: (MonadIO m, IsActor o) => o -> Clutter.Color.Color -> m ()
setActorBackgroundColor :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> Color -> m ()
setActorBackgroundColor o
obj Color
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Maybe Color -> IO ()
forall a b.
(GObject a, GBoxed b) =>
a -> String -> Maybe b -> IO ()
B.Properties.setObjectPropertyBoxed o
obj String
"background-color" (Color -> Maybe Color
forall a. a -> Maybe a
Just Color
val)
constructActorBackgroundColor :: (IsActor o, MIO.MonadIO m) => Clutter.Color.Color -> m (GValueConstruct o)
constructActorBackgroundColor :: forall o (m :: * -> *).
(IsActor o, MonadIO m) =>
Color -> m (GValueConstruct o)
constructActorBackgroundColor Color
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Maybe Color -> IO (GValueConstruct o)
forall a o. GBoxed a => String -> Maybe a -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyBoxed String
"background-color" (Color -> Maybe Color
forall a. a -> Maybe a
P.Just Color
val)
clearActorBackgroundColor :: (MonadIO m, IsActor o) => o -> m ()
clearActorBackgroundColor :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m ()
clearActorBackgroundColor o
obj = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ o -> String -> Maybe Color -> IO ()
forall a b.
(GObject a, GBoxed b) =>
a -> String -> Maybe b -> IO ()
B.Properties.setObjectPropertyBoxed o
obj String
"background-color" (Maybe Color
forall a. Maybe a
Nothing :: Maybe Clutter.Color.Color)
#if defined(ENABLE_OVERLOADING)
data ActorBackgroundColorPropertyInfo
instance AttrInfo ActorBackgroundColorPropertyInfo where
type AttrAllowedOps ActorBackgroundColorPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet, 'AttrClear]
type AttrBaseTypeConstraint ActorBackgroundColorPropertyInfo = IsActor
type AttrSetTypeConstraint ActorBackgroundColorPropertyInfo = (~) Clutter.Color.Color
type AttrTransferTypeConstraint ActorBackgroundColorPropertyInfo = (~) Clutter.Color.Color
type AttrTransferType ActorBackgroundColorPropertyInfo = Clutter.Color.Color
type AttrGetType ActorBackgroundColorPropertyInfo = (Maybe Clutter.Color.Color)
type AttrLabel ActorBackgroundColorPropertyInfo = "background-color"
type AttrOrigin ActorBackgroundColorPropertyInfo = Actor
attrGet = getActorBackgroundColor
attrSet = setActorBackgroundColor
attrTransfer _ v = do
return v
attrConstruct = constructActorBackgroundColor
attrClear = clearActorBackgroundColor
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.backgroundColor"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:backgroundColor"
})
#endif
getActorBackgroundColorSet :: (MonadIO m, IsActor o) => o -> m Bool
getActorBackgroundColorSet :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m Bool
getActorBackgroundColorSet o
obj = IO Bool -> m Bool
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Bool
forall a. GObject a => a -> String -> IO Bool
B.Properties.getObjectPropertyBool o
obj String
"background-color-set"
#if defined(ENABLE_OVERLOADING)
data ActorBackgroundColorSetPropertyInfo
instance AttrInfo ActorBackgroundColorSetPropertyInfo where
type AttrAllowedOps ActorBackgroundColorSetPropertyInfo = '[ 'AttrGet]
type AttrBaseTypeConstraint ActorBackgroundColorSetPropertyInfo = IsActor
type AttrSetTypeConstraint ActorBackgroundColorSetPropertyInfo = (~) ()
type AttrTransferTypeConstraint ActorBackgroundColorSetPropertyInfo = (~) ()
type AttrTransferType ActorBackgroundColorSetPropertyInfo = ()
type AttrGetType ActorBackgroundColorSetPropertyInfo = Bool
type AttrLabel ActorBackgroundColorSetPropertyInfo = "background-color-set"
type AttrOrigin ActorBackgroundColorSetPropertyInfo = Actor
attrGet = getActorBackgroundColorSet
attrSet = undefined
attrTransfer _ = undefined
attrConstruct = undefined
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.backgroundColorSet"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:backgroundColorSet"
})
#endif
getActorChildTransform :: (MonadIO m, IsActor o) => o -> m (Maybe Clutter.Matrix.Matrix)
getActorChildTransform :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> m (Maybe Matrix)
getActorChildTransform o
obj = IO (Maybe Matrix) -> m (Maybe Matrix)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (Maybe Matrix) -> m (Maybe Matrix))
-> IO (Maybe Matrix) -> m (Maybe Matrix)
forall a b. (a -> b) -> a -> b
$ o -> String -> (ManagedPtr Matrix -> Matrix) -> IO (Maybe Matrix)
forall a b.
(GObject a, GBoxed b) =>
a -> String -> (ManagedPtr b -> b) -> IO (Maybe b)
B.Properties.getObjectPropertyBoxed o
obj String
"child-transform" ManagedPtr Matrix -> Matrix
Clutter.Matrix.Matrix
setActorChildTransform :: (MonadIO m, IsActor o) => o -> Clutter.Matrix.Matrix -> m ()
setActorChildTransform :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> Matrix -> m ()
setActorChildTransform o
obj Matrix
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Maybe Matrix -> IO ()
forall a b.
(GObject a, GBoxed b) =>
a -> String -> Maybe b -> IO ()
B.Properties.setObjectPropertyBoxed o
obj String
"child-transform" (Matrix -> Maybe Matrix
forall a. a -> Maybe a
Just Matrix
val)
constructActorChildTransform :: (IsActor o, MIO.MonadIO m) => Clutter.Matrix.Matrix -> m (GValueConstruct o)
constructActorChildTransform :: forall o (m :: * -> *).
(IsActor o, MonadIO m) =>
Matrix -> m (GValueConstruct o)
constructActorChildTransform Matrix
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Maybe Matrix -> IO (GValueConstruct o)
forall a o. GBoxed a => String -> Maybe a -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyBoxed String
"child-transform" (Matrix -> Maybe Matrix
forall a. a -> Maybe a
P.Just Matrix
val)
clearActorChildTransform :: (MonadIO m, IsActor o) => o -> m ()
clearActorChildTransform :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m ()
clearActorChildTransform o
obj = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ o -> String -> Maybe Matrix -> IO ()
forall a b.
(GObject a, GBoxed b) =>
a -> String -> Maybe b -> IO ()
B.Properties.setObjectPropertyBoxed o
obj String
"child-transform" (Maybe Matrix
forall a. Maybe a
Nothing :: Maybe Clutter.Matrix.Matrix)
#if defined(ENABLE_OVERLOADING)
data ActorChildTransformPropertyInfo
instance AttrInfo ActorChildTransformPropertyInfo where
type AttrAllowedOps ActorChildTransformPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet, 'AttrClear]
type AttrBaseTypeConstraint ActorChildTransformPropertyInfo = IsActor
type AttrSetTypeConstraint ActorChildTransformPropertyInfo = (~) Clutter.Matrix.Matrix
type AttrTransferTypeConstraint ActorChildTransformPropertyInfo = (~) Clutter.Matrix.Matrix
type AttrTransferType ActorChildTransformPropertyInfo = Clutter.Matrix.Matrix
type AttrGetType ActorChildTransformPropertyInfo = (Maybe Clutter.Matrix.Matrix)
type AttrLabel ActorChildTransformPropertyInfo = "child-transform"
type AttrOrigin ActorChildTransformPropertyInfo = Actor
attrGet = getActorChildTransform
attrSet = setActorChildTransform
attrTransfer _ v = do
return v
attrConstruct = constructActorChildTransform
attrClear = clearActorChildTransform
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.childTransform"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:childTransform"
})
#endif
getActorChildTransformSet :: (MonadIO m, IsActor o) => o -> m Bool
getActorChildTransformSet :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m Bool
getActorChildTransformSet o
obj = IO Bool -> m Bool
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Bool
forall a. GObject a => a -> String -> IO Bool
B.Properties.getObjectPropertyBool o
obj String
"child-transform-set"
#if defined(ENABLE_OVERLOADING)
data ActorChildTransformSetPropertyInfo
instance AttrInfo ActorChildTransformSetPropertyInfo where
type AttrAllowedOps ActorChildTransformSetPropertyInfo = '[ 'AttrGet]
type AttrBaseTypeConstraint ActorChildTransformSetPropertyInfo = IsActor
type AttrSetTypeConstraint ActorChildTransformSetPropertyInfo = (~) ()
type AttrTransferTypeConstraint ActorChildTransformSetPropertyInfo = (~) ()
type AttrTransferType ActorChildTransformSetPropertyInfo = ()
type AttrGetType ActorChildTransformSetPropertyInfo = Bool
type AttrLabel ActorChildTransformSetPropertyInfo = "child-transform-set"
type AttrOrigin ActorChildTransformSetPropertyInfo = Actor
attrGet = getActorChildTransformSet
attrSet = undefined
attrTransfer _ = undefined
attrConstruct = undefined
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.childTransformSet"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:childTransformSet"
})
#endif
getActorClip :: (MonadIO m, IsActor o) => o -> m (Maybe Clutter.Geometry.Geometry)
getActorClip :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> m (Maybe Geometry)
getActorClip o
obj = IO (Maybe Geometry) -> m (Maybe Geometry)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (Maybe Geometry) -> m (Maybe Geometry))
-> IO (Maybe Geometry) -> m (Maybe Geometry)
forall a b. (a -> b) -> a -> b
$ o
-> String
-> (ManagedPtr Geometry -> Geometry)
-> IO (Maybe Geometry)
forall a b.
(GObject a, GBoxed b) =>
a -> String -> (ManagedPtr b -> b) -> IO (Maybe b)
B.Properties.getObjectPropertyBoxed o
obj String
"clip" ManagedPtr Geometry -> Geometry
Clutter.Geometry.Geometry
setActorClip :: (MonadIO m, IsActor o) => o -> Clutter.Geometry.Geometry -> m ()
setActorClip :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> Geometry -> m ()
setActorClip o
obj Geometry
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Maybe Geometry -> IO ()
forall a b.
(GObject a, GBoxed b) =>
a -> String -> Maybe b -> IO ()
B.Properties.setObjectPropertyBoxed o
obj String
"clip" (Geometry -> Maybe Geometry
forall a. a -> Maybe a
Just Geometry
val)
constructActorClip :: (IsActor o, MIO.MonadIO m) => Clutter.Geometry.Geometry -> m (GValueConstruct o)
constructActorClip :: forall o (m :: * -> *).
(IsActor o, MonadIO m) =>
Geometry -> m (GValueConstruct o)
constructActorClip Geometry
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Maybe Geometry -> IO (GValueConstruct o)
forall a o. GBoxed a => String -> Maybe a -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyBoxed String
"clip" (Geometry -> Maybe Geometry
forall a. a -> Maybe a
P.Just Geometry
val)
clearActorClip :: (MonadIO m, IsActor o) => o -> m ()
clearActorClip :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m ()
clearActorClip o
obj = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ o -> String -> Maybe Geometry -> IO ()
forall a b.
(GObject a, GBoxed b) =>
a -> String -> Maybe b -> IO ()
B.Properties.setObjectPropertyBoxed o
obj String
"clip" (Maybe Geometry
forall a. Maybe a
Nothing :: Maybe Clutter.Geometry.Geometry)
#if defined(ENABLE_OVERLOADING)
data ActorClipPropertyInfo
instance AttrInfo ActorClipPropertyInfo where
type AttrAllowedOps ActorClipPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet, 'AttrClear]
type AttrBaseTypeConstraint ActorClipPropertyInfo = IsActor
type AttrSetTypeConstraint ActorClipPropertyInfo = (~) Clutter.Geometry.Geometry
type AttrTransferTypeConstraint ActorClipPropertyInfo = (~) Clutter.Geometry.Geometry
type AttrTransferType ActorClipPropertyInfo = Clutter.Geometry.Geometry
type AttrGetType ActorClipPropertyInfo = (Maybe Clutter.Geometry.Geometry)
type AttrLabel ActorClipPropertyInfo = "clip"
type AttrOrigin ActorClipPropertyInfo = Actor
attrGet = getActorClip
attrSet = setActorClip
attrTransfer _ v = do
return v
attrConstruct = constructActorClip
attrClear = clearActorClip
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.clip"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:clip"
})
#endif
getActorClipRect :: (MonadIO m, IsActor o) => o -> m (Maybe Clutter.Rect.Rect)
getActorClipRect :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> m (Maybe Rect)
getActorClipRect o
obj = IO (Maybe Rect) -> m (Maybe Rect)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (Maybe Rect) -> m (Maybe Rect))
-> IO (Maybe Rect) -> m (Maybe Rect)
forall a b. (a -> b) -> a -> b
$ o -> String -> (ManagedPtr Rect -> Rect) -> IO (Maybe Rect)
forall a b.
(GObject a, GBoxed b) =>
a -> String -> (ManagedPtr b -> b) -> IO (Maybe b)
B.Properties.getObjectPropertyBoxed o
obj String
"clip-rect" ManagedPtr Rect -> Rect
Clutter.Rect.Rect
setActorClipRect :: (MonadIO m, IsActor o) => o -> Clutter.Rect.Rect -> m ()
setActorClipRect :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> Rect -> m ()
setActorClipRect o
obj Rect
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Maybe Rect -> IO ()
forall a b.
(GObject a, GBoxed b) =>
a -> String -> Maybe b -> IO ()
B.Properties.setObjectPropertyBoxed o
obj String
"clip-rect" (Rect -> Maybe Rect
forall a. a -> Maybe a
Just Rect
val)
constructActorClipRect :: (IsActor o, MIO.MonadIO m) => Clutter.Rect.Rect -> m (GValueConstruct o)
constructActorClipRect :: forall o (m :: * -> *).
(IsActor o, MonadIO m) =>
Rect -> m (GValueConstruct o)
constructActorClipRect Rect
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Maybe Rect -> IO (GValueConstruct o)
forall a o. GBoxed a => String -> Maybe a -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyBoxed String
"clip-rect" (Rect -> Maybe Rect
forall a. a -> Maybe a
P.Just Rect
val)
clearActorClipRect :: (MonadIO m, IsActor o) => o -> m ()
clearActorClipRect :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m ()
clearActorClipRect o
obj = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ o -> String -> Maybe Rect -> IO ()
forall a b.
(GObject a, GBoxed b) =>
a -> String -> Maybe b -> IO ()
B.Properties.setObjectPropertyBoxed o
obj String
"clip-rect" (Maybe Rect
forall a. Maybe a
Nothing :: Maybe Clutter.Rect.Rect)
#if defined(ENABLE_OVERLOADING)
data ActorClipRectPropertyInfo
instance AttrInfo ActorClipRectPropertyInfo where
type AttrAllowedOps ActorClipRectPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet, 'AttrClear]
type AttrBaseTypeConstraint ActorClipRectPropertyInfo = IsActor
type AttrSetTypeConstraint ActorClipRectPropertyInfo = (~) Clutter.Rect.Rect
type AttrTransferTypeConstraint ActorClipRectPropertyInfo = (~) Clutter.Rect.Rect
type AttrTransferType ActorClipRectPropertyInfo = Clutter.Rect.Rect
type AttrGetType ActorClipRectPropertyInfo = (Maybe Clutter.Rect.Rect)
type AttrLabel ActorClipRectPropertyInfo = "clip-rect"
type AttrOrigin ActorClipRectPropertyInfo = Actor
attrGet = getActorClipRect
attrSet = setActorClipRect
attrTransfer _ v = do
return v
attrConstruct = constructActorClipRect
attrClear = clearActorClipRect
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.clipRect"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:clipRect"
})
#endif
getActorClipToAllocation :: (MonadIO m, IsActor o) => o -> m Bool
getActorClipToAllocation :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m Bool
getActorClipToAllocation o
obj = IO Bool -> m Bool
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Bool
forall a. GObject a => a -> String -> IO Bool
B.Properties.getObjectPropertyBool o
obj String
"clip-to-allocation"
setActorClipToAllocation :: (MonadIO m, IsActor o) => o -> Bool -> m ()
setActorClipToAllocation :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> Bool -> m ()
setActorClipToAllocation o
obj Bool
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Bool -> IO ()
forall a. GObject a => a -> String -> Bool -> IO ()
B.Properties.setObjectPropertyBool o
obj String
"clip-to-allocation" Bool
val
constructActorClipToAllocation :: (IsActor o, MIO.MonadIO m) => Bool -> m (GValueConstruct o)
constructActorClipToAllocation :: forall o (m :: * -> *).
(IsActor o, MonadIO m) =>
Bool -> m (GValueConstruct o)
constructActorClipToAllocation Bool
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Bool -> IO (GValueConstruct o)
forall o. String -> Bool -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyBool String
"clip-to-allocation" Bool
val
#if defined(ENABLE_OVERLOADING)
data ActorClipToAllocationPropertyInfo
instance AttrInfo ActorClipToAllocationPropertyInfo where
type AttrAllowedOps ActorClipToAllocationPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ActorClipToAllocationPropertyInfo = IsActor
type AttrSetTypeConstraint ActorClipToAllocationPropertyInfo = (~) Bool
type AttrTransferTypeConstraint ActorClipToAllocationPropertyInfo = (~) Bool
type AttrTransferType ActorClipToAllocationPropertyInfo = Bool
type AttrGetType ActorClipToAllocationPropertyInfo = Bool
type AttrLabel ActorClipToAllocationPropertyInfo = "clip-to-allocation"
type AttrOrigin ActorClipToAllocationPropertyInfo = Actor
attrGet = getActorClipToAllocation
attrSet = setActorClipToAllocation
attrTransfer _ v = do
return v
attrConstruct = constructActorClipToAllocation
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.clipToAllocation"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:clipToAllocation"
})
#endif
setActorConstraints :: (MonadIO m, IsActor o, Clutter.Constraint.IsConstraint a) => o -> a -> m ()
setActorConstraints :: forall (m :: * -> *) o a.
(MonadIO m, IsActor o, IsConstraint a) =>
o -> a -> m ()
setActorConstraints o
obj a
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Maybe a -> IO ()
forall a b.
(GObject a, GObject b) =>
a -> String -> Maybe b -> IO ()
B.Properties.setObjectPropertyObject o
obj String
"constraints" (a -> Maybe a
forall a. a -> Maybe a
Just a
val)
constructActorConstraints :: (IsActor o, MIO.MonadIO m, Clutter.Constraint.IsConstraint a) => a -> m (GValueConstruct o)
constructActorConstraints :: forall o (m :: * -> *) a.
(IsActor o, MonadIO m, IsConstraint a) =>
a -> m (GValueConstruct o)
constructActorConstraints a
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Maybe a -> IO (GValueConstruct o)
forall a o.
GObject a =>
String -> Maybe a -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyObject String
"constraints" (a -> Maybe a
forall a. a -> Maybe a
P.Just a
val)
clearActorConstraints :: (MonadIO m, IsActor o) => o -> m ()
clearActorConstraints :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m ()
clearActorConstraints o
obj = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ o -> String -> Maybe Constraint -> IO ()
forall a b.
(GObject a, GObject b) =>
a -> String -> Maybe b -> IO ()
B.Properties.setObjectPropertyObject o
obj String
"constraints" (Maybe Constraint
forall a. Maybe a
Nothing :: Maybe Clutter.Constraint.Constraint)
#if defined(ENABLE_OVERLOADING)
data ActorConstraintsPropertyInfo
instance AttrInfo ActorConstraintsPropertyInfo where
type AttrAllowedOps ActorConstraintsPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrClear]
type AttrBaseTypeConstraint ActorConstraintsPropertyInfo = IsActor
type AttrSetTypeConstraint ActorConstraintsPropertyInfo = Clutter.Constraint.IsConstraint
type AttrTransferTypeConstraint ActorConstraintsPropertyInfo = Clutter.Constraint.IsConstraint
type AttrTransferType ActorConstraintsPropertyInfo = Clutter.Constraint.Constraint
type AttrGetType ActorConstraintsPropertyInfo = ()
type AttrLabel ActorConstraintsPropertyInfo = "constraints"
type AttrOrigin ActorConstraintsPropertyInfo = Actor
attrGet = undefined
attrSet = setActorConstraints
attrTransfer _ v = do
unsafeCastTo Clutter.Constraint.Constraint v
attrConstruct = constructActorConstraints
attrClear = clearActorConstraints
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.constraints"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:constraints"
})
#endif
getActorContent :: (MonadIO m, IsActor o) => o -> m Clutter.Content.Content
getActorContent :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m Content
getActorContent o
obj = IO Content -> m Content
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Content -> m Content) -> IO Content -> m Content
forall a b. (a -> b) -> a -> b
$ Text -> IO (Maybe Content) -> IO Content
forall a. HasCallStack => Text -> IO (Maybe a) -> IO a
checkUnexpectedNothing Text
"getActorContent" (IO (Maybe Content) -> IO Content)
-> IO (Maybe Content) -> IO Content
forall a b. (a -> b) -> a -> b
$ o
-> String -> (ManagedPtr Content -> Content) -> IO (Maybe Content)
forall a b.
(GObject a, GObject b) =>
a -> String -> (ManagedPtr b -> b) -> IO (Maybe b)
B.Properties.getObjectPropertyObject o
obj String
"content" ManagedPtr Content -> Content
Clutter.Content.Content
setActorContent :: (MonadIO m, IsActor o, Clutter.Content.IsContent a) => o -> a -> m ()
setActorContent :: forall (m :: * -> *) o a.
(MonadIO m, IsActor o, IsContent a) =>
o -> a -> m ()
setActorContent o
obj a
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Maybe a -> IO ()
forall a b.
(GObject a, GObject b) =>
a -> String -> Maybe b -> IO ()
B.Properties.setObjectPropertyObject o
obj String
"content" (a -> Maybe a
forall a. a -> Maybe a
Just a
val)
constructActorContent :: (IsActor o, MIO.MonadIO m, Clutter.Content.IsContent a) => a -> m (GValueConstruct o)
constructActorContent :: forall o (m :: * -> *) a.
(IsActor o, MonadIO m, IsContent a) =>
a -> m (GValueConstruct o)
constructActorContent a
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Maybe a -> IO (GValueConstruct o)
forall a o.
GObject a =>
String -> Maybe a -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyObject String
"content" (a -> Maybe a
forall a. a -> Maybe a
P.Just a
val)
clearActorContent :: (MonadIO m, IsActor o) => o -> m ()
clearActorContent :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m ()
clearActorContent o
obj = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ o -> String -> Maybe Content -> IO ()
forall a b.
(GObject a, GObject b) =>
a -> String -> Maybe b -> IO ()
B.Properties.setObjectPropertyObject o
obj String
"content" (Maybe Content
forall a. Maybe a
Nothing :: Maybe Clutter.Content.Content)
#if defined(ENABLE_OVERLOADING)
data ActorContentPropertyInfo
instance AttrInfo ActorContentPropertyInfo where
type AttrAllowedOps ActorContentPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet, 'AttrClear]
type AttrBaseTypeConstraint ActorContentPropertyInfo = IsActor
type AttrSetTypeConstraint ActorContentPropertyInfo = Clutter.Content.IsContent
type AttrTransferTypeConstraint ActorContentPropertyInfo = Clutter.Content.IsContent
type AttrTransferType ActorContentPropertyInfo = Clutter.Content.Content
type AttrGetType ActorContentPropertyInfo = Clutter.Content.Content
type AttrLabel ActorContentPropertyInfo = "content"
type AttrOrigin ActorContentPropertyInfo = Actor
attrGet = getActorContent
attrSet = setActorContent
attrTransfer _ v = do
unsafeCastTo Clutter.Content.Content v
attrConstruct = constructActorContent
attrClear = clearActorContent
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.content"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:content"
})
#endif
getActorContentBox :: (MonadIO m, IsActor o) => o -> m (Maybe Clutter.ActorBox.ActorBox)
getActorContentBox :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> m (Maybe ActorBox)
getActorContentBox o
obj = IO (Maybe ActorBox) -> m (Maybe ActorBox)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (Maybe ActorBox) -> m (Maybe ActorBox))
-> IO (Maybe ActorBox) -> m (Maybe ActorBox)
forall a b. (a -> b) -> a -> b
$ o
-> String
-> (ManagedPtr ActorBox -> ActorBox)
-> IO (Maybe ActorBox)
forall a b.
(GObject a, GBoxed b) =>
a -> String -> (ManagedPtr b -> b) -> IO (Maybe b)
B.Properties.getObjectPropertyBoxed o
obj String
"content-box" ManagedPtr ActorBox -> ActorBox
Clutter.ActorBox.ActorBox
#if defined(ENABLE_OVERLOADING)
data ActorContentBoxPropertyInfo
instance AttrInfo ActorContentBoxPropertyInfo where
type AttrAllowedOps ActorContentBoxPropertyInfo = '[ 'AttrGet, 'AttrClear]
type AttrBaseTypeConstraint ActorContentBoxPropertyInfo = IsActor
type AttrSetTypeConstraint ActorContentBoxPropertyInfo = (~) ()
type AttrTransferTypeConstraint ActorContentBoxPropertyInfo = (~) ()
type AttrTransferType ActorContentBoxPropertyInfo = ()
type AttrGetType ActorContentBoxPropertyInfo = (Maybe Clutter.ActorBox.ActorBox)
type AttrLabel ActorContentBoxPropertyInfo = "content-box"
type AttrOrigin ActorContentBoxPropertyInfo = Actor
attrGet = getActorContentBox
attrSet = undefined
attrTransfer _ = undefined
attrConstruct = undefined
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.contentBox"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:contentBox"
})
#endif
getActorContentGravity :: (MonadIO m, IsActor o) => o -> m Clutter.Enums.ContentGravity
getActorContentGravity :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> m ContentGravity
getActorContentGravity o
obj = IO ContentGravity -> m ContentGravity
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO ContentGravity -> m ContentGravity)
-> IO ContentGravity -> m ContentGravity
forall a b. (a -> b) -> a -> b
$ o -> String -> IO ContentGravity
forall a b. (GObject a, Enum b, BoxedEnum b) => a -> String -> IO b
B.Properties.getObjectPropertyEnum o
obj String
"content-gravity"
setActorContentGravity :: (MonadIO m, IsActor o) => o -> Clutter.Enums.ContentGravity -> m ()
setActorContentGravity :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> ContentGravity -> m ()
setActorContentGravity o
obj ContentGravity
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> ContentGravity -> IO ()
forall a b.
(GObject a, Enum b, BoxedEnum b) =>
a -> String -> b -> IO ()
B.Properties.setObjectPropertyEnum o
obj String
"content-gravity" ContentGravity
val
constructActorContentGravity :: (IsActor o, MIO.MonadIO m) => Clutter.Enums.ContentGravity -> m (GValueConstruct o)
constructActorContentGravity :: forall o (m :: * -> *).
(IsActor o, MonadIO m) =>
ContentGravity -> m (GValueConstruct o)
constructActorContentGravity ContentGravity
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> ContentGravity -> IO (GValueConstruct o)
forall a o.
(Enum a, BoxedEnum a) =>
String -> a -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyEnum String
"content-gravity" ContentGravity
val
#if defined(ENABLE_OVERLOADING)
data ActorContentGravityPropertyInfo
instance AttrInfo ActorContentGravityPropertyInfo where
type AttrAllowedOps ActorContentGravityPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ActorContentGravityPropertyInfo = IsActor
type AttrSetTypeConstraint ActorContentGravityPropertyInfo = (~) Clutter.Enums.ContentGravity
type AttrTransferTypeConstraint ActorContentGravityPropertyInfo = (~) Clutter.Enums.ContentGravity
type AttrTransferType ActorContentGravityPropertyInfo = Clutter.Enums.ContentGravity
type AttrGetType ActorContentGravityPropertyInfo = Clutter.Enums.ContentGravity
type AttrLabel ActorContentGravityPropertyInfo = "content-gravity"
type AttrOrigin ActorContentGravityPropertyInfo = Actor
attrGet = getActorContentGravity
attrSet = setActorContentGravity
attrTransfer _ v = do
return v
attrConstruct = constructActorContentGravity
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.contentGravity"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:contentGravity"
})
#endif
getActorContentRepeat :: (MonadIO m, IsActor o) => o -> m [Clutter.Flags.ContentRepeat]
getActorContentRepeat :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> m [ContentRepeat]
getActorContentRepeat o
obj = IO [ContentRepeat] -> m [ContentRepeat]
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO [ContentRepeat] -> m [ContentRepeat])
-> IO [ContentRepeat] -> m [ContentRepeat]
forall a b. (a -> b) -> a -> b
$ o -> String -> IO [ContentRepeat]
forall a b.
(GObject a, IsGFlag b, BoxedFlags b) =>
a -> String -> IO [b]
B.Properties.getObjectPropertyFlags o
obj String
"content-repeat"
setActorContentRepeat :: (MonadIO m, IsActor o) => o -> [Clutter.Flags.ContentRepeat] -> m ()
setActorContentRepeat :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> [ContentRepeat] -> m ()
setActorContentRepeat o
obj [ContentRepeat]
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> [ContentRepeat] -> IO ()
forall a b.
(IsGFlag b, BoxedFlags b, GObject a) =>
a -> String -> [b] -> IO ()
B.Properties.setObjectPropertyFlags o
obj String
"content-repeat" [ContentRepeat]
val
constructActorContentRepeat :: (IsActor o, MIO.MonadIO m) => [Clutter.Flags.ContentRepeat] -> m (GValueConstruct o)
constructActorContentRepeat :: forall o (m :: * -> *).
(IsActor o, MonadIO m) =>
[ContentRepeat] -> m (GValueConstruct o)
constructActorContentRepeat [ContentRepeat]
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> [ContentRepeat] -> IO (GValueConstruct o)
forall a o.
(IsGFlag a, BoxedFlags a) =>
String -> [a] -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyFlags String
"content-repeat" [ContentRepeat]
val
#if defined(ENABLE_OVERLOADING)
data ActorContentRepeatPropertyInfo
instance AttrInfo ActorContentRepeatPropertyInfo where
type AttrAllowedOps ActorContentRepeatPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ActorContentRepeatPropertyInfo = IsActor
type AttrSetTypeConstraint ActorContentRepeatPropertyInfo = (~) [Clutter.Flags.ContentRepeat]
type AttrTransferTypeConstraint ActorContentRepeatPropertyInfo = (~) [Clutter.Flags.ContentRepeat]
type AttrTransferType ActorContentRepeatPropertyInfo = [Clutter.Flags.ContentRepeat]
type AttrGetType ActorContentRepeatPropertyInfo = [Clutter.Flags.ContentRepeat]
type AttrLabel ActorContentRepeatPropertyInfo = "content-repeat"
type AttrOrigin ActorContentRepeatPropertyInfo = Actor
attrGet = getActorContentRepeat
attrSet = setActorContentRepeat
attrTransfer _ v = do
return v
attrConstruct = constructActorContentRepeat
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.contentRepeat"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:contentRepeat"
})
#endif
getActorDepth :: (MonadIO m, IsActor o) => o -> m Float
getActorDepth :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m Float
getActorDepth o
obj = IO Float -> m Float
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Float -> m Float) -> IO Float -> m Float
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Float
forall a. GObject a => a -> String -> IO Float
B.Properties.getObjectPropertyFloat o
obj String
"depth"
setActorDepth :: (MonadIO m, IsActor o) => o -> Float -> m ()
setActorDepth :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> Float -> m ()
setActorDepth o
obj Float
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Float -> IO ()
forall a. GObject a => a -> String -> Float -> IO ()
B.Properties.setObjectPropertyFloat o
obj String
"depth" Float
val
constructActorDepth :: (IsActor o, MIO.MonadIO m) => Float -> m (GValueConstruct o)
constructActorDepth :: forall o (m :: * -> *).
(IsActor o, MonadIO m) =>
Float -> m (GValueConstruct o)
constructActorDepth Float
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Float -> IO (GValueConstruct o)
forall o. String -> Float -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyFloat String
"depth" Float
val
#if defined(ENABLE_OVERLOADING)
data ActorDepthPropertyInfo
instance AttrInfo ActorDepthPropertyInfo where
type AttrAllowedOps ActorDepthPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ActorDepthPropertyInfo = IsActor
type AttrSetTypeConstraint ActorDepthPropertyInfo = (~) Float
type AttrTransferTypeConstraint ActorDepthPropertyInfo = (~) Float
type AttrTransferType ActorDepthPropertyInfo = Float
type AttrGetType ActorDepthPropertyInfo = Float
type AttrLabel ActorDepthPropertyInfo = "depth"
type AttrOrigin ActorDepthPropertyInfo = Actor
attrGet = getActorDepth
attrSet = setActorDepth
attrTransfer _ v = do
return v
attrConstruct = constructActorDepth
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.depth"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:depth"
})
#endif
setActorEffect :: (MonadIO m, IsActor o, Clutter.Effect.IsEffect a) => o -> a -> m ()
setActorEffect :: forall (m :: * -> *) o a.
(MonadIO m, IsActor o, IsEffect a) =>
o -> a -> m ()
setActorEffect o
obj a
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Maybe a -> IO ()
forall a b.
(GObject a, GObject b) =>
a -> String -> Maybe b -> IO ()
B.Properties.setObjectPropertyObject o
obj String
"effect" (a -> Maybe a
forall a. a -> Maybe a
Just a
val)
constructActorEffect :: (IsActor o, MIO.MonadIO m, Clutter.Effect.IsEffect a) => a -> m (GValueConstruct o)
constructActorEffect :: forall o (m :: * -> *) a.
(IsActor o, MonadIO m, IsEffect a) =>
a -> m (GValueConstruct o)
constructActorEffect a
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Maybe a -> IO (GValueConstruct o)
forall a o.
GObject a =>
String -> Maybe a -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyObject String
"effect" (a -> Maybe a
forall a. a -> Maybe a
P.Just a
val)
clearActorEffect :: (MonadIO m, IsActor o) => o -> m ()
clearActorEffect :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m ()
clearActorEffect o
obj = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ o -> String -> Maybe Effect -> IO ()
forall a b.
(GObject a, GObject b) =>
a -> String -> Maybe b -> IO ()
B.Properties.setObjectPropertyObject o
obj String
"effect" (Maybe Effect
forall a. Maybe a
Nothing :: Maybe Clutter.Effect.Effect)
#if defined(ENABLE_OVERLOADING)
data ActorEffectPropertyInfo
instance AttrInfo ActorEffectPropertyInfo where
type AttrAllowedOps ActorEffectPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrClear]
type AttrBaseTypeConstraint ActorEffectPropertyInfo = IsActor
type AttrSetTypeConstraint ActorEffectPropertyInfo = Clutter.Effect.IsEffect
type AttrTransferTypeConstraint ActorEffectPropertyInfo = Clutter.Effect.IsEffect
type AttrTransferType ActorEffectPropertyInfo = Clutter.Effect.Effect
type AttrGetType ActorEffectPropertyInfo = ()
type AttrLabel ActorEffectPropertyInfo = "effect"
type AttrOrigin ActorEffectPropertyInfo = Actor
attrGet = undefined
attrSet = setActorEffect
attrTransfer _ v = do
unsafeCastTo Clutter.Effect.Effect v
attrConstruct = constructActorEffect
attrClear = clearActorEffect
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.effect"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:effect"
})
#endif
getActorFirstChild :: (MonadIO m, IsActor o) => o -> m Actor
getActorFirstChild :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m Actor
getActorFirstChild o
obj = IO Actor -> m Actor
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Actor -> m Actor) -> IO Actor -> m Actor
forall a b. (a -> b) -> a -> b
$ Text -> IO (Maybe Actor) -> IO Actor
forall a. HasCallStack => Text -> IO (Maybe a) -> IO a
checkUnexpectedNothing Text
"getActorFirstChild" (IO (Maybe Actor) -> IO Actor) -> IO (Maybe Actor) -> IO Actor
forall a b. (a -> b) -> a -> b
$ o -> String -> (ManagedPtr Actor -> Actor) -> IO (Maybe Actor)
forall a b.
(GObject a, GObject b) =>
a -> String -> (ManagedPtr b -> b) -> IO (Maybe b)
B.Properties.getObjectPropertyObject o
obj String
"first-child" ManagedPtr Actor -> Actor
Actor
#if defined(ENABLE_OVERLOADING)
data ActorFirstChildPropertyInfo
instance AttrInfo ActorFirstChildPropertyInfo where
type AttrAllowedOps ActorFirstChildPropertyInfo = '[ 'AttrGet, 'AttrClear]
type AttrBaseTypeConstraint ActorFirstChildPropertyInfo = IsActor
type AttrSetTypeConstraint ActorFirstChildPropertyInfo = (~) ()
type AttrTransferTypeConstraint ActorFirstChildPropertyInfo = (~) ()
type AttrTransferType ActorFirstChildPropertyInfo = ()
type AttrGetType ActorFirstChildPropertyInfo = Actor
type AttrLabel ActorFirstChildPropertyInfo = "first-child"
type AttrOrigin ActorFirstChildPropertyInfo = Actor
attrGet = getActorFirstChild
attrSet = undefined
attrTransfer _ = undefined
attrConstruct = undefined
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.firstChild"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:firstChild"
})
#endif
getActorFixedPositionSet :: (MonadIO m, IsActor o) => o -> m Bool
getActorFixedPositionSet :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m Bool
getActorFixedPositionSet o
obj = IO Bool -> m Bool
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Bool
forall a. GObject a => a -> String -> IO Bool
B.Properties.getObjectPropertyBool o
obj String
"fixed-position-set"
setActorFixedPositionSet :: (MonadIO m, IsActor o) => o -> Bool -> m ()
setActorFixedPositionSet :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> Bool -> m ()
setActorFixedPositionSet o
obj Bool
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Bool -> IO ()
forall a. GObject a => a -> String -> Bool -> IO ()
B.Properties.setObjectPropertyBool o
obj String
"fixed-position-set" Bool
val
constructActorFixedPositionSet :: (IsActor o, MIO.MonadIO m) => Bool -> m (GValueConstruct o)
constructActorFixedPositionSet :: forall o (m :: * -> *).
(IsActor o, MonadIO m) =>
Bool -> m (GValueConstruct o)
constructActorFixedPositionSet Bool
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Bool -> IO (GValueConstruct o)
forall o. String -> Bool -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyBool String
"fixed-position-set" Bool
val
#if defined(ENABLE_OVERLOADING)
data ActorFixedPositionSetPropertyInfo
instance AttrInfo ActorFixedPositionSetPropertyInfo where
type AttrAllowedOps ActorFixedPositionSetPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ActorFixedPositionSetPropertyInfo = IsActor
type AttrSetTypeConstraint ActorFixedPositionSetPropertyInfo = (~) Bool
type AttrTransferTypeConstraint ActorFixedPositionSetPropertyInfo = (~) Bool
type AttrTransferType ActorFixedPositionSetPropertyInfo = Bool
type AttrGetType ActorFixedPositionSetPropertyInfo = Bool
type AttrLabel ActorFixedPositionSetPropertyInfo = "fixed-position-set"
type AttrOrigin ActorFixedPositionSetPropertyInfo = Actor
attrGet = getActorFixedPositionSet
attrSet = setActorFixedPositionSet
attrTransfer _ v = do
return v
attrConstruct = constructActorFixedPositionSet
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.fixedPositionSet"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:fixedPositionSet"
})
#endif
getActorFixedX :: (MonadIO m, IsActor o) => o -> m Float
getActorFixedX :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m Float
getActorFixedX o
obj = IO Float -> m Float
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Float -> m Float) -> IO Float -> m Float
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Float
forall a. GObject a => a -> String -> IO Float
B.Properties.getObjectPropertyFloat o
obj String
"fixed-x"
setActorFixedX :: (MonadIO m, IsActor o) => o -> Float -> m ()
setActorFixedX :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> Float -> m ()
setActorFixedX o
obj Float
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Float -> IO ()
forall a. GObject a => a -> String -> Float -> IO ()
B.Properties.setObjectPropertyFloat o
obj String
"fixed-x" Float
val
constructActorFixedX :: (IsActor o, MIO.MonadIO m) => Float -> m (GValueConstruct o)
constructActorFixedX :: forall o (m :: * -> *).
(IsActor o, MonadIO m) =>
Float -> m (GValueConstruct o)
constructActorFixedX Float
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Float -> IO (GValueConstruct o)
forall o. String -> Float -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyFloat String
"fixed-x" Float
val
#if defined(ENABLE_OVERLOADING)
data ActorFixedXPropertyInfo
instance AttrInfo ActorFixedXPropertyInfo where
type AttrAllowedOps ActorFixedXPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ActorFixedXPropertyInfo = IsActor
type AttrSetTypeConstraint ActorFixedXPropertyInfo = (~) Float
type AttrTransferTypeConstraint ActorFixedXPropertyInfo = (~) Float
type AttrTransferType ActorFixedXPropertyInfo = Float
type AttrGetType ActorFixedXPropertyInfo = Float
type AttrLabel ActorFixedXPropertyInfo = "fixed-x"
type AttrOrigin ActorFixedXPropertyInfo = Actor
attrGet = getActorFixedX
attrSet = setActorFixedX
attrTransfer _ v = do
return v
attrConstruct = constructActorFixedX
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.fixedX"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:fixedX"
})
#endif
getActorFixedY :: (MonadIO m, IsActor o) => o -> m Float
getActorFixedY :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m Float
getActorFixedY o
obj = IO Float -> m Float
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Float -> m Float) -> IO Float -> m Float
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Float
forall a. GObject a => a -> String -> IO Float
B.Properties.getObjectPropertyFloat o
obj String
"fixed-y"
setActorFixedY :: (MonadIO m, IsActor o) => o -> Float -> m ()
setActorFixedY :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> Float -> m ()
setActorFixedY o
obj Float
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Float -> IO ()
forall a. GObject a => a -> String -> Float -> IO ()
B.Properties.setObjectPropertyFloat o
obj String
"fixed-y" Float
val
constructActorFixedY :: (IsActor o, MIO.MonadIO m) => Float -> m (GValueConstruct o)
constructActorFixedY :: forall o (m :: * -> *).
(IsActor o, MonadIO m) =>
Float -> m (GValueConstruct o)
constructActorFixedY Float
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Float -> IO (GValueConstruct o)
forall o. String -> Float -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyFloat String
"fixed-y" Float
val
#if defined(ENABLE_OVERLOADING)
data ActorFixedYPropertyInfo
instance AttrInfo ActorFixedYPropertyInfo where
type AttrAllowedOps ActorFixedYPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ActorFixedYPropertyInfo = IsActor
type AttrSetTypeConstraint ActorFixedYPropertyInfo = (~) Float
type AttrTransferTypeConstraint ActorFixedYPropertyInfo = (~) Float
type AttrTransferType ActorFixedYPropertyInfo = Float
type AttrGetType ActorFixedYPropertyInfo = Float
type AttrLabel ActorFixedYPropertyInfo = "fixed-y"
type AttrOrigin ActorFixedYPropertyInfo = Actor
attrGet = getActorFixedY
attrSet = setActorFixedY
attrTransfer _ v = do
return v
attrConstruct = constructActorFixedY
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.fixedY"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:fixedY"
})
#endif
getActorHasClip :: (MonadIO m, IsActor o) => o -> m Bool
getActorHasClip :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m Bool
getActorHasClip o
obj = IO Bool -> m Bool
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Bool
forall a. GObject a => a -> String -> IO Bool
B.Properties.getObjectPropertyBool o
obj String
"has-clip"
#if defined(ENABLE_OVERLOADING)
data ActorHasClipPropertyInfo
instance AttrInfo ActorHasClipPropertyInfo where
type AttrAllowedOps ActorHasClipPropertyInfo = '[ 'AttrGet]
type AttrBaseTypeConstraint ActorHasClipPropertyInfo = IsActor
type AttrSetTypeConstraint ActorHasClipPropertyInfo = (~) ()
type AttrTransferTypeConstraint ActorHasClipPropertyInfo = (~) ()
type AttrTransferType ActorHasClipPropertyInfo = ()
type AttrGetType ActorHasClipPropertyInfo = Bool
type AttrLabel ActorHasClipPropertyInfo = "has-clip"
type AttrOrigin ActorHasClipPropertyInfo = Actor
attrGet = getActorHasClip
attrSet = undefined
attrTransfer _ = undefined
attrConstruct = undefined
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.hasClip"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:hasClip"
})
#endif
getActorHasPointer :: (MonadIO m, IsActor o) => o -> m Bool
getActorHasPointer :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m Bool
getActorHasPointer o
obj = IO Bool -> m Bool
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Bool
forall a. GObject a => a -> String -> IO Bool
B.Properties.getObjectPropertyBool o
obj String
"has-pointer"
#if defined(ENABLE_OVERLOADING)
data ActorHasPointerPropertyInfo
instance AttrInfo ActorHasPointerPropertyInfo where
type AttrAllowedOps ActorHasPointerPropertyInfo = '[ 'AttrGet]
type AttrBaseTypeConstraint ActorHasPointerPropertyInfo = IsActor
type AttrSetTypeConstraint ActorHasPointerPropertyInfo = (~) ()
type AttrTransferTypeConstraint ActorHasPointerPropertyInfo = (~) ()
type AttrTransferType ActorHasPointerPropertyInfo = ()
type AttrGetType ActorHasPointerPropertyInfo = Bool
type AttrLabel ActorHasPointerPropertyInfo = "has-pointer"
type AttrOrigin ActorHasPointerPropertyInfo = Actor
attrGet = getActorHasPointer
attrSet = undefined
attrTransfer _ = undefined
attrConstruct = undefined
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.hasPointer"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:hasPointer"
})
#endif
getActorHeight :: (MonadIO m, IsActor o) => o -> m Float
getActorHeight :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m Float
getActorHeight o
obj = IO Float -> m Float
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Float -> m Float) -> IO Float -> m Float
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Float
forall a. GObject a => a -> String -> IO Float
B.Properties.getObjectPropertyFloat o
obj String
"height"
setActorHeight :: (MonadIO m, IsActor o) => o -> Float -> m ()
setActorHeight :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> Float -> m ()
setActorHeight o
obj Float
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Float -> IO ()
forall a. GObject a => a -> String -> Float -> IO ()
B.Properties.setObjectPropertyFloat o
obj String
"height" Float
val
constructActorHeight :: (IsActor o, MIO.MonadIO m) => Float -> m (GValueConstruct o)
constructActorHeight :: forall o (m :: * -> *).
(IsActor o, MonadIO m) =>
Float -> m (GValueConstruct o)
constructActorHeight Float
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Float -> IO (GValueConstruct o)
forall o. String -> Float -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyFloat String
"height" Float
val
#if defined(ENABLE_OVERLOADING)
data ActorHeightPropertyInfo
instance AttrInfo ActorHeightPropertyInfo where
type AttrAllowedOps ActorHeightPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ActorHeightPropertyInfo = IsActor
type AttrSetTypeConstraint ActorHeightPropertyInfo = (~) Float
type AttrTransferTypeConstraint ActorHeightPropertyInfo = (~) Float
type AttrTransferType ActorHeightPropertyInfo = Float
type AttrGetType ActorHeightPropertyInfo = Float
type AttrLabel ActorHeightPropertyInfo = "height"
type AttrOrigin ActorHeightPropertyInfo = Actor
attrGet = getActorHeight
attrSet = setActorHeight
attrTransfer _ v = do
return v
attrConstruct = constructActorHeight
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.height"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:height"
})
#endif
getActorLastChild :: (MonadIO m, IsActor o) => o -> m Actor
getActorLastChild :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m Actor
getActorLastChild o
obj = IO Actor -> m Actor
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Actor -> m Actor) -> IO Actor -> m Actor
forall a b. (a -> b) -> a -> b
$ Text -> IO (Maybe Actor) -> IO Actor
forall a. HasCallStack => Text -> IO (Maybe a) -> IO a
checkUnexpectedNothing Text
"getActorLastChild" (IO (Maybe Actor) -> IO Actor) -> IO (Maybe Actor) -> IO Actor
forall a b. (a -> b) -> a -> b
$ o -> String -> (ManagedPtr Actor -> Actor) -> IO (Maybe Actor)
forall a b.
(GObject a, GObject b) =>
a -> String -> (ManagedPtr b -> b) -> IO (Maybe b)
B.Properties.getObjectPropertyObject o
obj String
"last-child" ManagedPtr Actor -> Actor
Actor
#if defined(ENABLE_OVERLOADING)
data ActorLastChildPropertyInfo
instance AttrInfo ActorLastChildPropertyInfo where
type AttrAllowedOps ActorLastChildPropertyInfo = '[ 'AttrGet, 'AttrClear]
type AttrBaseTypeConstraint ActorLastChildPropertyInfo = IsActor
type AttrSetTypeConstraint ActorLastChildPropertyInfo = (~) ()
type AttrTransferTypeConstraint ActorLastChildPropertyInfo = (~) ()
type AttrTransferType ActorLastChildPropertyInfo = ()
type AttrGetType ActorLastChildPropertyInfo = Actor
type AttrLabel ActorLastChildPropertyInfo = "last-child"
type AttrOrigin ActorLastChildPropertyInfo = Actor
attrGet = getActorLastChild
attrSet = undefined
attrTransfer _ = undefined
attrConstruct = undefined
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.lastChild"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:lastChild"
})
#endif
getActorLayoutManager :: (MonadIO m, IsActor o) => o -> m Clutter.LayoutManager.LayoutManager
getActorLayoutManager :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> m LayoutManager
getActorLayoutManager o
obj = IO LayoutManager -> m LayoutManager
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO LayoutManager -> m LayoutManager)
-> IO LayoutManager -> m LayoutManager
forall a b. (a -> b) -> a -> b
$ Text -> IO (Maybe LayoutManager) -> IO LayoutManager
forall a. HasCallStack => Text -> IO (Maybe a) -> IO a
checkUnexpectedNothing Text
"getActorLayoutManager" (IO (Maybe LayoutManager) -> IO LayoutManager)
-> IO (Maybe LayoutManager) -> IO LayoutManager
forall a b. (a -> b) -> a -> b
$ o
-> String
-> (ManagedPtr LayoutManager -> LayoutManager)
-> IO (Maybe LayoutManager)
forall a b.
(GObject a, GObject b) =>
a -> String -> (ManagedPtr b -> b) -> IO (Maybe b)
B.Properties.getObjectPropertyObject o
obj String
"layout-manager" ManagedPtr LayoutManager -> LayoutManager
Clutter.LayoutManager.LayoutManager
setActorLayoutManager :: (MonadIO m, IsActor o, Clutter.LayoutManager.IsLayoutManager a) => o -> a -> m ()
setActorLayoutManager :: forall (m :: * -> *) o a.
(MonadIO m, IsActor o, IsLayoutManager a) =>
o -> a -> m ()
setActorLayoutManager o
obj a
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Maybe a -> IO ()
forall a b.
(GObject a, GObject b) =>
a -> String -> Maybe b -> IO ()
B.Properties.setObjectPropertyObject o
obj String
"layout-manager" (a -> Maybe a
forall a. a -> Maybe a
Just a
val)
constructActorLayoutManager :: (IsActor o, MIO.MonadIO m, Clutter.LayoutManager.IsLayoutManager a) => a -> m (GValueConstruct o)
constructActorLayoutManager :: forall o (m :: * -> *) a.
(IsActor o, MonadIO m, IsLayoutManager a) =>
a -> m (GValueConstruct o)
constructActorLayoutManager a
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Maybe a -> IO (GValueConstruct o)
forall a o.
GObject a =>
String -> Maybe a -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyObject String
"layout-manager" (a -> Maybe a
forall a. a -> Maybe a
P.Just a
val)
clearActorLayoutManager :: (MonadIO m, IsActor o) => o -> m ()
clearActorLayoutManager :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m ()
clearActorLayoutManager o
obj = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ o -> String -> Maybe LayoutManager -> IO ()
forall a b.
(GObject a, GObject b) =>
a -> String -> Maybe b -> IO ()
B.Properties.setObjectPropertyObject o
obj String
"layout-manager" (Maybe LayoutManager
forall a. Maybe a
Nothing :: Maybe Clutter.LayoutManager.LayoutManager)
#if defined(ENABLE_OVERLOADING)
data ActorLayoutManagerPropertyInfo
instance AttrInfo ActorLayoutManagerPropertyInfo where
type AttrAllowedOps ActorLayoutManagerPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet, 'AttrClear]
type AttrBaseTypeConstraint ActorLayoutManagerPropertyInfo = IsActor
type AttrSetTypeConstraint ActorLayoutManagerPropertyInfo = Clutter.LayoutManager.IsLayoutManager
type AttrTransferTypeConstraint ActorLayoutManagerPropertyInfo = Clutter.LayoutManager.IsLayoutManager
type AttrTransferType ActorLayoutManagerPropertyInfo = Clutter.LayoutManager.LayoutManager
type AttrGetType ActorLayoutManagerPropertyInfo = Clutter.LayoutManager.LayoutManager
type AttrLabel ActorLayoutManagerPropertyInfo = "layout-manager"
type AttrOrigin ActorLayoutManagerPropertyInfo = Actor
attrGet = getActorLayoutManager
attrSet = setActorLayoutManager
attrTransfer _ v = do
unsafeCastTo Clutter.LayoutManager.LayoutManager v
attrConstruct = constructActorLayoutManager
attrClear = clearActorLayoutManager
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.layoutManager"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:layoutManager"
})
#endif
getActorMagnificationFilter :: (MonadIO m, IsActor o) => o -> m Clutter.Enums.ScalingFilter
getActorMagnificationFilter :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> m ScalingFilter
getActorMagnificationFilter o
obj = IO ScalingFilter -> m ScalingFilter
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO ScalingFilter -> m ScalingFilter)
-> IO ScalingFilter -> m ScalingFilter
forall a b. (a -> b) -> a -> b
$ o -> String -> IO ScalingFilter
forall a b. (GObject a, Enum b, BoxedEnum b) => a -> String -> IO b
B.Properties.getObjectPropertyEnum o
obj String
"magnification-filter"
setActorMagnificationFilter :: (MonadIO m, IsActor o) => o -> Clutter.Enums.ScalingFilter -> m ()
setActorMagnificationFilter :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> ScalingFilter -> m ()
setActorMagnificationFilter o
obj ScalingFilter
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> ScalingFilter -> IO ()
forall a b.
(GObject a, Enum b, BoxedEnum b) =>
a -> String -> b -> IO ()
B.Properties.setObjectPropertyEnum o
obj String
"magnification-filter" ScalingFilter
val
constructActorMagnificationFilter :: (IsActor o, MIO.MonadIO m) => Clutter.Enums.ScalingFilter -> m (GValueConstruct o)
constructActorMagnificationFilter :: forall o (m :: * -> *).
(IsActor o, MonadIO m) =>
ScalingFilter -> m (GValueConstruct o)
constructActorMagnificationFilter ScalingFilter
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> ScalingFilter -> IO (GValueConstruct o)
forall a o.
(Enum a, BoxedEnum a) =>
String -> a -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyEnum String
"magnification-filter" ScalingFilter
val
#if defined(ENABLE_OVERLOADING)
data ActorMagnificationFilterPropertyInfo
instance AttrInfo ActorMagnificationFilterPropertyInfo where
type AttrAllowedOps ActorMagnificationFilterPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ActorMagnificationFilterPropertyInfo = IsActor
type AttrSetTypeConstraint ActorMagnificationFilterPropertyInfo = (~) Clutter.Enums.ScalingFilter
type AttrTransferTypeConstraint ActorMagnificationFilterPropertyInfo = (~) Clutter.Enums.ScalingFilter
type AttrTransferType ActorMagnificationFilterPropertyInfo = Clutter.Enums.ScalingFilter
type AttrGetType ActorMagnificationFilterPropertyInfo = Clutter.Enums.ScalingFilter
type AttrLabel ActorMagnificationFilterPropertyInfo = "magnification-filter"
type AttrOrigin ActorMagnificationFilterPropertyInfo = Actor
attrGet = getActorMagnificationFilter
attrSet = setActorMagnificationFilter
attrTransfer _ v = do
return v
attrConstruct = constructActorMagnificationFilter
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.magnificationFilter"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:magnificationFilter"
})
#endif
getActorMapped :: (MonadIO m, IsActor o) => o -> m Bool
getActorMapped :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m Bool
getActorMapped o
obj = IO Bool -> m Bool
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Bool
forall a. GObject a => a -> String -> IO Bool
B.Properties.getObjectPropertyBool o
obj String
"mapped"
#if defined(ENABLE_OVERLOADING)
data ActorMappedPropertyInfo
instance AttrInfo ActorMappedPropertyInfo where
type AttrAllowedOps ActorMappedPropertyInfo = '[ 'AttrGet]
type AttrBaseTypeConstraint ActorMappedPropertyInfo = IsActor
type AttrSetTypeConstraint ActorMappedPropertyInfo = (~) ()
type AttrTransferTypeConstraint ActorMappedPropertyInfo = (~) ()
type AttrTransferType ActorMappedPropertyInfo = ()
type AttrGetType ActorMappedPropertyInfo = Bool
type AttrLabel ActorMappedPropertyInfo = "mapped"
type AttrOrigin ActorMappedPropertyInfo = Actor
attrGet = getActorMapped
attrSet = undefined
attrTransfer _ = undefined
attrConstruct = undefined
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.mapped"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:mapped"
})
#endif
getActorMarginBottom :: (MonadIO m, IsActor o) => o -> m Float
getActorMarginBottom :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m Float
getActorMarginBottom o
obj = IO Float -> m Float
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Float -> m Float) -> IO Float -> m Float
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Float
forall a. GObject a => a -> String -> IO Float
B.Properties.getObjectPropertyFloat o
obj String
"margin-bottom"
setActorMarginBottom :: (MonadIO m, IsActor o) => o -> Float -> m ()
setActorMarginBottom :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> Float -> m ()
setActorMarginBottom o
obj Float
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Float -> IO ()
forall a. GObject a => a -> String -> Float -> IO ()
B.Properties.setObjectPropertyFloat o
obj String
"margin-bottom" Float
val
constructActorMarginBottom :: (IsActor o, MIO.MonadIO m) => Float -> m (GValueConstruct o)
constructActorMarginBottom :: forall o (m :: * -> *).
(IsActor o, MonadIO m) =>
Float -> m (GValueConstruct o)
constructActorMarginBottom Float
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Float -> IO (GValueConstruct o)
forall o. String -> Float -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyFloat String
"margin-bottom" Float
val
#if defined(ENABLE_OVERLOADING)
data ActorMarginBottomPropertyInfo
instance AttrInfo ActorMarginBottomPropertyInfo where
type AttrAllowedOps ActorMarginBottomPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ActorMarginBottomPropertyInfo = IsActor
type AttrSetTypeConstraint ActorMarginBottomPropertyInfo = (~) Float
type AttrTransferTypeConstraint ActorMarginBottomPropertyInfo = (~) Float
type AttrTransferType ActorMarginBottomPropertyInfo = Float
type AttrGetType ActorMarginBottomPropertyInfo = Float
type AttrLabel ActorMarginBottomPropertyInfo = "margin-bottom"
type AttrOrigin ActorMarginBottomPropertyInfo = Actor
attrGet = getActorMarginBottom
attrSet = setActorMarginBottom
attrTransfer _ v = do
return v
attrConstruct = constructActorMarginBottom
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.marginBottom"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:marginBottom"
})
#endif
getActorMarginLeft :: (MonadIO m, IsActor o) => o -> m Float
getActorMarginLeft :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m Float
getActorMarginLeft o
obj = IO Float -> m Float
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Float -> m Float) -> IO Float -> m Float
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Float
forall a. GObject a => a -> String -> IO Float
B.Properties.getObjectPropertyFloat o
obj String
"margin-left"
setActorMarginLeft :: (MonadIO m, IsActor o) => o -> Float -> m ()
setActorMarginLeft :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> Float -> m ()
setActorMarginLeft o
obj Float
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Float -> IO ()
forall a. GObject a => a -> String -> Float -> IO ()
B.Properties.setObjectPropertyFloat o
obj String
"margin-left" Float
val
constructActorMarginLeft :: (IsActor o, MIO.MonadIO m) => Float -> m (GValueConstruct o)
constructActorMarginLeft :: forall o (m :: * -> *).
(IsActor o, MonadIO m) =>
Float -> m (GValueConstruct o)
constructActorMarginLeft Float
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Float -> IO (GValueConstruct o)
forall o. String -> Float -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyFloat String
"margin-left" Float
val
#if defined(ENABLE_OVERLOADING)
data ActorMarginLeftPropertyInfo
instance AttrInfo ActorMarginLeftPropertyInfo where
type AttrAllowedOps ActorMarginLeftPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ActorMarginLeftPropertyInfo = IsActor
type AttrSetTypeConstraint ActorMarginLeftPropertyInfo = (~) Float
type AttrTransferTypeConstraint ActorMarginLeftPropertyInfo = (~) Float
type AttrTransferType ActorMarginLeftPropertyInfo = Float
type AttrGetType ActorMarginLeftPropertyInfo = Float
type AttrLabel ActorMarginLeftPropertyInfo = "margin-left"
type AttrOrigin ActorMarginLeftPropertyInfo = Actor
attrGet = getActorMarginLeft
attrSet = setActorMarginLeft
attrTransfer _ v = do
return v
attrConstruct = constructActorMarginLeft
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.marginLeft"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:marginLeft"
})
#endif
getActorMarginRight :: (MonadIO m, IsActor o) => o -> m Float
getActorMarginRight :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m Float
getActorMarginRight o
obj = IO Float -> m Float
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Float -> m Float) -> IO Float -> m Float
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Float
forall a. GObject a => a -> String -> IO Float
B.Properties.getObjectPropertyFloat o
obj String
"margin-right"
setActorMarginRight :: (MonadIO m, IsActor o) => o -> Float -> m ()
setActorMarginRight :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> Float -> m ()
setActorMarginRight o
obj Float
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Float -> IO ()
forall a. GObject a => a -> String -> Float -> IO ()
B.Properties.setObjectPropertyFloat o
obj String
"margin-right" Float
val
constructActorMarginRight :: (IsActor o, MIO.MonadIO m) => Float -> m (GValueConstruct o)
constructActorMarginRight :: forall o (m :: * -> *).
(IsActor o, MonadIO m) =>
Float -> m (GValueConstruct o)
constructActorMarginRight Float
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Float -> IO (GValueConstruct o)
forall o. String -> Float -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyFloat String
"margin-right" Float
val
#if defined(ENABLE_OVERLOADING)
data ActorMarginRightPropertyInfo
instance AttrInfo ActorMarginRightPropertyInfo where
type AttrAllowedOps ActorMarginRightPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ActorMarginRightPropertyInfo = IsActor
type AttrSetTypeConstraint ActorMarginRightPropertyInfo = (~) Float
type AttrTransferTypeConstraint ActorMarginRightPropertyInfo = (~) Float
type AttrTransferType ActorMarginRightPropertyInfo = Float
type AttrGetType ActorMarginRightPropertyInfo = Float
type AttrLabel ActorMarginRightPropertyInfo = "margin-right"
type AttrOrigin ActorMarginRightPropertyInfo = Actor
attrGet = getActorMarginRight
attrSet = setActorMarginRight
attrTransfer _ v = do
return v
attrConstruct = constructActorMarginRight
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.marginRight"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:marginRight"
})
#endif
getActorMarginTop :: (MonadIO m, IsActor o) => o -> m Float
getActorMarginTop :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m Float
getActorMarginTop o
obj = IO Float -> m Float
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Float -> m Float) -> IO Float -> m Float
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Float
forall a. GObject a => a -> String -> IO Float
B.Properties.getObjectPropertyFloat o
obj String
"margin-top"
setActorMarginTop :: (MonadIO m, IsActor o) => o -> Float -> m ()
setActorMarginTop :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> Float -> m ()
setActorMarginTop o
obj Float
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Float -> IO ()
forall a. GObject a => a -> String -> Float -> IO ()
B.Properties.setObjectPropertyFloat o
obj String
"margin-top" Float
val
constructActorMarginTop :: (IsActor o, MIO.MonadIO m) => Float -> m (GValueConstruct o)
constructActorMarginTop :: forall o (m :: * -> *).
(IsActor o, MonadIO m) =>
Float -> m (GValueConstruct o)
constructActorMarginTop Float
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Float -> IO (GValueConstruct o)
forall o. String -> Float -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyFloat String
"margin-top" Float
val
#if defined(ENABLE_OVERLOADING)
data ActorMarginTopPropertyInfo
instance AttrInfo ActorMarginTopPropertyInfo where
type AttrAllowedOps ActorMarginTopPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ActorMarginTopPropertyInfo = IsActor
type AttrSetTypeConstraint ActorMarginTopPropertyInfo = (~) Float
type AttrTransferTypeConstraint ActorMarginTopPropertyInfo = (~) Float
type AttrTransferType ActorMarginTopPropertyInfo = Float
type AttrGetType ActorMarginTopPropertyInfo = Float
type AttrLabel ActorMarginTopPropertyInfo = "margin-top"
type AttrOrigin ActorMarginTopPropertyInfo = Actor
attrGet = getActorMarginTop
attrSet = setActorMarginTop
attrTransfer _ v = do
return v
attrConstruct = constructActorMarginTop
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.marginTop"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:marginTop"
})
#endif
getActorMinHeight :: (MonadIO m, IsActor o) => o -> m Float
getActorMinHeight :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m Float
getActorMinHeight o
obj = IO Float -> m Float
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Float -> m Float) -> IO Float -> m Float
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Float
forall a. GObject a => a -> String -> IO Float
B.Properties.getObjectPropertyFloat o
obj String
"min-height"
setActorMinHeight :: (MonadIO m, IsActor o) => o -> Float -> m ()
setActorMinHeight :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> Float -> m ()
setActorMinHeight o
obj Float
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Float -> IO ()
forall a. GObject a => a -> String -> Float -> IO ()
B.Properties.setObjectPropertyFloat o
obj String
"min-height" Float
val
constructActorMinHeight :: (IsActor o, MIO.MonadIO m) => Float -> m (GValueConstruct o)
constructActorMinHeight :: forall o (m :: * -> *).
(IsActor o, MonadIO m) =>
Float -> m (GValueConstruct o)
constructActorMinHeight Float
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Float -> IO (GValueConstruct o)
forall o. String -> Float -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyFloat String
"min-height" Float
val
#if defined(ENABLE_OVERLOADING)
data ActorMinHeightPropertyInfo
instance AttrInfo ActorMinHeightPropertyInfo where
type AttrAllowedOps ActorMinHeightPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ActorMinHeightPropertyInfo = IsActor
type AttrSetTypeConstraint ActorMinHeightPropertyInfo = (~) Float
type AttrTransferTypeConstraint ActorMinHeightPropertyInfo = (~) Float
type AttrTransferType ActorMinHeightPropertyInfo = Float
type AttrGetType ActorMinHeightPropertyInfo = Float
type AttrLabel ActorMinHeightPropertyInfo = "min-height"
type AttrOrigin ActorMinHeightPropertyInfo = Actor
attrGet = getActorMinHeight
attrSet = setActorMinHeight
attrTransfer _ v = do
return v
attrConstruct = constructActorMinHeight
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.minHeight"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:minHeight"
})
#endif
getActorMinHeightSet :: (MonadIO m, IsActor o) => o -> m Bool
getActorMinHeightSet :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m Bool
getActorMinHeightSet o
obj = IO Bool -> m Bool
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Bool
forall a. GObject a => a -> String -> IO Bool
B.Properties.getObjectPropertyBool o
obj String
"min-height-set"
setActorMinHeightSet :: (MonadIO m, IsActor o) => o -> Bool -> m ()
setActorMinHeightSet :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> Bool -> m ()
setActorMinHeightSet o
obj Bool
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Bool -> IO ()
forall a. GObject a => a -> String -> Bool -> IO ()
B.Properties.setObjectPropertyBool o
obj String
"min-height-set" Bool
val
constructActorMinHeightSet :: (IsActor o, MIO.MonadIO m) => Bool -> m (GValueConstruct o)
constructActorMinHeightSet :: forall o (m :: * -> *).
(IsActor o, MonadIO m) =>
Bool -> m (GValueConstruct o)
constructActorMinHeightSet Bool
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Bool -> IO (GValueConstruct o)
forall o. String -> Bool -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyBool String
"min-height-set" Bool
val
#if defined(ENABLE_OVERLOADING)
data ActorMinHeightSetPropertyInfo
instance AttrInfo ActorMinHeightSetPropertyInfo where
type AttrAllowedOps ActorMinHeightSetPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ActorMinHeightSetPropertyInfo = IsActor
type AttrSetTypeConstraint ActorMinHeightSetPropertyInfo = (~) Bool
type AttrTransferTypeConstraint ActorMinHeightSetPropertyInfo = (~) Bool
type AttrTransferType ActorMinHeightSetPropertyInfo = Bool
type AttrGetType ActorMinHeightSetPropertyInfo = Bool
type AttrLabel ActorMinHeightSetPropertyInfo = "min-height-set"
type AttrOrigin ActorMinHeightSetPropertyInfo = Actor
attrGet = getActorMinHeightSet
attrSet = setActorMinHeightSet
attrTransfer _ v = do
return v
attrConstruct = constructActorMinHeightSet
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.minHeightSet"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:minHeightSet"
})
#endif
getActorMinWidth :: (MonadIO m, IsActor o) => o -> m Float
getActorMinWidth :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m Float
getActorMinWidth o
obj = IO Float -> m Float
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Float -> m Float) -> IO Float -> m Float
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Float
forall a. GObject a => a -> String -> IO Float
B.Properties.getObjectPropertyFloat o
obj String
"min-width"
setActorMinWidth :: (MonadIO m, IsActor o) => o -> Float -> m ()
setActorMinWidth :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> Float -> m ()
setActorMinWidth o
obj Float
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Float -> IO ()
forall a. GObject a => a -> String -> Float -> IO ()
B.Properties.setObjectPropertyFloat o
obj String
"min-width" Float
val
constructActorMinWidth :: (IsActor o, MIO.MonadIO m) => Float -> m (GValueConstruct o)
constructActorMinWidth :: forall o (m :: * -> *).
(IsActor o, MonadIO m) =>
Float -> m (GValueConstruct o)
constructActorMinWidth Float
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Float -> IO (GValueConstruct o)
forall o. String -> Float -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyFloat String
"min-width" Float
val
#if defined(ENABLE_OVERLOADING)
data ActorMinWidthPropertyInfo
instance AttrInfo ActorMinWidthPropertyInfo where
type AttrAllowedOps ActorMinWidthPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ActorMinWidthPropertyInfo = IsActor
type AttrSetTypeConstraint ActorMinWidthPropertyInfo = (~) Float
type AttrTransferTypeConstraint ActorMinWidthPropertyInfo = (~) Float
type AttrTransferType ActorMinWidthPropertyInfo = Float
type AttrGetType ActorMinWidthPropertyInfo = Float
type AttrLabel ActorMinWidthPropertyInfo = "min-width"
type AttrOrigin ActorMinWidthPropertyInfo = Actor
attrGet = getActorMinWidth
attrSet = setActorMinWidth
attrTransfer _ v = do
return v
attrConstruct = constructActorMinWidth
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.minWidth"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:minWidth"
})
#endif
getActorMinWidthSet :: (MonadIO m, IsActor o) => o -> m Bool
getActorMinWidthSet :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m Bool
getActorMinWidthSet o
obj = IO Bool -> m Bool
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Bool
forall a. GObject a => a -> String -> IO Bool
B.Properties.getObjectPropertyBool o
obj String
"min-width-set"
setActorMinWidthSet :: (MonadIO m, IsActor o) => o -> Bool -> m ()
setActorMinWidthSet :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> Bool -> m ()
setActorMinWidthSet o
obj Bool
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Bool -> IO ()
forall a. GObject a => a -> String -> Bool -> IO ()
B.Properties.setObjectPropertyBool o
obj String
"min-width-set" Bool
val
constructActorMinWidthSet :: (IsActor o, MIO.MonadIO m) => Bool -> m (GValueConstruct o)
constructActorMinWidthSet :: forall o (m :: * -> *).
(IsActor o, MonadIO m) =>
Bool -> m (GValueConstruct o)
constructActorMinWidthSet Bool
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Bool -> IO (GValueConstruct o)
forall o. String -> Bool -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyBool String
"min-width-set" Bool
val
#if defined(ENABLE_OVERLOADING)
data ActorMinWidthSetPropertyInfo
instance AttrInfo ActorMinWidthSetPropertyInfo where
type AttrAllowedOps ActorMinWidthSetPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ActorMinWidthSetPropertyInfo = IsActor
type AttrSetTypeConstraint ActorMinWidthSetPropertyInfo = (~) Bool
type AttrTransferTypeConstraint ActorMinWidthSetPropertyInfo = (~) Bool
type AttrTransferType ActorMinWidthSetPropertyInfo = Bool
type AttrGetType ActorMinWidthSetPropertyInfo = Bool
type AttrLabel ActorMinWidthSetPropertyInfo = "min-width-set"
type AttrOrigin ActorMinWidthSetPropertyInfo = Actor
attrGet = getActorMinWidthSet
attrSet = setActorMinWidthSet
attrTransfer _ v = do
return v
attrConstruct = constructActorMinWidthSet
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.minWidthSet"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:minWidthSet"
})
#endif
getActorMinificationFilter :: (MonadIO m, IsActor o) => o -> m Clutter.Enums.ScalingFilter
getActorMinificationFilter :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> m ScalingFilter
getActorMinificationFilter o
obj = IO ScalingFilter -> m ScalingFilter
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO ScalingFilter -> m ScalingFilter)
-> IO ScalingFilter -> m ScalingFilter
forall a b. (a -> b) -> a -> b
$ o -> String -> IO ScalingFilter
forall a b. (GObject a, Enum b, BoxedEnum b) => a -> String -> IO b
B.Properties.getObjectPropertyEnum o
obj String
"minification-filter"
setActorMinificationFilter :: (MonadIO m, IsActor o) => o -> Clutter.Enums.ScalingFilter -> m ()
setActorMinificationFilter :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> ScalingFilter -> m ()
setActorMinificationFilter o
obj ScalingFilter
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> ScalingFilter -> IO ()
forall a b.
(GObject a, Enum b, BoxedEnum b) =>
a -> String -> b -> IO ()
B.Properties.setObjectPropertyEnum o
obj String
"minification-filter" ScalingFilter
val
constructActorMinificationFilter :: (IsActor o, MIO.MonadIO m) => Clutter.Enums.ScalingFilter -> m (GValueConstruct o)
constructActorMinificationFilter :: forall o (m :: * -> *).
(IsActor o, MonadIO m) =>
ScalingFilter -> m (GValueConstruct o)
constructActorMinificationFilter ScalingFilter
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> ScalingFilter -> IO (GValueConstruct o)
forall a o.
(Enum a, BoxedEnum a) =>
String -> a -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyEnum String
"minification-filter" ScalingFilter
val
#if defined(ENABLE_OVERLOADING)
data ActorMinificationFilterPropertyInfo
instance AttrInfo ActorMinificationFilterPropertyInfo where
type AttrAllowedOps ActorMinificationFilterPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ActorMinificationFilterPropertyInfo = IsActor
type AttrSetTypeConstraint ActorMinificationFilterPropertyInfo = (~) Clutter.Enums.ScalingFilter
type AttrTransferTypeConstraint ActorMinificationFilterPropertyInfo = (~) Clutter.Enums.ScalingFilter
type AttrTransferType ActorMinificationFilterPropertyInfo = Clutter.Enums.ScalingFilter
type AttrGetType ActorMinificationFilterPropertyInfo = Clutter.Enums.ScalingFilter
type AttrLabel ActorMinificationFilterPropertyInfo = "minification-filter"
type AttrOrigin ActorMinificationFilterPropertyInfo = Actor
attrGet = getActorMinificationFilter
attrSet = setActorMinificationFilter
attrTransfer _ v = do
return v
attrConstruct = constructActorMinificationFilter
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.minificationFilter"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:minificationFilter"
})
#endif
getActorName :: (MonadIO m, IsActor o) => o -> m T.Text
getActorName :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m Text
getActorName o
obj = IO Text -> m Text
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Text -> m Text) -> IO Text -> m Text
forall a b. (a -> b) -> a -> b
$ Text -> IO (Maybe Text) -> IO Text
forall a. HasCallStack => Text -> IO (Maybe a) -> IO a
checkUnexpectedNothing Text
"getActorName" (IO (Maybe Text) -> IO Text) -> IO (Maybe Text) -> IO Text
forall a b. (a -> b) -> a -> b
$ o -> String -> IO (Maybe Text)
forall a. GObject a => a -> String -> IO (Maybe Text)
B.Properties.getObjectPropertyString o
obj String
"name"
setActorName :: (MonadIO m, IsActor o) => o -> T.Text -> m ()
setActorName :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> Text -> m ()
setActorName o
obj Text
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Maybe Text -> IO ()
forall a. GObject a => a -> String -> Maybe Text -> IO ()
B.Properties.setObjectPropertyString o
obj String
"name" (Text -> Maybe Text
forall a. a -> Maybe a
Just Text
val)
constructActorName :: (IsActor o, MIO.MonadIO m) => T.Text -> m (GValueConstruct o)
constructActorName :: forall o (m :: * -> *).
(IsActor o, MonadIO m) =>
Text -> m (GValueConstruct o)
constructActorName Text
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Maybe Text -> IO (GValueConstruct o)
forall o. String -> Maybe Text -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyString String
"name" (Text -> Maybe Text
forall a. a -> Maybe a
P.Just Text
val)
#if defined(ENABLE_OVERLOADING)
data ActorNamePropertyInfo
instance AttrInfo ActorNamePropertyInfo where
type AttrAllowedOps ActorNamePropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ActorNamePropertyInfo = IsActor
type AttrSetTypeConstraint ActorNamePropertyInfo = (~) T.Text
type AttrTransferTypeConstraint ActorNamePropertyInfo = (~) T.Text
type AttrTransferType ActorNamePropertyInfo = T.Text
type AttrGetType ActorNamePropertyInfo = T.Text
type AttrLabel ActorNamePropertyInfo = "name"
type AttrOrigin ActorNamePropertyInfo = Actor
attrGet = getActorName
attrSet = setActorName
attrTransfer _ v = do
return v
attrConstruct = constructActorName
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.name"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:name"
})
#endif
getActorNaturalHeight :: (MonadIO m, IsActor o) => o -> m Float
getActorNaturalHeight :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m Float
getActorNaturalHeight o
obj = IO Float -> m Float
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Float -> m Float) -> IO Float -> m Float
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Float
forall a. GObject a => a -> String -> IO Float
B.Properties.getObjectPropertyFloat o
obj String
"natural-height"
setActorNaturalHeight :: (MonadIO m, IsActor o) => o -> Float -> m ()
setActorNaturalHeight :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> Float -> m ()
setActorNaturalHeight o
obj Float
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Float -> IO ()
forall a. GObject a => a -> String -> Float -> IO ()
B.Properties.setObjectPropertyFloat o
obj String
"natural-height" Float
val
constructActorNaturalHeight :: (IsActor o, MIO.MonadIO m) => Float -> m (GValueConstruct o)
constructActorNaturalHeight :: forall o (m :: * -> *).
(IsActor o, MonadIO m) =>
Float -> m (GValueConstruct o)
constructActorNaturalHeight Float
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Float -> IO (GValueConstruct o)
forall o. String -> Float -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyFloat String
"natural-height" Float
val
#if defined(ENABLE_OVERLOADING)
data ActorNaturalHeightPropertyInfo
instance AttrInfo ActorNaturalHeightPropertyInfo where
type AttrAllowedOps ActorNaturalHeightPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ActorNaturalHeightPropertyInfo = IsActor
type AttrSetTypeConstraint ActorNaturalHeightPropertyInfo = (~) Float
type AttrTransferTypeConstraint ActorNaturalHeightPropertyInfo = (~) Float
type AttrTransferType ActorNaturalHeightPropertyInfo = Float
type AttrGetType ActorNaturalHeightPropertyInfo = Float
type AttrLabel ActorNaturalHeightPropertyInfo = "natural-height"
type AttrOrigin ActorNaturalHeightPropertyInfo = Actor
attrGet = getActorNaturalHeight
attrSet = setActorNaturalHeight
attrTransfer _ v = do
return v
attrConstruct = constructActorNaturalHeight
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.naturalHeight"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:naturalHeight"
})
#endif
getActorNaturalHeightSet :: (MonadIO m, IsActor o) => o -> m Bool
getActorNaturalHeightSet :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m Bool
getActorNaturalHeightSet o
obj = IO Bool -> m Bool
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Bool
forall a. GObject a => a -> String -> IO Bool
B.Properties.getObjectPropertyBool o
obj String
"natural-height-set"
setActorNaturalHeightSet :: (MonadIO m, IsActor o) => o -> Bool -> m ()
setActorNaturalHeightSet :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> Bool -> m ()
setActorNaturalHeightSet o
obj Bool
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Bool -> IO ()
forall a. GObject a => a -> String -> Bool -> IO ()
B.Properties.setObjectPropertyBool o
obj String
"natural-height-set" Bool
val
constructActorNaturalHeightSet :: (IsActor o, MIO.MonadIO m) => Bool -> m (GValueConstruct o)
constructActorNaturalHeightSet :: forall o (m :: * -> *).
(IsActor o, MonadIO m) =>
Bool -> m (GValueConstruct o)
constructActorNaturalHeightSet Bool
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Bool -> IO (GValueConstruct o)
forall o. String -> Bool -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyBool String
"natural-height-set" Bool
val
#if defined(ENABLE_OVERLOADING)
data ActorNaturalHeightSetPropertyInfo
instance AttrInfo ActorNaturalHeightSetPropertyInfo where
type AttrAllowedOps ActorNaturalHeightSetPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ActorNaturalHeightSetPropertyInfo = IsActor
type AttrSetTypeConstraint ActorNaturalHeightSetPropertyInfo = (~) Bool
type AttrTransferTypeConstraint ActorNaturalHeightSetPropertyInfo = (~) Bool
type AttrTransferType ActorNaturalHeightSetPropertyInfo = Bool
type AttrGetType ActorNaturalHeightSetPropertyInfo = Bool
type AttrLabel ActorNaturalHeightSetPropertyInfo = "natural-height-set"
type AttrOrigin ActorNaturalHeightSetPropertyInfo = Actor
attrGet = getActorNaturalHeightSet
attrSet = setActorNaturalHeightSet
attrTransfer _ v = do
return v
attrConstruct = constructActorNaturalHeightSet
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.naturalHeightSet"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:naturalHeightSet"
})
#endif
getActorNaturalWidth :: (MonadIO m, IsActor o) => o -> m Float
getActorNaturalWidth :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m Float
getActorNaturalWidth o
obj = IO Float -> m Float
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Float -> m Float) -> IO Float -> m Float
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Float
forall a. GObject a => a -> String -> IO Float
B.Properties.getObjectPropertyFloat o
obj String
"natural-width"
setActorNaturalWidth :: (MonadIO m, IsActor o) => o -> Float -> m ()
setActorNaturalWidth :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> Float -> m ()
setActorNaturalWidth o
obj Float
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Float -> IO ()
forall a. GObject a => a -> String -> Float -> IO ()
B.Properties.setObjectPropertyFloat o
obj String
"natural-width" Float
val
constructActorNaturalWidth :: (IsActor o, MIO.MonadIO m) => Float -> m (GValueConstruct o)
constructActorNaturalWidth :: forall o (m :: * -> *).
(IsActor o, MonadIO m) =>
Float -> m (GValueConstruct o)
constructActorNaturalWidth Float
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Float -> IO (GValueConstruct o)
forall o. String -> Float -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyFloat String
"natural-width" Float
val
#if defined(ENABLE_OVERLOADING)
data ActorNaturalWidthPropertyInfo
instance AttrInfo ActorNaturalWidthPropertyInfo where
type AttrAllowedOps ActorNaturalWidthPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ActorNaturalWidthPropertyInfo = IsActor
type AttrSetTypeConstraint ActorNaturalWidthPropertyInfo = (~) Float
type AttrTransferTypeConstraint ActorNaturalWidthPropertyInfo = (~) Float
type AttrTransferType ActorNaturalWidthPropertyInfo = Float
type AttrGetType ActorNaturalWidthPropertyInfo = Float
type AttrLabel ActorNaturalWidthPropertyInfo = "natural-width"
type AttrOrigin ActorNaturalWidthPropertyInfo = Actor
attrGet = getActorNaturalWidth
attrSet = setActorNaturalWidth
attrTransfer _ v = do
return v
attrConstruct = constructActorNaturalWidth
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.naturalWidth"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:naturalWidth"
})
#endif
getActorNaturalWidthSet :: (MonadIO m, IsActor o) => o -> m Bool
getActorNaturalWidthSet :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m Bool
getActorNaturalWidthSet o
obj = IO Bool -> m Bool
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Bool
forall a. GObject a => a -> String -> IO Bool
B.Properties.getObjectPropertyBool o
obj String
"natural-width-set"
setActorNaturalWidthSet :: (MonadIO m, IsActor o) => o -> Bool -> m ()
setActorNaturalWidthSet :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> Bool -> m ()
setActorNaturalWidthSet o
obj Bool
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Bool -> IO ()
forall a. GObject a => a -> String -> Bool -> IO ()
B.Properties.setObjectPropertyBool o
obj String
"natural-width-set" Bool
val
constructActorNaturalWidthSet :: (IsActor o, MIO.MonadIO m) => Bool -> m (GValueConstruct o)
constructActorNaturalWidthSet :: forall o (m :: * -> *).
(IsActor o, MonadIO m) =>
Bool -> m (GValueConstruct o)
constructActorNaturalWidthSet Bool
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Bool -> IO (GValueConstruct o)
forall o. String -> Bool -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyBool String
"natural-width-set" Bool
val
#if defined(ENABLE_OVERLOADING)
data ActorNaturalWidthSetPropertyInfo
instance AttrInfo ActorNaturalWidthSetPropertyInfo where
type AttrAllowedOps ActorNaturalWidthSetPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ActorNaturalWidthSetPropertyInfo = IsActor
type AttrSetTypeConstraint ActorNaturalWidthSetPropertyInfo = (~) Bool
type AttrTransferTypeConstraint ActorNaturalWidthSetPropertyInfo = (~) Bool
type AttrTransferType ActorNaturalWidthSetPropertyInfo = Bool
type AttrGetType ActorNaturalWidthSetPropertyInfo = Bool
type AttrLabel ActorNaturalWidthSetPropertyInfo = "natural-width-set"
type AttrOrigin ActorNaturalWidthSetPropertyInfo = Actor
attrGet = getActorNaturalWidthSet
attrSet = setActorNaturalWidthSet
attrTransfer _ v = do
return v
attrConstruct = constructActorNaturalWidthSet
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.naturalWidthSet"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:naturalWidthSet"
})
#endif
getActorOffscreenRedirect :: (MonadIO m, IsActor o) => o -> m [Clutter.Flags.OffscreenRedirect]
getActorOffscreenRedirect :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> m [OffscreenRedirect]
getActorOffscreenRedirect o
obj = IO [OffscreenRedirect] -> m [OffscreenRedirect]
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO [OffscreenRedirect] -> m [OffscreenRedirect])
-> IO [OffscreenRedirect] -> m [OffscreenRedirect]
forall a b. (a -> b) -> a -> b
$ o -> String -> IO [OffscreenRedirect]
forall a b.
(GObject a, IsGFlag b, BoxedFlags b) =>
a -> String -> IO [b]
B.Properties.getObjectPropertyFlags o
obj String
"offscreen-redirect"
setActorOffscreenRedirect :: (MonadIO m, IsActor o) => o -> [Clutter.Flags.OffscreenRedirect] -> m ()
setActorOffscreenRedirect :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> [OffscreenRedirect] -> m ()
setActorOffscreenRedirect o
obj [OffscreenRedirect]
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> [OffscreenRedirect] -> IO ()
forall a b.
(IsGFlag b, BoxedFlags b, GObject a) =>
a -> String -> [b] -> IO ()
B.Properties.setObjectPropertyFlags o
obj String
"offscreen-redirect" [OffscreenRedirect]
val
constructActorOffscreenRedirect :: (IsActor o, MIO.MonadIO m) => [Clutter.Flags.OffscreenRedirect] -> m (GValueConstruct o)
constructActorOffscreenRedirect :: forall o (m :: * -> *).
(IsActor o, MonadIO m) =>
[OffscreenRedirect] -> m (GValueConstruct o)
constructActorOffscreenRedirect [OffscreenRedirect]
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> [OffscreenRedirect] -> IO (GValueConstruct o)
forall a o.
(IsGFlag a, BoxedFlags a) =>
String -> [a] -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyFlags String
"offscreen-redirect" [OffscreenRedirect]
val
#if defined(ENABLE_OVERLOADING)
data ActorOffscreenRedirectPropertyInfo
instance AttrInfo ActorOffscreenRedirectPropertyInfo where
type AttrAllowedOps ActorOffscreenRedirectPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ActorOffscreenRedirectPropertyInfo = IsActor
type AttrSetTypeConstraint ActorOffscreenRedirectPropertyInfo = (~) [Clutter.Flags.OffscreenRedirect]
type AttrTransferTypeConstraint ActorOffscreenRedirectPropertyInfo = (~) [Clutter.Flags.OffscreenRedirect]
type AttrTransferType ActorOffscreenRedirectPropertyInfo = [Clutter.Flags.OffscreenRedirect]
type AttrGetType ActorOffscreenRedirectPropertyInfo = [Clutter.Flags.OffscreenRedirect]
type AttrLabel ActorOffscreenRedirectPropertyInfo = "offscreen-redirect"
type AttrOrigin ActorOffscreenRedirectPropertyInfo = Actor
attrGet = getActorOffscreenRedirect
attrSet = setActorOffscreenRedirect
attrTransfer _ v = do
return v
attrConstruct = constructActorOffscreenRedirect
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.offscreenRedirect"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:offscreenRedirect"
})
#endif
getActorOpacity :: (MonadIO m, IsActor o) => o -> m Word32
getActorOpacity :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m Word32
getActorOpacity o
obj = IO Word32 -> m Word32
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Word32 -> m Word32) -> IO Word32 -> m Word32
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Word32
forall a. GObject a => a -> String -> IO Word32
B.Properties.getObjectPropertyUInt32 o
obj String
"opacity"
setActorOpacity :: (MonadIO m, IsActor o) => o -> Word32 -> m ()
setActorOpacity :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> Word32 -> m ()
setActorOpacity o
obj Word32
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Word32 -> IO ()
forall a. GObject a => a -> String -> Word32 -> IO ()
B.Properties.setObjectPropertyUInt32 o
obj String
"opacity" Word32
val
constructActorOpacity :: (IsActor o, MIO.MonadIO m) => Word32 -> m (GValueConstruct o)
constructActorOpacity :: forall o (m :: * -> *).
(IsActor o, MonadIO m) =>
Word32 -> m (GValueConstruct o)
constructActorOpacity Word32
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Word32 -> IO (GValueConstruct o)
forall o. String -> Word32 -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyUInt32 String
"opacity" Word32
val
#if defined(ENABLE_OVERLOADING)
data ActorOpacityPropertyInfo
instance AttrInfo ActorOpacityPropertyInfo where
type AttrAllowedOps ActorOpacityPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ActorOpacityPropertyInfo = IsActor
type AttrSetTypeConstraint ActorOpacityPropertyInfo = (~) Word32
type AttrTransferTypeConstraint ActorOpacityPropertyInfo = (~) Word32
type AttrTransferType ActorOpacityPropertyInfo = Word32
type AttrGetType ActorOpacityPropertyInfo = Word32
type AttrLabel ActorOpacityPropertyInfo = "opacity"
type AttrOrigin ActorOpacityPropertyInfo = Actor
attrGet = getActorOpacity
attrSet = setActorOpacity
attrTransfer _ v = do
return v
attrConstruct = constructActorOpacity
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.opacity"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:opacity"
})
#endif
getActorPivotPoint :: (MonadIO m, IsActor o) => o -> m (Maybe Clutter.Point.Point)
getActorPivotPoint :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> m (Maybe Point)
getActorPivotPoint o
obj = IO (Maybe Point) -> m (Maybe Point)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (Maybe Point) -> m (Maybe Point))
-> IO (Maybe Point) -> m (Maybe Point)
forall a b. (a -> b) -> a -> b
$ o -> String -> (ManagedPtr Point -> Point) -> IO (Maybe Point)
forall a b.
(GObject a, GBoxed b) =>
a -> String -> (ManagedPtr b -> b) -> IO (Maybe b)
B.Properties.getObjectPropertyBoxed o
obj String
"pivot-point" ManagedPtr Point -> Point
Clutter.Point.Point
setActorPivotPoint :: (MonadIO m, IsActor o) => o -> Clutter.Point.Point -> m ()
setActorPivotPoint :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> Point -> m ()
setActorPivotPoint o
obj Point
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Maybe Point -> IO ()
forall a b.
(GObject a, GBoxed b) =>
a -> String -> Maybe b -> IO ()
B.Properties.setObjectPropertyBoxed o
obj String
"pivot-point" (Point -> Maybe Point
forall a. a -> Maybe a
Just Point
val)
constructActorPivotPoint :: (IsActor o, MIO.MonadIO m) => Clutter.Point.Point -> m (GValueConstruct o)
constructActorPivotPoint :: forall o (m :: * -> *).
(IsActor o, MonadIO m) =>
Point -> m (GValueConstruct o)
constructActorPivotPoint Point
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Maybe Point -> IO (GValueConstruct o)
forall a o. GBoxed a => String -> Maybe a -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyBoxed String
"pivot-point" (Point -> Maybe Point
forall a. a -> Maybe a
P.Just Point
val)
clearActorPivotPoint :: (MonadIO m, IsActor o) => o -> m ()
clearActorPivotPoint :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m ()
clearActorPivotPoint o
obj = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ o -> String -> Maybe Point -> IO ()
forall a b.
(GObject a, GBoxed b) =>
a -> String -> Maybe b -> IO ()
B.Properties.setObjectPropertyBoxed o
obj String
"pivot-point" (Maybe Point
forall a. Maybe a
Nothing :: Maybe Clutter.Point.Point)
#if defined(ENABLE_OVERLOADING)
data ActorPivotPointPropertyInfo
instance AttrInfo ActorPivotPointPropertyInfo where
type AttrAllowedOps ActorPivotPointPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet, 'AttrClear]
type AttrBaseTypeConstraint ActorPivotPointPropertyInfo = IsActor
type AttrSetTypeConstraint ActorPivotPointPropertyInfo = (~) Clutter.Point.Point
type AttrTransferTypeConstraint ActorPivotPointPropertyInfo = (~) Clutter.Point.Point
type AttrTransferType ActorPivotPointPropertyInfo = Clutter.Point.Point
type AttrGetType ActorPivotPointPropertyInfo = (Maybe Clutter.Point.Point)
type AttrLabel ActorPivotPointPropertyInfo = "pivot-point"
type AttrOrigin ActorPivotPointPropertyInfo = Actor
attrGet = getActorPivotPoint
attrSet = setActorPivotPoint
attrTransfer _ v = do
return v
attrConstruct = constructActorPivotPoint
attrClear = clearActorPivotPoint
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.pivotPoint"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:pivotPoint"
})
#endif
getActorPivotPointZ :: (MonadIO m, IsActor o) => o -> m Float
getActorPivotPointZ :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m Float
getActorPivotPointZ o
obj = IO Float -> m Float
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Float -> m Float) -> IO Float -> m Float
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Float
forall a. GObject a => a -> String -> IO Float
B.Properties.getObjectPropertyFloat o
obj String
"pivot-point-z"
setActorPivotPointZ :: (MonadIO m, IsActor o) => o -> Float -> m ()
setActorPivotPointZ :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> Float -> m ()
setActorPivotPointZ o
obj Float
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Float -> IO ()
forall a. GObject a => a -> String -> Float -> IO ()
B.Properties.setObjectPropertyFloat o
obj String
"pivot-point-z" Float
val
constructActorPivotPointZ :: (IsActor o, MIO.MonadIO m) => Float -> m (GValueConstruct o)
constructActorPivotPointZ :: forall o (m :: * -> *).
(IsActor o, MonadIO m) =>
Float -> m (GValueConstruct o)
constructActorPivotPointZ Float
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Float -> IO (GValueConstruct o)
forall o. String -> Float -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyFloat String
"pivot-point-z" Float
val
#if defined(ENABLE_OVERLOADING)
data ActorPivotPointZPropertyInfo
instance AttrInfo ActorPivotPointZPropertyInfo where
type AttrAllowedOps ActorPivotPointZPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ActorPivotPointZPropertyInfo = IsActor
type AttrSetTypeConstraint ActorPivotPointZPropertyInfo = (~) Float
type AttrTransferTypeConstraint ActorPivotPointZPropertyInfo = (~) Float
type AttrTransferType ActorPivotPointZPropertyInfo = Float
type AttrGetType ActorPivotPointZPropertyInfo = Float
type AttrLabel ActorPivotPointZPropertyInfo = "pivot-point-z"
type AttrOrigin ActorPivotPointZPropertyInfo = Actor
attrGet = getActorPivotPointZ
attrSet = setActorPivotPointZ
attrTransfer _ v = do
return v
attrConstruct = constructActorPivotPointZ
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.pivotPointZ"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:pivotPointZ"
})
#endif
getActorPosition :: (MonadIO m, IsActor o) => o -> m (Maybe Clutter.Point.Point)
getActorPosition :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> m (Maybe Point)
getActorPosition o
obj = IO (Maybe Point) -> m (Maybe Point)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (Maybe Point) -> m (Maybe Point))
-> IO (Maybe Point) -> m (Maybe Point)
forall a b. (a -> b) -> a -> b
$ o -> String -> (ManagedPtr Point -> Point) -> IO (Maybe Point)
forall a b.
(GObject a, GBoxed b) =>
a -> String -> (ManagedPtr b -> b) -> IO (Maybe b)
B.Properties.getObjectPropertyBoxed o
obj String
"position" ManagedPtr Point -> Point
Clutter.Point.Point
setActorPosition :: (MonadIO m, IsActor o) => o -> Clutter.Point.Point -> m ()
setActorPosition :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> Point -> m ()
setActorPosition o
obj Point
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Maybe Point -> IO ()
forall a b.
(GObject a, GBoxed b) =>
a -> String -> Maybe b -> IO ()
B.Properties.setObjectPropertyBoxed o
obj String
"position" (Point -> Maybe Point
forall a. a -> Maybe a
Just Point
val)
constructActorPosition :: (IsActor o, MIO.MonadIO m) => Clutter.Point.Point -> m (GValueConstruct o)
constructActorPosition :: forall o (m :: * -> *).
(IsActor o, MonadIO m) =>
Point -> m (GValueConstruct o)
constructActorPosition Point
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Maybe Point -> IO (GValueConstruct o)
forall a o. GBoxed a => String -> Maybe a -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyBoxed String
"position" (Point -> Maybe Point
forall a. a -> Maybe a
P.Just Point
val)
clearActorPosition :: (MonadIO m, IsActor o) => o -> m ()
clearActorPosition :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m ()
clearActorPosition o
obj = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ o -> String -> Maybe Point -> IO ()
forall a b.
(GObject a, GBoxed b) =>
a -> String -> Maybe b -> IO ()
B.Properties.setObjectPropertyBoxed o
obj String
"position" (Maybe Point
forall a. Maybe a
Nothing :: Maybe Clutter.Point.Point)
#if defined(ENABLE_OVERLOADING)
data ActorPositionPropertyInfo
instance AttrInfo ActorPositionPropertyInfo where
type AttrAllowedOps ActorPositionPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet, 'AttrClear]
type AttrBaseTypeConstraint ActorPositionPropertyInfo = IsActor
type AttrSetTypeConstraint ActorPositionPropertyInfo = (~) Clutter.Point.Point
type AttrTransferTypeConstraint ActorPositionPropertyInfo = (~) Clutter.Point.Point
type AttrTransferType ActorPositionPropertyInfo = Clutter.Point.Point
type AttrGetType ActorPositionPropertyInfo = (Maybe Clutter.Point.Point)
type AttrLabel ActorPositionPropertyInfo = "position"
type AttrOrigin ActorPositionPropertyInfo = Actor
attrGet = getActorPosition
attrSet = setActorPosition
attrTransfer _ v = do
return v
attrConstruct = constructActorPosition
attrClear = clearActorPosition
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.position"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:position"
})
#endif
getActorReactive :: (MonadIO m, IsActor o) => o -> m Bool
getActorReactive :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m Bool
getActorReactive o
obj = IO Bool -> m Bool
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Bool
forall a. GObject a => a -> String -> IO Bool
B.Properties.getObjectPropertyBool o
obj String
"reactive"
setActorReactive :: (MonadIO m, IsActor o) => o -> Bool -> m ()
setActorReactive :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> Bool -> m ()
setActorReactive o
obj Bool
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Bool -> IO ()
forall a. GObject a => a -> String -> Bool -> IO ()
B.Properties.setObjectPropertyBool o
obj String
"reactive" Bool
val
constructActorReactive :: (IsActor o, MIO.MonadIO m) => Bool -> m (GValueConstruct o)
constructActorReactive :: forall o (m :: * -> *).
(IsActor o, MonadIO m) =>
Bool -> m (GValueConstruct o)
constructActorReactive Bool
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Bool -> IO (GValueConstruct o)
forall o. String -> Bool -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyBool String
"reactive" Bool
val
#if defined(ENABLE_OVERLOADING)
data ActorReactivePropertyInfo
instance AttrInfo ActorReactivePropertyInfo where
type AttrAllowedOps ActorReactivePropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ActorReactivePropertyInfo = IsActor
type AttrSetTypeConstraint ActorReactivePropertyInfo = (~) Bool
type AttrTransferTypeConstraint ActorReactivePropertyInfo = (~) Bool
type AttrTransferType ActorReactivePropertyInfo = Bool
type AttrGetType ActorReactivePropertyInfo = Bool
type AttrLabel ActorReactivePropertyInfo = "reactive"
type AttrOrigin ActorReactivePropertyInfo = Actor
attrGet = getActorReactive
attrSet = setActorReactive
attrTransfer _ v = do
return v
attrConstruct = constructActorReactive
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.reactive"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:reactive"
})
#endif
getActorRealized :: (MonadIO m, IsActor o) => o -> m Bool
getActorRealized :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m Bool
getActorRealized o
obj = IO Bool -> m Bool
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Bool
forall a. GObject a => a -> String -> IO Bool
B.Properties.getObjectPropertyBool o
obj String
"realized"
#if defined(ENABLE_OVERLOADING)
data ActorRealizedPropertyInfo
instance AttrInfo ActorRealizedPropertyInfo where
type AttrAllowedOps ActorRealizedPropertyInfo = '[ 'AttrGet]
type AttrBaseTypeConstraint ActorRealizedPropertyInfo = IsActor
type AttrSetTypeConstraint ActorRealizedPropertyInfo = (~) ()
type AttrTransferTypeConstraint ActorRealizedPropertyInfo = (~) ()
type AttrTransferType ActorRealizedPropertyInfo = ()
type AttrGetType ActorRealizedPropertyInfo = Bool
type AttrLabel ActorRealizedPropertyInfo = "realized"
type AttrOrigin ActorRealizedPropertyInfo = Actor
attrGet = getActorRealized
attrSet = undefined
attrTransfer _ = undefined
attrConstruct = undefined
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.realized"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:realized"
})
#endif
getActorRequestMode :: (MonadIO m, IsActor o) => o -> m Clutter.Enums.RequestMode
getActorRequestMode :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> m RequestMode
getActorRequestMode o
obj = IO RequestMode -> m RequestMode
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO RequestMode -> m RequestMode)
-> IO RequestMode -> m RequestMode
forall a b. (a -> b) -> a -> b
$ o -> String -> IO RequestMode
forall a b. (GObject a, Enum b, BoxedEnum b) => a -> String -> IO b
B.Properties.getObjectPropertyEnum o
obj String
"request-mode"
setActorRequestMode :: (MonadIO m, IsActor o) => o -> Clutter.Enums.RequestMode -> m ()
setActorRequestMode :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> RequestMode -> m ()
setActorRequestMode o
obj RequestMode
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> RequestMode -> IO ()
forall a b.
(GObject a, Enum b, BoxedEnum b) =>
a -> String -> b -> IO ()
B.Properties.setObjectPropertyEnum o
obj String
"request-mode" RequestMode
val
constructActorRequestMode :: (IsActor o, MIO.MonadIO m) => Clutter.Enums.RequestMode -> m (GValueConstruct o)
constructActorRequestMode :: forall o (m :: * -> *).
(IsActor o, MonadIO m) =>
RequestMode -> m (GValueConstruct o)
constructActorRequestMode RequestMode
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> RequestMode -> IO (GValueConstruct o)
forall a o.
(Enum a, BoxedEnum a) =>
String -> a -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyEnum String
"request-mode" RequestMode
val
#if defined(ENABLE_OVERLOADING)
data ActorRequestModePropertyInfo
instance AttrInfo ActorRequestModePropertyInfo where
type AttrAllowedOps ActorRequestModePropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ActorRequestModePropertyInfo = IsActor
type AttrSetTypeConstraint ActorRequestModePropertyInfo = (~) Clutter.Enums.RequestMode
type AttrTransferTypeConstraint ActorRequestModePropertyInfo = (~) Clutter.Enums.RequestMode
type AttrTransferType ActorRequestModePropertyInfo = Clutter.Enums.RequestMode
type AttrGetType ActorRequestModePropertyInfo = Clutter.Enums.RequestMode
type AttrLabel ActorRequestModePropertyInfo = "request-mode"
type AttrOrigin ActorRequestModePropertyInfo = Actor
attrGet = getActorRequestMode
attrSet = setActorRequestMode
attrTransfer _ v = do
return v
attrConstruct = constructActorRequestMode
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.requestMode"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:requestMode"
})
#endif
getActorRotationAngleX :: (MonadIO m, IsActor o) => o -> m Double
getActorRotationAngleX :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m Double
getActorRotationAngleX o
obj = IO Double -> m Double
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Double -> m Double) -> IO Double -> m Double
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Double
forall a. GObject a => a -> String -> IO Double
B.Properties.getObjectPropertyDouble o
obj String
"rotation-angle-x"
setActorRotationAngleX :: (MonadIO m, IsActor o) => o -> Double -> m ()
setActorRotationAngleX :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> Double -> m ()
setActorRotationAngleX o
obj Double
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Double -> IO ()
forall a. GObject a => a -> String -> Double -> IO ()
B.Properties.setObjectPropertyDouble o
obj String
"rotation-angle-x" Double
val
constructActorRotationAngleX :: (IsActor o, MIO.MonadIO m) => Double -> m (GValueConstruct o)
constructActorRotationAngleX :: forall o (m :: * -> *).
(IsActor o, MonadIO m) =>
Double -> m (GValueConstruct o)
constructActorRotationAngleX Double
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Double -> IO (GValueConstruct o)
forall o. String -> Double -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyDouble String
"rotation-angle-x" Double
val
#if defined(ENABLE_OVERLOADING)
data ActorRotationAngleXPropertyInfo
instance AttrInfo ActorRotationAngleXPropertyInfo where
type AttrAllowedOps ActorRotationAngleXPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ActorRotationAngleXPropertyInfo = IsActor
type AttrSetTypeConstraint ActorRotationAngleXPropertyInfo = (~) Double
type AttrTransferTypeConstraint ActorRotationAngleXPropertyInfo = (~) Double
type AttrTransferType ActorRotationAngleXPropertyInfo = Double
type AttrGetType ActorRotationAngleXPropertyInfo = Double
type AttrLabel ActorRotationAngleXPropertyInfo = "rotation-angle-x"
type AttrOrigin ActorRotationAngleXPropertyInfo = Actor
attrGet = getActorRotationAngleX
attrSet = setActorRotationAngleX
attrTransfer _ v = do
return v
attrConstruct = constructActorRotationAngleX
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.rotationAngleX"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:rotationAngleX"
})
#endif
getActorRotationAngleY :: (MonadIO m, IsActor o) => o -> m Double
getActorRotationAngleY :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m Double
getActorRotationAngleY o
obj = IO Double -> m Double
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Double -> m Double) -> IO Double -> m Double
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Double
forall a. GObject a => a -> String -> IO Double
B.Properties.getObjectPropertyDouble o
obj String
"rotation-angle-y"
setActorRotationAngleY :: (MonadIO m, IsActor o) => o -> Double -> m ()
setActorRotationAngleY :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> Double -> m ()
setActorRotationAngleY o
obj Double
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Double -> IO ()
forall a. GObject a => a -> String -> Double -> IO ()
B.Properties.setObjectPropertyDouble o
obj String
"rotation-angle-y" Double
val
constructActorRotationAngleY :: (IsActor o, MIO.MonadIO m) => Double -> m (GValueConstruct o)
constructActorRotationAngleY :: forall o (m :: * -> *).
(IsActor o, MonadIO m) =>
Double -> m (GValueConstruct o)
constructActorRotationAngleY Double
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Double -> IO (GValueConstruct o)
forall o. String -> Double -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyDouble String
"rotation-angle-y" Double
val
#if defined(ENABLE_OVERLOADING)
data ActorRotationAngleYPropertyInfo
instance AttrInfo ActorRotationAngleYPropertyInfo where
type AttrAllowedOps ActorRotationAngleYPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ActorRotationAngleYPropertyInfo = IsActor
type AttrSetTypeConstraint ActorRotationAngleYPropertyInfo = (~) Double
type AttrTransferTypeConstraint ActorRotationAngleYPropertyInfo = (~) Double
type AttrTransferType ActorRotationAngleYPropertyInfo = Double
type AttrGetType ActorRotationAngleYPropertyInfo = Double
type AttrLabel ActorRotationAngleYPropertyInfo = "rotation-angle-y"
type AttrOrigin ActorRotationAngleYPropertyInfo = Actor
attrGet = getActorRotationAngleY
attrSet = setActorRotationAngleY
attrTransfer _ v = do
return v
attrConstruct = constructActorRotationAngleY
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.rotationAngleY"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:rotationAngleY"
})
#endif
getActorRotationAngleZ :: (MonadIO m, IsActor o) => o -> m Double
getActorRotationAngleZ :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m Double
getActorRotationAngleZ o
obj = IO Double -> m Double
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Double -> m Double) -> IO Double -> m Double
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Double
forall a. GObject a => a -> String -> IO Double
B.Properties.getObjectPropertyDouble o
obj String
"rotation-angle-z"
setActorRotationAngleZ :: (MonadIO m, IsActor o) => o -> Double -> m ()
setActorRotationAngleZ :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> Double -> m ()
setActorRotationAngleZ o
obj Double
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Double -> IO ()
forall a. GObject a => a -> String -> Double -> IO ()
B.Properties.setObjectPropertyDouble o
obj String
"rotation-angle-z" Double
val
constructActorRotationAngleZ :: (IsActor o, MIO.MonadIO m) => Double -> m (GValueConstruct o)
constructActorRotationAngleZ :: forall o (m :: * -> *).
(IsActor o, MonadIO m) =>
Double -> m (GValueConstruct o)
constructActorRotationAngleZ Double
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Double -> IO (GValueConstruct o)
forall o. String -> Double -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyDouble String
"rotation-angle-z" Double
val
#if defined(ENABLE_OVERLOADING)
data ActorRotationAngleZPropertyInfo
instance AttrInfo ActorRotationAngleZPropertyInfo where
type AttrAllowedOps ActorRotationAngleZPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ActorRotationAngleZPropertyInfo = IsActor
type AttrSetTypeConstraint ActorRotationAngleZPropertyInfo = (~) Double
type AttrTransferTypeConstraint ActorRotationAngleZPropertyInfo = (~) Double
type AttrTransferType ActorRotationAngleZPropertyInfo = Double
type AttrGetType ActorRotationAngleZPropertyInfo = Double
type AttrLabel ActorRotationAngleZPropertyInfo = "rotation-angle-z"
type AttrOrigin ActorRotationAngleZPropertyInfo = Actor
attrGet = getActorRotationAngleZ
attrSet = setActorRotationAngleZ
attrTransfer _ v = do
return v
attrConstruct = constructActorRotationAngleZ
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.rotationAngleZ"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:rotationAngleZ"
})
#endif
getActorRotationCenterX :: (MonadIO m, IsActor o) => o -> m (Maybe Clutter.Vertex.Vertex)
getActorRotationCenterX :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> m (Maybe Vertex)
getActorRotationCenterX o
obj = IO (Maybe Vertex) -> m (Maybe Vertex)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (Maybe Vertex) -> m (Maybe Vertex))
-> IO (Maybe Vertex) -> m (Maybe Vertex)
forall a b. (a -> b) -> a -> b
$ o -> String -> (ManagedPtr Vertex -> Vertex) -> IO (Maybe Vertex)
forall a b.
(GObject a, GBoxed b) =>
a -> String -> (ManagedPtr b -> b) -> IO (Maybe b)
B.Properties.getObjectPropertyBoxed o
obj String
"rotation-center-x" ManagedPtr Vertex -> Vertex
Clutter.Vertex.Vertex
setActorRotationCenterX :: (MonadIO m, IsActor o) => o -> Clutter.Vertex.Vertex -> m ()
setActorRotationCenterX :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> Vertex -> m ()
setActorRotationCenterX o
obj Vertex
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Maybe Vertex -> IO ()
forall a b.
(GObject a, GBoxed b) =>
a -> String -> Maybe b -> IO ()
B.Properties.setObjectPropertyBoxed o
obj String
"rotation-center-x" (Vertex -> Maybe Vertex
forall a. a -> Maybe a
Just Vertex
val)
constructActorRotationCenterX :: (IsActor o, MIO.MonadIO m) => Clutter.Vertex.Vertex -> m (GValueConstruct o)
constructActorRotationCenterX :: forall o (m :: * -> *).
(IsActor o, MonadIO m) =>
Vertex -> m (GValueConstruct o)
constructActorRotationCenterX Vertex
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Maybe Vertex -> IO (GValueConstruct o)
forall a o. GBoxed a => String -> Maybe a -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyBoxed String
"rotation-center-x" (Vertex -> Maybe Vertex
forall a. a -> Maybe a
P.Just Vertex
val)
clearActorRotationCenterX :: (MonadIO m, IsActor o) => o -> m ()
clearActorRotationCenterX :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m ()
clearActorRotationCenterX o
obj = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ o -> String -> Maybe Vertex -> IO ()
forall a b.
(GObject a, GBoxed b) =>
a -> String -> Maybe b -> IO ()
B.Properties.setObjectPropertyBoxed o
obj String
"rotation-center-x" (Maybe Vertex
forall a. Maybe a
Nothing :: Maybe Clutter.Vertex.Vertex)
#if defined(ENABLE_OVERLOADING)
data ActorRotationCenterXPropertyInfo
instance AttrInfo ActorRotationCenterXPropertyInfo where
type AttrAllowedOps ActorRotationCenterXPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet, 'AttrClear]
type AttrBaseTypeConstraint ActorRotationCenterXPropertyInfo = IsActor
type AttrSetTypeConstraint ActorRotationCenterXPropertyInfo = (~) Clutter.Vertex.Vertex
type AttrTransferTypeConstraint ActorRotationCenterXPropertyInfo = (~) Clutter.Vertex.Vertex
type AttrTransferType ActorRotationCenterXPropertyInfo = Clutter.Vertex.Vertex
type AttrGetType ActorRotationCenterXPropertyInfo = (Maybe Clutter.Vertex.Vertex)
type AttrLabel ActorRotationCenterXPropertyInfo = "rotation-center-x"
type AttrOrigin ActorRotationCenterXPropertyInfo = Actor
attrGet = getActorRotationCenterX
attrSet = setActorRotationCenterX
attrTransfer _ v = do
return v
attrConstruct = constructActorRotationCenterX
attrClear = clearActorRotationCenterX
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.rotationCenterX"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:rotationCenterX"
})
#endif
getActorRotationCenterY :: (MonadIO m, IsActor o) => o -> m (Maybe Clutter.Vertex.Vertex)
getActorRotationCenterY :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> m (Maybe Vertex)
getActorRotationCenterY o
obj = IO (Maybe Vertex) -> m (Maybe Vertex)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (Maybe Vertex) -> m (Maybe Vertex))
-> IO (Maybe Vertex) -> m (Maybe Vertex)
forall a b. (a -> b) -> a -> b
$ o -> String -> (ManagedPtr Vertex -> Vertex) -> IO (Maybe Vertex)
forall a b.
(GObject a, GBoxed b) =>
a -> String -> (ManagedPtr b -> b) -> IO (Maybe b)
B.Properties.getObjectPropertyBoxed o
obj String
"rotation-center-y" ManagedPtr Vertex -> Vertex
Clutter.Vertex.Vertex
setActorRotationCenterY :: (MonadIO m, IsActor o) => o -> Clutter.Vertex.Vertex -> m ()
setActorRotationCenterY :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> Vertex -> m ()
setActorRotationCenterY o
obj Vertex
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Maybe Vertex -> IO ()
forall a b.
(GObject a, GBoxed b) =>
a -> String -> Maybe b -> IO ()
B.Properties.setObjectPropertyBoxed o
obj String
"rotation-center-y" (Vertex -> Maybe Vertex
forall a. a -> Maybe a
Just Vertex
val)
constructActorRotationCenterY :: (IsActor o, MIO.MonadIO m) => Clutter.Vertex.Vertex -> m (GValueConstruct o)
constructActorRotationCenterY :: forall o (m :: * -> *).
(IsActor o, MonadIO m) =>
Vertex -> m (GValueConstruct o)
constructActorRotationCenterY Vertex
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Maybe Vertex -> IO (GValueConstruct o)
forall a o. GBoxed a => String -> Maybe a -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyBoxed String
"rotation-center-y" (Vertex -> Maybe Vertex
forall a. a -> Maybe a
P.Just Vertex
val)
clearActorRotationCenterY :: (MonadIO m, IsActor o) => o -> m ()
clearActorRotationCenterY :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m ()
clearActorRotationCenterY o
obj = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ o -> String -> Maybe Vertex -> IO ()
forall a b.
(GObject a, GBoxed b) =>
a -> String -> Maybe b -> IO ()
B.Properties.setObjectPropertyBoxed o
obj String
"rotation-center-y" (Maybe Vertex
forall a. Maybe a
Nothing :: Maybe Clutter.Vertex.Vertex)
#if defined(ENABLE_OVERLOADING)
data ActorRotationCenterYPropertyInfo
instance AttrInfo ActorRotationCenterYPropertyInfo where
type AttrAllowedOps ActorRotationCenterYPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet, 'AttrClear]
type AttrBaseTypeConstraint ActorRotationCenterYPropertyInfo = IsActor
type AttrSetTypeConstraint ActorRotationCenterYPropertyInfo = (~) Clutter.Vertex.Vertex
type AttrTransferTypeConstraint ActorRotationCenterYPropertyInfo = (~) Clutter.Vertex.Vertex
type AttrTransferType ActorRotationCenterYPropertyInfo = Clutter.Vertex.Vertex
type AttrGetType ActorRotationCenterYPropertyInfo = (Maybe Clutter.Vertex.Vertex)
type AttrLabel ActorRotationCenterYPropertyInfo = "rotation-center-y"
type AttrOrigin ActorRotationCenterYPropertyInfo = Actor
attrGet = getActorRotationCenterY
attrSet = setActorRotationCenterY
attrTransfer _ v = do
return v
attrConstruct = constructActorRotationCenterY
attrClear = clearActorRotationCenterY
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.rotationCenterY"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:rotationCenterY"
})
#endif
getActorRotationCenterZ :: (MonadIO m, IsActor o) => o -> m (Maybe Clutter.Vertex.Vertex)
getActorRotationCenterZ :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> m (Maybe Vertex)
getActorRotationCenterZ o
obj = IO (Maybe Vertex) -> m (Maybe Vertex)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (Maybe Vertex) -> m (Maybe Vertex))
-> IO (Maybe Vertex) -> m (Maybe Vertex)
forall a b. (a -> b) -> a -> b
$ o -> String -> (ManagedPtr Vertex -> Vertex) -> IO (Maybe Vertex)
forall a b.
(GObject a, GBoxed b) =>
a -> String -> (ManagedPtr b -> b) -> IO (Maybe b)
B.Properties.getObjectPropertyBoxed o
obj String
"rotation-center-z" ManagedPtr Vertex -> Vertex
Clutter.Vertex.Vertex
setActorRotationCenterZ :: (MonadIO m, IsActor o) => o -> Clutter.Vertex.Vertex -> m ()
setActorRotationCenterZ :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> Vertex -> m ()
setActorRotationCenterZ o
obj Vertex
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Maybe Vertex -> IO ()
forall a b.
(GObject a, GBoxed b) =>
a -> String -> Maybe b -> IO ()
B.Properties.setObjectPropertyBoxed o
obj String
"rotation-center-z" (Vertex -> Maybe Vertex
forall a. a -> Maybe a
Just Vertex
val)
constructActorRotationCenterZ :: (IsActor o, MIO.MonadIO m) => Clutter.Vertex.Vertex -> m (GValueConstruct o)
constructActorRotationCenterZ :: forall o (m :: * -> *).
(IsActor o, MonadIO m) =>
Vertex -> m (GValueConstruct o)
constructActorRotationCenterZ Vertex
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Maybe Vertex -> IO (GValueConstruct o)
forall a o. GBoxed a => String -> Maybe a -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyBoxed String
"rotation-center-z" (Vertex -> Maybe Vertex
forall a. a -> Maybe a
P.Just Vertex
val)
clearActorRotationCenterZ :: (MonadIO m, IsActor o) => o -> m ()
clearActorRotationCenterZ :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m ()
clearActorRotationCenterZ o
obj = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ o -> String -> Maybe Vertex -> IO ()
forall a b.
(GObject a, GBoxed b) =>
a -> String -> Maybe b -> IO ()
B.Properties.setObjectPropertyBoxed o
obj String
"rotation-center-z" (Maybe Vertex
forall a. Maybe a
Nothing :: Maybe Clutter.Vertex.Vertex)
#if defined(ENABLE_OVERLOADING)
data ActorRotationCenterZPropertyInfo
instance AttrInfo ActorRotationCenterZPropertyInfo where
type AttrAllowedOps ActorRotationCenterZPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet, 'AttrClear]
type AttrBaseTypeConstraint ActorRotationCenterZPropertyInfo = IsActor
type AttrSetTypeConstraint ActorRotationCenterZPropertyInfo = (~) Clutter.Vertex.Vertex
type AttrTransferTypeConstraint ActorRotationCenterZPropertyInfo = (~) Clutter.Vertex.Vertex
type AttrTransferType ActorRotationCenterZPropertyInfo = Clutter.Vertex.Vertex
type AttrGetType ActorRotationCenterZPropertyInfo = (Maybe Clutter.Vertex.Vertex)
type AttrLabel ActorRotationCenterZPropertyInfo = "rotation-center-z"
type AttrOrigin ActorRotationCenterZPropertyInfo = Actor
attrGet = getActorRotationCenterZ
attrSet = setActorRotationCenterZ
attrTransfer _ v = do
return v
attrConstruct = constructActorRotationCenterZ
attrClear = clearActorRotationCenterZ
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.rotationCenterZ"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:rotationCenterZ"
})
#endif
getActorRotationCenterZGravity :: (MonadIO m, IsActor o) => o -> m Clutter.Enums.Gravity
getActorRotationCenterZGravity :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m Gravity
getActorRotationCenterZGravity o
obj = IO Gravity -> m Gravity
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Gravity -> m Gravity) -> IO Gravity -> m Gravity
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Gravity
forall a b. (GObject a, Enum b, BoxedEnum b) => a -> String -> IO b
B.Properties.getObjectPropertyEnum o
obj String
"rotation-center-z-gravity"
setActorRotationCenterZGravity :: (MonadIO m, IsActor o) => o -> Clutter.Enums.Gravity -> m ()
setActorRotationCenterZGravity :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> Gravity -> m ()
setActorRotationCenterZGravity o
obj Gravity
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Gravity -> IO ()
forall a b.
(GObject a, Enum b, BoxedEnum b) =>
a -> String -> b -> IO ()
B.Properties.setObjectPropertyEnum o
obj String
"rotation-center-z-gravity" Gravity
val
constructActorRotationCenterZGravity :: (IsActor o, MIO.MonadIO m) => Clutter.Enums.Gravity -> m (GValueConstruct o)
constructActorRotationCenterZGravity :: forall o (m :: * -> *).
(IsActor o, MonadIO m) =>
Gravity -> m (GValueConstruct o)
constructActorRotationCenterZGravity Gravity
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Gravity -> IO (GValueConstruct o)
forall a o.
(Enum a, BoxedEnum a) =>
String -> a -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyEnum String
"rotation-center-z-gravity" Gravity
val
#if defined(ENABLE_OVERLOADING)
data ActorRotationCenterZGravityPropertyInfo
instance AttrInfo ActorRotationCenterZGravityPropertyInfo where
type AttrAllowedOps ActorRotationCenterZGravityPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ActorRotationCenterZGravityPropertyInfo = IsActor
type AttrSetTypeConstraint ActorRotationCenterZGravityPropertyInfo = (~) Clutter.Enums.Gravity
type AttrTransferTypeConstraint ActorRotationCenterZGravityPropertyInfo = (~) Clutter.Enums.Gravity
type AttrTransferType ActorRotationCenterZGravityPropertyInfo = Clutter.Enums.Gravity
type AttrGetType ActorRotationCenterZGravityPropertyInfo = Clutter.Enums.Gravity
type AttrLabel ActorRotationCenterZGravityPropertyInfo = "rotation-center-z-gravity"
type AttrOrigin ActorRotationCenterZGravityPropertyInfo = Actor
attrGet = getActorRotationCenterZGravity
attrSet = setActorRotationCenterZGravity
attrTransfer _ v = do
return v
attrConstruct = constructActorRotationCenterZGravity
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.rotationCenterZGravity"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:rotationCenterZGravity"
})
#endif
getActorScaleCenterX :: (MonadIO m, IsActor o) => o -> m Float
getActorScaleCenterX :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m Float
getActorScaleCenterX o
obj = IO Float -> m Float
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Float -> m Float) -> IO Float -> m Float
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Float
forall a. GObject a => a -> String -> IO Float
B.Properties.getObjectPropertyFloat o
obj String
"scale-center-x"
setActorScaleCenterX :: (MonadIO m, IsActor o) => o -> Float -> m ()
setActorScaleCenterX :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> Float -> m ()
setActorScaleCenterX o
obj Float
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Float -> IO ()
forall a. GObject a => a -> String -> Float -> IO ()
B.Properties.setObjectPropertyFloat o
obj String
"scale-center-x" Float
val
constructActorScaleCenterX :: (IsActor o, MIO.MonadIO m) => Float -> m (GValueConstruct o)
constructActorScaleCenterX :: forall o (m :: * -> *).
(IsActor o, MonadIO m) =>
Float -> m (GValueConstruct o)
constructActorScaleCenterX Float
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Float -> IO (GValueConstruct o)
forall o. String -> Float -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyFloat String
"scale-center-x" Float
val
#if defined(ENABLE_OVERLOADING)
data ActorScaleCenterXPropertyInfo
instance AttrInfo ActorScaleCenterXPropertyInfo where
type AttrAllowedOps ActorScaleCenterXPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ActorScaleCenterXPropertyInfo = IsActor
type AttrSetTypeConstraint ActorScaleCenterXPropertyInfo = (~) Float
type AttrTransferTypeConstraint ActorScaleCenterXPropertyInfo = (~) Float
type AttrTransferType ActorScaleCenterXPropertyInfo = Float
type AttrGetType ActorScaleCenterXPropertyInfo = Float
type AttrLabel ActorScaleCenterXPropertyInfo = "scale-center-x"
type AttrOrigin ActorScaleCenterXPropertyInfo = Actor
attrGet = getActorScaleCenterX
attrSet = setActorScaleCenterX
attrTransfer _ v = do
return v
attrConstruct = constructActorScaleCenterX
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.scaleCenterX"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:scaleCenterX"
})
#endif
getActorScaleCenterY :: (MonadIO m, IsActor o) => o -> m Float
getActorScaleCenterY :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m Float
getActorScaleCenterY o
obj = IO Float -> m Float
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Float -> m Float) -> IO Float -> m Float
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Float
forall a. GObject a => a -> String -> IO Float
B.Properties.getObjectPropertyFloat o
obj String
"scale-center-y"
setActorScaleCenterY :: (MonadIO m, IsActor o) => o -> Float -> m ()
setActorScaleCenterY :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> Float -> m ()
setActorScaleCenterY o
obj Float
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Float -> IO ()
forall a. GObject a => a -> String -> Float -> IO ()
B.Properties.setObjectPropertyFloat o
obj String
"scale-center-y" Float
val
constructActorScaleCenterY :: (IsActor o, MIO.MonadIO m) => Float -> m (GValueConstruct o)
constructActorScaleCenterY :: forall o (m :: * -> *).
(IsActor o, MonadIO m) =>
Float -> m (GValueConstruct o)
constructActorScaleCenterY Float
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Float -> IO (GValueConstruct o)
forall o. String -> Float -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyFloat String
"scale-center-y" Float
val
#if defined(ENABLE_OVERLOADING)
data ActorScaleCenterYPropertyInfo
instance AttrInfo ActorScaleCenterYPropertyInfo where
type AttrAllowedOps ActorScaleCenterYPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ActorScaleCenterYPropertyInfo = IsActor
type AttrSetTypeConstraint ActorScaleCenterYPropertyInfo = (~) Float
type AttrTransferTypeConstraint ActorScaleCenterYPropertyInfo = (~) Float
type AttrTransferType ActorScaleCenterYPropertyInfo = Float
type AttrGetType ActorScaleCenterYPropertyInfo = Float
type AttrLabel ActorScaleCenterYPropertyInfo = "scale-center-y"
type AttrOrigin ActorScaleCenterYPropertyInfo = Actor
attrGet = getActorScaleCenterY
attrSet = setActorScaleCenterY
attrTransfer _ v = do
return v
attrConstruct = constructActorScaleCenterY
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.scaleCenterY"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:scaleCenterY"
})
#endif
getActorScaleGravity :: (MonadIO m, IsActor o) => o -> m Clutter.Enums.Gravity
getActorScaleGravity :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m Gravity
getActorScaleGravity o
obj = IO Gravity -> m Gravity
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Gravity -> m Gravity) -> IO Gravity -> m Gravity
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Gravity
forall a b. (GObject a, Enum b, BoxedEnum b) => a -> String -> IO b
B.Properties.getObjectPropertyEnum o
obj String
"scale-gravity"
setActorScaleGravity :: (MonadIO m, IsActor o) => o -> Clutter.Enums.Gravity -> m ()
setActorScaleGravity :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> Gravity -> m ()
setActorScaleGravity o
obj Gravity
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Gravity -> IO ()
forall a b.
(GObject a, Enum b, BoxedEnum b) =>
a -> String -> b -> IO ()
B.Properties.setObjectPropertyEnum o
obj String
"scale-gravity" Gravity
val
constructActorScaleGravity :: (IsActor o, MIO.MonadIO m) => Clutter.Enums.Gravity -> m (GValueConstruct o)
constructActorScaleGravity :: forall o (m :: * -> *).
(IsActor o, MonadIO m) =>
Gravity -> m (GValueConstruct o)
constructActorScaleGravity Gravity
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Gravity -> IO (GValueConstruct o)
forall a o.
(Enum a, BoxedEnum a) =>
String -> a -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyEnum String
"scale-gravity" Gravity
val
#if defined(ENABLE_OVERLOADING)
data ActorScaleGravityPropertyInfo
instance AttrInfo ActorScaleGravityPropertyInfo where
type AttrAllowedOps ActorScaleGravityPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ActorScaleGravityPropertyInfo = IsActor
type AttrSetTypeConstraint ActorScaleGravityPropertyInfo = (~) Clutter.Enums.Gravity
type AttrTransferTypeConstraint ActorScaleGravityPropertyInfo = (~) Clutter.Enums.Gravity
type AttrTransferType ActorScaleGravityPropertyInfo = Clutter.Enums.Gravity
type AttrGetType ActorScaleGravityPropertyInfo = Clutter.Enums.Gravity
type AttrLabel ActorScaleGravityPropertyInfo = "scale-gravity"
type AttrOrigin ActorScaleGravityPropertyInfo = Actor
attrGet = getActorScaleGravity
attrSet = setActorScaleGravity
attrTransfer _ v = do
return v
attrConstruct = constructActorScaleGravity
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.scaleGravity"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:scaleGravity"
})
#endif
getActorScaleX :: (MonadIO m, IsActor o) => o -> m Double
getActorScaleX :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m Double
getActorScaleX o
obj = IO Double -> m Double
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Double -> m Double) -> IO Double -> m Double
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Double
forall a. GObject a => a -> String -> IO Double
B.Properties.getObjectPropertyDouble o
obj String
"scale-x"
setActorScaleX :: (MonadIO m, IsActor o) => o -> Double -> m ()
setActorScaleX :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> Double -> m ()
setActorScaleX o
obj Double
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Double -> IO ()
forall a. GObject a => a -> String -> Double -> IO ()
B.Properties.setObjectPropertyDouble o
obj String
"scale-x" Double
val
constructActorScaleX :: (IsActor o, MIO.MonadIO m) => Double -> m (GValueConstruct o)
constructActorScaleX :: forall o (m :: * -> *).
(IsActor o, MonadIO m) =>
Double -> m (GValueConstruct o)
constructActorScaleX Double
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Double -> IO (GValueConstruct o)
forall o. String -> Double -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyDouble String
"scale-x" Double
val
#if defined(ENABLE_OVERLOADING)
data ActorScaleXPropertyInfo
instance AttrInfo ActorScaleXPropertyInfo where
type AttrAllowedOps ActorScaleXPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ActorScaleXPropertyInfo = IsActor
type AttrSetTypeConstraint ActorScaleXPropertyInfo = (~) Double
type AttrTransferTypeConstraint ActorScaleXPropertyInfo = (~) Double
type AttrTransferType ActorScaleXPropertyInfo = Double
type AttrGetType ActorScaleXPropertyInfo = Double
type AttrLabel ActorScaleXPropertyInfo = "scale-x"
type AttrOrigin ActorScaleXPropertyInfo = Actor
attrGet = getActorScaleX
attrSet = setActorScaleX
attrTransfer _ v = do
return v
attrConstruct = constructActorScaleX
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.scaleX"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:scaleX"
})
#endif
getActorScaleY :: (MonadIO m, IsActor o) => o -> m Double
getActorScaleY :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m Double
getActorScaleY o
obj = IO Double -> m Double
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Double -> m Double) -> IO Double -> m Double
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Double
forall a. GObject a => a -> String -> IO Double
B.Properties.getObjectPropertyDouble o
obj String
"scale-y"
setActorScaleY :: (MonadIO m, IsActor o) => o -> Double -> m ()
setActorScaleY :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> Double -> m ()
setActorScaleY o
obj Double
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Double -> IO ()
forall a. GObject a => a -> String -> Double -> IO ()
B.Properties.setObjectPropertyDouble o
obj String
"scale-y" Double
val
constructActorScaleY :: (IsActor o, MIO.MonadIO m) => Double -> m (GValueConstruct o)
constructActorScaleY :: forall o (m :: * -> *).
(IsActor o, MonadIO m) =>
Double -> m (GValueConstruct o)
constructActorScaleY Double
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Double -> IO (GValueConstruct o)
forall o. String -> Double -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyDouble String
"scale-y" Double
val
#if defined(ENABLE_OVERLOADING)
data ActorScaleYPropertyInfo
instance AttrInfo ActorScaleYPropertyInfo where
type AttrAllowedOps ActorScaleYPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ActorScaleYPropertyInfo = IsActor
type AttrSetTypeConstraint ActorScaleYPropertyInfo = (~) Double
type AttrTransferTypeConstraint ActorScaleYPropertyInfo = (~) Double
type AttrTransferType ActorScaleYPropertyInfo = Double
type AttrGetType ActorScaleYPropertyInfo = Double
type AttrLabel ActorScaleYPropertyInfo = "scale-y"
type AttrOrigin ActorScaleYPropertyInfo = Actor
attrGet = getActorScaleY
attrSet = setActorScaleY
attrTransfer _ v = do
return v
attrConstruct = constructActorScaleY
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.scaleY"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:scaleY"
})
#endif
getActorScaleZ :: (MonadIO m, IsActor o) => o -> m Double
getActorScaleZ :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m Double
getActorScaleZ o
obj = IO Double -> m Double
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Double -> m Double) -> IO Double -> m Double
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Double
forall a. GObject a => a -> String -> IO Double
B.Properties.getObjectPropertyDouble o
obj String
"scale-z"
setActorScaleZ :: (MonadIO m, IsActor o) => o -> Double -> m ()
setActorScaleZ :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> Double -> m ()
setActorScaleZ o
obj Double
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Double -> IO ()
forall a. GObject a => a -> String -> Double -> IO ()
B.Properties.setObjectPropertyDouble o
obj String
"scale-z" Double
val
constructActorScaleZ :: (IsActor o, MIO.MonadIO m) => Double -> m (GValueConstruct o)
constructActorScaleZ :: forall o (m :: * -> *).
(IsActor o, MonadIO m) =>
Double -> m (GValueConstruct o)
constructActorScaleZ Double
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Double -> IO (GValueConstruct o)
forall o. String -> Double -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyDouble String
"scale-z" Double
val
#if defined(ENABLE_OVERLOADING)
data ActorScaleZPropertyInfo
instance AttrInfo ActorScaleZPropertyInfo where
type AttrAllowedOps ActorScaleZPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ActorScaleZPropertyInfo = IsActor
type AttrSetTypeConstraint ActorScaleZPropertyInfo = (~) Double
type AttrTransferTypeConstraint ActorScaleZPropertyInfo = (~) Double
type AttrTransferType ActorScaleZPropertyInfo = Double
type AttrGetType ActorScaleZPropertyInfo = Double
type AttrLabel ActorScaleZPropertyInfo = "scale-z"
type AttrOrigin ActorScaleZPropertyInfo = Actor
attrGet = getActorScaleZ
attrSet = setActorScaleZ
attrTransfer _ v = do
return v
attrConstruct = constructActorScaleZ
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.scaleZ"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:scaleZ"
})
#endif
getActorShowOnSetParent :: (MonadIO m, IsActor o) => o -> m Bool
getActorShowOnSetParent :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m Bool
getActorShowOnSetParent o
obj = IO Bool -> m Bool
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Bool
forall a. GObject a => a -> String -> IO Bool
B.Properties.getObjectPropertyBool o
obj String
"show-on-set-parent"
setActorShowOnSetParent :: (MonadIO m, IsActor o) => o -> Bool -> m ()
setActorShowOnSetParent :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> Bool -> m ()
setActorShowOnSetParent o
obj Bool
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Bool -> IO ()
forall a. GObject a => a -> String -> Bool -> IO ()
B.Properties.setObjectPropertyBool o
obj String
"show-on-set-parent" Bool
val
constructActorShowOnSetParent :: (IsActor o, MIO.MonadIO m) => Bool -> m (GValueConstruct o)
constructActorShowOnSetParent :: forall o (m :: * -> *).
(IsActor o, MonadIO m) =>
Bool -> m (GValueConstruct o)
constructActorShowOnSetParent Bool
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Bool -> IO (GValueConstruct o)
forall o. String -> Bool -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyBool String
"show-on-set-parent" Bool
val
#if defined(ENABLE_OVERLOADING)
data ActorShowOnSetParentPropertyInfo
instance AttrInfo ActorShowOnSetParentPropertyInfo where
type AttrAllowedOps ActorShowOnSetParentPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ActorShowOnSetParentPropertyInfo = IsActor
type AttrSetTypeConstraint ActorShowOnSetParentPropertyInfo = (~) Bool
type AttrTransferTypeConstraint ActorShowOnSetParentPropertyInfo = (~) Bool
type AttrTransferType ActorShowOnSetParentPropertyInfo = Bool
type AttrGetType ActorShowOnSetParentPropertyInfo = Bool
type AttrLabel ActorShowOnSetParentPropertyInfo = "show-on-set-parent"
type AttrOrigin ActorShowOnSetParentPropertyInfo = Actor
attrGet = getActorShowOnSetParent
attrSet = setActorShowOnSetParent
attrTransfer _ v = do
return v
attrConstruct = constructActorShowOnSetParent
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.showOnSetParent"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:showOnSetParent"
})
#endif
getActorSize :: (MonadIO m, IsActor o) => o -> m (Maybe Clutter.Size.Size)
getActorSize :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> m (Maybe Size)
getActorSize o
obj = IO (Maybe Size) -> m (Maybe Size)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (Maybe Size) -> m (Maybe Size))
-> IO (Maybe Size) -> m (Maybe Size)
forall a b. (a -> b) -> a -> b
$ o -> String -> (ManagedPtr Size -> Size) -> IO (Maybe Size)
forall a b.
(GObject a, GBoxed b) =>
a -> String -> (ManagedPtr b -> b) -> IO (Maybe b)
B.Properties.getObjectPropertyBoxed o
obj String
"size" ManagedPtr Size -> Size
Clutter.Size.Size
setActorSize :: (MonadIO m, IsActor o) => o -> Clutter.Size.Size -> m ()
setActorSize :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> Size -> m ()
setActorSize o
obj Size
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Maybe Size -> IO ()
forall a b.
(GObject a, GBoxed b) =>
a -> String -> Maybe b -> IO ()
B.Properties.setObjectPropertyBoxed o
obj String
"size" (Size -> Maybe Size
forall a. a -> Maybe a
Just Size
val)
constructActorSize :: (IsActor o, MIO.MonadIO m) => Clutter.Size.Size -> m (GValueConstruct o)
constructActorSize :: forall o (m :: * -> *).
(IsActor o, MonadIO m) =>
Size -> m (GValueConstruct o)
constructActorSize Size
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Maybe Size -> IO (GValueConstruct o)
forall a o. GBoxed a => String -> Maybe a -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyBoxed String
"size" (Size -> Maybe Size
forall a. a -> Maybe a
P.Just Size
val)
clearActorSize :: (MonadIO m, IsActor o) => o -> m ()
clearActorSize :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m ()
clearActorSize o
obj = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ o -> String -> Maybe Size -> IO ()
forall a b.
(GObject a, GBoxed b) =>
a -> String -> Maybe b -> IO ()
B.Properties.setObjectPropertyBoxed o
obj String
"size" (Maybe Size
forall a. Maybe a
Nothing :: Maybe Clutter.Size.Size)
#if defined(ENABLE_OVERLOADING)
data ActorSizePropertyInfo
instance AttrInfo ActorSizePropertyInfo where
type AttrAllowedOps ActorSizePropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet, 'AttrClear]
type AttrBaseTypeConstraint ActorSizePropertyInfo = IsActor
type AttrSetTypeConstraint ActorSizePropertyInfo = (~) Clutter.Size.Size
type AttrTransferTypeConstraint ActorSizePropertyInfo = (~) Clutter.Size.Size
type AttrTransferType ActorSizePropertyInfo = Clutter.Size.Size
type AttrGetType ActorSizePropertyInfo = (Maybe Clutter.Size.Size)
type AttrLabel ActorSizePropertyInfo = "size"
type AttrOrigin ActorSizePropertyInfo = Actor
attrGet = getActorSize
attrSet = setActorSize
attrTransfer _ v = do
return v
attrConstruct = constructActorSize
attrClear = clearActorSize
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.size"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:size"
})
#endif
getActorTextDirection :: (MonadIO m, IsActor o) => o -> m Clutter.Enums.TextDirection
getActorTextDirection :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> m TextDirection
getActorTextDirection o
obj = IO TextDirection -> m TextDirection
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO TextDirection -> m TextDirection)
-> IO TextDirection -> m TextDirection
forall a b. (a -> b) -> a -> b
$ o -> String -> IO TextDirection
forall a b. (GObject a, Enum b, BoxedEnum b) => a -> String -> IO b
B.Properties.getObjectPropertyEnum o
obj String
"text-direction"
setActorTextDirection :: (MonadIO m, IsActor o) => o -> Clutter.Enums.TextDirection -> m ()
setActorTextDirection :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> TextDirection -> m ()
setActorTextDirection o
obj TextDirection
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> TextDirection -> IO ()
forall a b.
(GObject a, Enum b, BoxedEnum b) =>
a -> String -> b -> IO ()
B.Properties.setObjectPropertyEnum o
obj String
"text-direction" TextDirection
val
constructActorTextDirection :: (IsActor o, MIO.MonadIO m) => Clutter.Enums.TextDirection -> m (GValueConstruct o)
constructActorTextDirection :: forall o (m :: * -> *).
(IsActor o, MonadIO m) =>
TextDirection -> m (GValueConstruct o)
constructActorTextDirection TextDirection
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> TextDirection -> IO (GValueConstruct o)
forall a o.
(Enum a, BoxedEnum a) =>
String -> a -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyEnum String
"text-direction" TextDirection
val
#if defined(ENABLE_OVERLOADING)
data ActorTextDirectionPropertyInfo
instance AttrInfo ActorTextDirectionPropertyInfo where
type AttrAllowedOps ActorTextDirectionPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ActorTextDirectionPropertyInfo = IsActor
type AttrSetTypeConstraint ActorTextDirectionPropertyInfo = (~) Clutter.Enums.TextDirection
type AttrTransferTypeConstraint ActorTextDirectionPropertyInfo = (~) Clutter.Enums.TextDirection
type AttrTransferType ActorTextDirectionPropertyInfo = Clutter.Enums.TextDirection
type AttrGetType ActorTextDirectionPropertyInfo = Clutter.Enums.TextDirection
type AttrLabel ActorTextDirectionPropertyInfo = "text-direction"
type AttrOrigin ActorTextDirectionPropertyInfo = Actor
attrGet = getActorTextDirection
attrSet = setActorTextDirection
attrTransfer _ v = do
return v
attrConstruct = constructActorTextDirection
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.textDirection"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:textDirection"
})
#endif
getActorTransform :: (MonadIO m, IsActor o) => o -> m (Maybe Clutter.Matrix.Matrix)
getActorTransform :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> m (Maybe Matrix)
getActorTransform o
obj = IO (Maybe Matrix) -> m (Maybe Matrix)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (Maybe Matrix) -> m (Maybe Matrix))
-> IO (Maybe Matrix) -> m (Maybe Matrix)
forall a b. (a -> b) -> a -> b
$ o -> String -> (ManagedPtr Matrix -> Matrix) -> IO (Maybe Matrix)
forall a b.
(GObject a, GBoxed b) =>
a -> String -> (ManagedPtr b -> b) -> IO (Maybe b)
B.Properties.getObjectPropertyBoxed o
obj String
"transform" ManagedPtr Matrix -> Matrix
Clutter.Matrix.Matrix
setActorTransform :: (MonadIO m, IsActor o) => o -> Clutter.Matrix.Matrix -> m ()
setActorTransform :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> Matrix -> m ()
setActorTransform o
obj Matrix
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Maybe Matrix -> IO ()
forall a b.
(GObject a, GBoxed b) =>
a -> String -> Maybe b -> IO ()
B.Properties.setObjectPropertyBoxed o
obj String
"transform" (Matrix -> Maybe Matrix
forall a. a -> Maybe a
Just Matrix
val)
constructActorTransform :: (IsActor o, MIO.MonadIO m) => Clutter.Matrix.Matrix -> m (GValueConstruct o)
constructActorTransform :: forall o (m :: * -> *).
(IsActor o, MonadIO m) =>
Matrix -> m (GValueConstruct o)
constructActorTransform Matrix
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Maybe Matrix -> IO (GValueConstruct o)
forall a o. GBoxed a => String -> Maybe a -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyBoxed String
"transform" (Matrix -> Maybe Matrix
forall a. a -> Maybe a
P.Just Matrix
val)
clearActorTransform :: (MonadIO m, IsActor o) => o -> m ()
clearActorTransform :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m ()
clearActorTransform o
obj = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ o -> String -> Maybe Matrix -> IO ()
forall a b.
(GObject a, GBoxed b) =>
a -> String -> Maybe b -> IO ()
B.Properties.setObjectPropertyBoxed o
obj String
"transform" (Maybe Matrix
forall a. Maybe a
Nothing :: Maybe Clutter.Matrix.Matrix)
#if defined(ENABLE_OVERLOADING)
data ActorTransformPropertyInfo
instance AttrInfo ActorTransformPropertyInfo where
type AttrAllowedOps ActorTransformPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet, 'AttrClear]
type AttrBaseTypeConstraint ActorTransformPropertyInfo = IsActor
type AttrSetTypeConstraint ActorTransformPropertyInfo = (~) Clutter.Matrix.Matrix
type AttrTransferTypeConstraint ActorTransformPropertyInfo = (~) Clutter.Matrix.Matrix
type AttrTransferType ActorTransformPropertyInfo = Clutter.Matrix.Matrix
type AttrGetType ActorTransformPropertyInfo = (Maybe Clutter.Matrix.Matrix)
type AttrLabel ActorTransformPropertyInfo = "transform"
type AttrOrigin ActorTransformPropertyInfo = Actor
attrGet = getActorTransform
attrSet = setActorTransform
attrTransfer _ v = do
return v
attrConstruct = constructActorTransform
attrClear = clearActorTransform
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.transform"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:transform"
})
#endif
getActorTransformSet :: (MonadIO m, IsActor o) => o -> m Bool
getActorTransformSet :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m Bool
getActorTransformSet o
obj = IO Bool -> m Bool
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Bool
forall a. GObject a => a -> String -> IO Bool
B.Properties.getObjectPropertyBool o
obj String
"transform-set"
#if defined(ENABLE_OVERLOADING)
data ActorTransformSetPropertyInfo
instance AttrInfo ActorTransformSetPropertyInfo where
type AttrAllowedOps ActorTransformSetPropertyInfo = '[ 'AttrGet]
type AttrBaseTypeConstraint ActorTransformSetPropertyInfo = IsActor
type AttrSetTypeConstraint ActorTransformSetPropertyInfo = (~) ()
type AttrTransferTypeConstraint ActorTransformSetPropertyInfo = (~) ()
type AttrTransferType ActorTransformSetPropertyInfo = ()
type AttrGetType ActorTransformSetPropertyInfo = Bool
type AttrLabel ActorTransformSetPropertyInfo = "transform-set"
type AttrOrigin ActorTransformSetPropertyInfo = Actor
attrGet = getActorTransformSet
attrSet = undefined
attrTransfer _ = undefined
attrConstruct = undefined
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.transformSet"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:transformSet"
})
#endif
getActorTranslationX :: (MonadIO m, IsActor o) => o -> m Float
getActorTranslationX :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m Float
getActorTranslationX o
obj = IO Float -> m Float
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Float -> m Float) -> IO Float -> m Float
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Float
forall a. GObject a => a -> String -> IO Float
B.Properties.getObjectPropertyFloat o
obj String
"translation-x"
setActorTranslationX :: (MonadIO m, IsActor o) => o -> Float -> m ()
setActorTranslationX :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> Float -> m ()
setActorTranslationX o
obj Float
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Float -> IO ()
forall a. GObject a => a -> String -> Float -> IO ()
B.Properties.setObjectPropertyFloat o
obj String
"translation-x" Float
val
constructActorTranslationX :: (IsActor o, MIO.MonadIO m) => Float -> m (GValueConstruct o)
constructActorTranslationX :: forall o (m :: * -> *).
(IsActor o, MonadIO m) =>
Float -> m (GValueConstruct o)
constructActorTranslationX Float
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Float -> IO (GValueConstruct o)
forall o. String -> Float -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyFloat String
"translation-x" Float
val
#if defined(ENABLE_OVERLOADING)
data ActorTranslationXPropertyInfo
instance AttrInfo ActorTranslationXPropertyInfo where
type AttrAllowedOps ActorTranslationXPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ActorTranslationXPropertyInfo = IsActor
type AttrSetTypeConstraint ActorTranslationXPropertyInfo = (~) Float
type AttrTransferTypeConstraint ActorTranslationXPropertyInfo = (~) Float
type AttrTransferType ActorTranslationXPropertyInfo = Float
type AttrGetType ActorTranslationXPropertyInfo = Float
type AttrLabel ActorTranslationXPropertyInfo = "translation-x"
type AttrOrigin ActorTranslationXPropertyInfo = Actor
attrGet = getActorTranslationX
attrSet = setActorTranslationX
attrTransfer _ v = do
return v
attrConstruct = constructActorTranslationX
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.translationX"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:translationX"
})
#endif
getActorTranslationY :: (MonadIO m, IsActor o) => o -> m Float
getActorTranslationY :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m Float
getActorTranslationY o
obj = IO Float -> m Float
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Float -> m Float) -> IO Float -> m Float
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Float
forall a. GObject a => a -> String -> IO Float
B.Properties.getObjectPropertyFloat o
obj String
"translation-y"
setActorTranslationY :: (MonadIO m, IsActor o) => o -> Float -> m ()
setActorTranslationY :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> Float -> m ()
setActorTranslationY o
obj Float
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Float -> IO ()
forall a. GObject a => a -> String -> Float -> IO ()
B.Properties.setObjectPropertyFloat o
obj String
"translation-y" Float
val
constructActorTranslationY :: (IsActor o, MIO.MonadIO m) => Float -> m (GValueConstruct o)
constructActorTranslationY :: forall o (m :: * -> *).
(IsActor o, MonadIO m) =>
Float -> m (GValueConstruct o)
constructActorTranslationY Float
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Float -> IO (GValueConstruct o)
forall o. String -> Float -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyFloat String
"translation-y" Float
val
#if defined(ENABLE_OVERLOADING)
data ActorTranslationYPropertyInfo
instance AttrInfo ActorTranslationYPropertyInfo where
type AttrAllowedOps ActorTranslationYPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ActorTranslationYPropertyInfo = IsActor
type AttrSetTypeConstraint ActorTranslationYPropertyInfo = (~) Float
type AttrTransferTypeConstraint ActorTranslationYPropertyInfo = (~) Float
type AttrTransferType ActorTranslationYPropertyInfo = Float
type AttrGetType ActorTranslationYPropertyInfo = Float
type AttrLabel ActorTranslationYPropertyInfo = "translation-y"
type AttrOrigin ActorTranslationYPropertyInfo = Actor
attrGet = getActorTranslationY
attrSet = setActorTranslationY
attrTransfer _ v = do
return v
attrConstruct = constructActorTranslationY
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.translationY"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:translationY"
})
#endif
getActorTranslationZ :: (MonadIO m, IsActor o) => o -> m Float
getActorTranslationZ :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m Float
getActorTranslationZ o
obj = IO Float -> m Float
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Float -> m Float) -> IO Float -> m Float
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Float
forall a. GObject a => a -> String -> IO Float
B.Properties.getObjectPropertyFloat o
obj String
"translation-z"
setActorTranslationZ :: (MonadIO m, IsActor o) => o -> Float -> m ()
setActorTranslationZ :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> Float -> m ()
setActorTranslationZ o
obj Float
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Float -> IO ()
forall a. GObject a => a -> String -> Float -> IO ()
B.Properties.setObjectPropertyFloat o
obj String
"translation-z" Float
val
constructActorTranslationZ :: (IsActor o, MIO.MonadIO m) => Float -> m (GValueConstruct o)
constructActorTranslationZ :: forall o (m :: * -> *).
(IsActor o, MonadIO m) =>
Float -> m (GValueConstruct o)
constructActorTranslationZ Float
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Float -> IO (GValueConstruct o)
forall o. String -> Float -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyFloat String
"translation-z" Float
val
#if defined(ENABLE_OVERLOADING)
data ActorTranslationZPropertyInfo
instance AttrInfo ActorTranslationZPropertyInfo where
type AttrAllowedOps ActorTranslationZPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ActorTranslationZPropertyInfo = IsActor
type AttrSetTypeConstraint ActorTranslationZPropertyInfo = (~) Float
type AttrTransferTypeConstraint ActorTranslationZPropertyInfo = (~) Float
type AttrTransferType ActorTranslationZPropertyInfo = Float
type AttrGetType ActorTranslationZPropertyInfo = Float
type AttrLabel ActorTranslationZPropertyInfo = "translation-z"
type AttrOrigin ActorTranslationZPropertyInfo = Actor
attrGet = getActorTranslationZ
attrSet = setActorTranslationZ
attrTransfer _ v = do
return v
attrConstruct = constructActorTranslationZ
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.translationZ"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:translationZ"
})
#endif
getActorVisible :: (MonadIO m, IsActor o) => o -> m Bool
getActorVisible :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m Bool
getActorVisible o
obj = IO Bool -> m Bool
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Bool
forall a. GObject a => a -> String -> IO Bool
B.Properties.getObjectPropertyBool o
obj String
"visible"
setActorVisible :: (MonadIO m, IsActor o) => o -> Bool -> m ()
setActorVisible :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> Bool -> m ()
setActorVisible o
obj Bool
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Bool -> IO ()
forall a. GObject a => a -> String -> Bool -> IO ()
B.Properties.setObjectPropertyBool o
obj String
"visible" Bool
val
constructActorVisible :: (IsActor o, MIO.MonadIO m) => Bool -> m (GValueConstruct o)
constructActorVisible :: forall o (m :: * -> *).
(IsActor o, MonadIO m) =>
Bool -> m (GValueConstruct o)
constructActorVisible Bool
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Bool -> IO (GValueConstruct o)
forall o. String -> Bool -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyBool String
"visible" Bool
val
#if defined(ENABLE_OVERLOADING)
data ActorVisiblePropertyInfo
instance AttrInfo ActorVisiblePropertyInfo where
type AttrAllowedOps ActorVisiblePropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ActorVisiblePropertyInfo = IsActor
type AttrSetTypeConstraint ActorVisiblePropertyInfo = (~) Bool
type AttrTransferTypeConstraint ActorVisiblePropertyInfo = (~) Bool
type AttrTransferType ActorVisiblePropertyInfo = Bool
type AttrGetType ActorVisiblePropertyInfo = Bool
type AttrLabel ActorVisiblePropertyInfo = "visible"
type AttrOrigin ActorVisiblePropertyInfo = Actor
attrGet = getActorVisible
attrSet = setActorVisible
attrTransfer _ v = do
return v
attrConstruct = constructActorVisible
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.visible"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:visible"
})
#endif
getActorWidth :: (MonadIO m, IsActor o) => o -> m Float
getActorWidth :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m Float
getActorWidth o
obj = IO Float -> m Float
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Float -> m Float) -> IO Float -> m Float
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Float
forall a. GObject a => a -> String -> IO Float
B.Properties.getObjectPropertyFloat o
obj String
"width"
setActorWidth :: (MonadIO m, IsActor o) => o -> Float -> m ()
setActorWidth :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> Float -> m ()
setActorWidth o
obj Float
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Float -> IO ()
forall a. GObject a => a -> String -> Float -> IO ()
B.Properties.setObjectPropertyFloat o
obj String
"width" Float
val
constructActorWidth :: (IsActor o, MIO.MonadIO m) => Float -> m (GValueConstruct o)
constructActorWidth :: forall o (m :: * -> *).
(IsActor o, MonadIO m) =>
Float -> m (GValueConstruct o)
constructActorWidth Float
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Float -> IO (GValueConstruct o)
forall o. String -> Float -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyFloat String
"width" Float
val
#if defined(ENABLE_OVERLOADING)
data ActorWidthPropertyInfo
instance AttrInfo ActorWidthPropertyInfo where
type AttrAllowedOps ActorWidthPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ActorWidthPropertyInfo = IsActor
type AttrSetTypeConstraint ActorWidthPropertyInfo = (~) Float
type AttrTransferTypeConstraint ActorWidthPropertyInfo = (~) Float
type AttrTransferType ActorWidthPropertyInfo = Float
type AttrGetType ActorWidthPropertyInfo = Float
type AttrLabel ActorWidthPropertyInfo = "width"
type AttrOrigin ActorWidthPropertyInfo = Actor
attrGet = getActorWidth
attrSet = setActorWidth
attrTransfer _ v = do
return v
attrConstruct = constructActorWidth
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.width"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:width"
})
#endif
getActorX :: (MonadIO m, IsActor o) => o -> m Float
getActorX :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m Float
getActorX o
obj = IO Float -> m Float
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Float -> m Float) -> IO Float -> m Float
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Float
forall a. GObject a => a -> String -> IO Float
B.Properties.getObjectPropertyFloat o
obj String
"x"
setActorX :: (MonadIO m, IsActor o) => o -> Float -> m ()
setActorX :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> Float -> m ()
setActorX o
obj Float
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Float -> IO ()
forall a. GObject a => a -> String -> Float -> IO ()
B.Properties.setObjectPropertyFloat o
obj String
"x" Float
val
constructActorX :: (IsActor o, MIO.MonadIO m) => Float -> m (GValueConstruct o)
constructActorX :: forall o (m :: * -> *).
(IsActor o, MonadIO m) =>
Float -> m (GValueConstruct o)
constructActorX Float
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Float -> IO (GValueConstruct o)
forall o. String -> Float -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyFloat String
"x" Float
val
#if defined(ENABLE_OVERLOADING)
data ActorXPropertyInfo
instance AttrInfo ActorXPropertyInfo where
type AttrAllowedOps ActorXPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ActorXPropertyInfo = IsActor
type AttrSetTypeConstraint ActorXPropertyInfo = (~) Float
type AttrTransferTypeConstraint ActorXPropertyInfo = (~) Float
type AttrTransferType ActorXPropertyInfo = Float
type AttrGetType ActorXPropertyInfo = Float
type AttrLabel ActorXPropertyInfo = "x"
type AttrOrigin ActorXPropertyInfo = Actor
attrGet = getActorX
attrSet = setActorX
attrTransfer _ v = do
return v
attrConstruct = constructActorX
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.x"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:x"
})
#endif
getActorXAlign :: (MonadIO m, IsActor o) => o -> m Clutter.Enums.ActorAlign
getActorXAlign :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m ActorAlign
getActorXAlign o
obj = IO ActorAlign -> m ActorAlign
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO ActorAlign -> m ActorAlign) -> IO ActorAlign -> m ActorAlign
forall a b. (a -> b) -> a -> b
$ o -> String -> IO ActorAlign
forall a b. (GObject a, Enum b, BoxedEnum b) => a -> String -> IO b
B.Properties.getObjectPropertyEnum o
obj String
"x-align"
setActorXAlign :: (MonadIO m, IsActor o) => o -> Clutter.Enums.ActorAlign -> m ()
setActorXAlign :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> ActorAlign -> m ()
setActorXAlign o
obj ActorAlign
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> ActorAlign -> IO ()
forall a b.
(GObject a, Enum b, BoxedEnum b) =>
a -> String -> b -> IO ()
B.Properties.setObjectPropertyEnum o
obj String
"x-align" ActorAlign
val
constructActorXAlign :: (IsActor o, MIO.MonadIO m) => Clutter.Enums.ActorAlign -> m (GValueConstruct o)
constructActorXAlign :: forall o (m :: * -> *).
(IsActor o, MonadIO m) =>
ActorAlign -> m (GValueConstruct o)
constructActorXAlign ActorAlign
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> ActorAlign -> IO (GValueConstruct o)
forall a o.
(Enum a, BoxedEnum a) =>
String -> a -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyEnum String
"x-align" ActorAlign
val
#if defined(ENABLE_OVERLOADING)
data ActorXAlignPropertyInfo
instance AttrInfo ActorXAlignPropertyInfo where
type AttrAllowedOps ActorXAlignPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ActorXAlignPropertyInfo = IsActor
type AttrSetTypeConstraint ActorXAlignPropertyInfo = (~) Clutter.Enums.ActorAlign
type AttrTransferTypeConstraint ActorXAlignPropertyInfo = (~) Clutter.Enums.ActorAlign
type AttrTransferType ActorXAlignPropertyInfo = Clutter.Enums.ActorAlign
type AttrGetType ActorXAlignPropertyInfo = Clutter.Enums.ActorAlign
type AttrLabel ActorXAlignPropertyInfo = "x-align"
type AttrOrigin ActorXAlignPropertyInfo = Actor
attrGet = getActorXAlign
attrSet = setActorXAlign
attrTransfer _ v = do
return v
attrConstruct = constructActorXAlign
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.xAlign"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:xAlign"
})
#endif
getActorXExpand :: (MonadIO m, IsActor o) => o -> m Bool
getActorXExpand :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m Bool
getActorXExpand o
obj = IO Bool -> m Bool
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Bool
forall a. GObject a => a -> String -> IO Bool
B.Properties.getObjectPropertyBool o
obj String
"x-expand"
setActorXExpand :: (MonadIO m, IsActor o) => o -> Bool -> m ()
setActorXExpand :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> Bool -> m ()
setActorXExpand o
obj Bool
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Bool -> IO ()
forall a. GObject a => a -> String -> Bool -> IO ()
B.Properties.setObjectPropertyBool o
obj String
"x-expand" Bool
val
constructActorXExpand :: (IsActor o, MIO.MonadIO m) => Bool -> m (GValueConstruct o)
constructActorXExpand :: forall o (m :: * -> *).
(IsActor o, MonadIO m) =>
Bool -> m (GValueConstruct o)
constructActorXExpand Bool
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Bool -> IO (GValueConstruct o)
forall o. String -> Bool -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyBool String
"x-expand" Bool
val
#if defined(ENABLE_OVERLOADING)
data ActorXExpandPropertyInfo
instance AttrInfo ActorXExpandPropertyInfo where
type AttrAllowedOps ActorXExpandPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ActorXExpandPropertyInfo = IsActor
type AttrSetTypeConstraint ActorXExpandPropertyInfo = (~) Bool
type AttrTransferTypeConstraint ActorXExpandPropertyInfo = (~) Bool
type AttrTransferType ActorXExpandPropertyInfo = Bool
type AttrGetType ActorXExpandPropertyInfo = Bool
type AttrLabel ActorXExpandPropertyInfo = "x-expand"
type AttrOrigin ActorXExpandPropertyInfo = Actor
attrGet = getActorXExpand
attrSet = setActorXExpand
attrTransfer _ v = do
return v
attrConstruct = constructActorXExpand
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.xExpand"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:xExpand"
})
#endif
getActorY :: (MonadIO m, IsActor o) => o -> m Float
getActorY :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m Float
getActorY o
obj = IO Float -> m Float
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Float -> m Float) -> IO Float -> m Float
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Float
forall a. GObject a => a -> String -> IO Float
B.Properties.getObjectPropertyFloat o
obj String
"y"
setActorY :: (MonadIO m, IsActor o) => o -> Float -> m ()
setActorY :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> Float -> m ()
setActorY o
obj Float
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Float -> IO ()
forall a. GObject a => a -> String -> Float -> IO ()
B.Properties.setObjectPropertyFloat o
obj String
"y" Float
val
constructActorY :: (IsActor o, MIO.MonadIO m) => Float -> m (GValueConstruct o)
constructActorY :: forall o (m :: * -> *).
(IsActor o, MonadIO m) =>
Float -> m (GValueConstruct o)
constructActorY Float
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Float -> IO (GValueConstruct o)
forall o. String -> Float -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyFloat String
"y" Float
val
#if defined(ENABLE_OVERLOADING)
data ActorYPropertyInfo
instance AttrInfo ActorYPropertyInfo where
type AttrAllowedOps ActorYPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ActorYPropertyInfo = IsActor
type AttrSetTypeConstraint ActorYPropertyInfo = (~) Float
type AttrTransferTypeConstraint ActorYPropertyInfo = (~) Float
type AttrTransferType ActorYPropertyInfo = Float
type AttrGetType ActorYPropertyInfo = Float
type AttrLabel ActorYPropertyInfo = "y"
type AttrOrigin ActorYPropertyInfo = Actor
attrGet = getActorY
attrSet = setActorY
attrTransfer _ v = do
return v
attrConstruct = constructActorY
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.y"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:y"
})
#endif
getActorYAlign :: (MonadIO m, IsActor o) => o -> m Clutter.Enums.ActorAlign
getActorYAlign :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m ActorAlign
getActorYAlign o
obj = IO ActorAlign -> m ActorAlign
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO ActorAlign -> m ActorAlign) -> IO ActorAlign -> m ActorAlign
forall a b. (a -> b) -> a -> b
$ o -> String -> IO ActorAlign
forall a b. (GObject a, Enum b, BoxedEnum b) => a -> String -> IO b
B.Properties.getObjectPropertyEnum o
obj String
"y-align"
setActorYAlign :: (MonadIO m, IsActor o) => o -> Clutter.Enums.ActorAlign -> m ()
setActorYAlign :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> ActorAlign -> m ()
setActorYAlign o
obj ActorAlign
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> ActorAlign -> IO ()
forall a b.
(GObject a, Enum b, BoxedEnum b) =>
a -> String -> b -> IO ()
B.Properties.setObjectPropertyEnum o
obj String
"y-align" ActorAlign
val
constructActorYAlign :: (IsActor o, MIO.MonadIO m) => Clutter.Enums.ActorAlign -> m (GValueConstruct o)
constructActorYAlign :: forall o (m :: * -> *).
(IsActor o, MonadIO m) =>
ActorAlign -> m (GValueConstruct o)
constructActorYAlign ActorAlign
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> ActorAlign -> IO (GValueConstruct o)
forall a o.
(Enum a, BoxedEnum a) =>
String -> a -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyEnum String
"y-align" ActorAlign
val
#if defined(ENABLE_OVERLOADING)
data ActorYAlignPropertyInfo
instance AttrInfo ActorYAlignPropertyInfo where
type AttrAllowedOps ActorYAlignPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ActorYAlignPropertyInfo = IsActor
type AttrSetTypeConstraint ActorYAlignPropertyInfo = (~) Clutter.Enums.ActorAlign
type AttrTransferTypeConstraint ActorYAlignPropertyInfo = (~) Clutter.Enums.ActorAlign
type AttrTransferType ActorYAlignPropertyInfo = Clutter.Enums.ActorAlign
type AttrGetType ActorYAlignPropertyInfo = Clutter.Enums.ActorAlign
type AttrLabel ActorYAlignPropertyInfo = "y-align"
type AttrOrigin ActorYAlignPropertyInfo = Actor
attrGet = getActorYAlign
attrSet = setActorYAlign
attrTransfer _ v = do
return v
attrConstruct = constructActorYAlign
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.yAlign"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:yAlign"
})
#endif
getActorYExpand :: (MonadIO m, IsActor o) => o -> m Bool
getActorYExpand :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m Bool
getActorYExpand o
obj = IO Bool -> m Bool
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Bool
forall a. GObject a => a -> String -> IO Bool
B.Properties.getObjectPropertyBool o
obj String
"y-expand"
setActorYExpand :: (MonadIO m, IsActor o) => o -> Bool -> m ()
setActorYExpand :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> Bool -> m ()
setActorYExpand o
obj Bool
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Bool -> IO ()
forall a. GObject a => a -> String -> Bool -> IO ()
B.Properties.setObjectPropertyBool o
obj String
"y-expand" Bool
val
constructActorYExpand :: (IsActor o, MIO.MonadIO m) => Bool -> m (GValueConstruct o)
constructActorYExpand :: forall o (m :: * -> *).
(IsActor o, MonadIO m) =>
Bool -> m (GValueConstruct o)
constructActorYExpand Bool
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Bool -> IO (GValueConstruct o)
forall o. String -> Bool -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyBool String
"y-expand" Bool
val
#if defined(ENABLE_OVERLOADING)
data ActorYExpandPropertyInfo
instance AttrInfo ActorYExpandPropertyInfo where
type AttrAllowedOps ActorYExpandPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ActorYExpandPropertyInfo = IsActor
type AttrSetTypeConstraint ActorYExpandPropertyInfo = (~) Bool
type AttrTransferTypeConstraint ActorYExpandPropertyInfo = (~) Bool
type AttrTransferType ActorYExpandPropertyInfo = Bool
type AttrGetType ActorYExpandPropertyInfo = Bool
type AttrLabel ActorYExpandPropertyInfo = "y-expand"
type AttrOrigin ActorYExpandPropertyInfo = Actor
attrGet = getActorYExpand
attrSet = setActorYExpand
attrTransfer _ v = do
return v
attrConstruct = constructActorYExpand
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.yExpand"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:yExpand"
})
#endif
getActorZPosition :: (MonadIO m, IsActor o) => o -> m Float
getActorZPosition :: forall (m :: * -> *) o. (MonadIO m, IsActor o) => o -> m Float
getActorZPosition o
obj = IO Float -> m Float
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Float -> m Float) -> IO Float -> m Float
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Float
forall a. GObject a => a -> String -> IO Float
B.Properties.getObjectPropertyFloat o
obj String
"z-position"
setActorZPosition :: (MonadIO m, IsActor o) => o -> Float -> m ()
setActorZPosition :: forall (m :: * -> *) o.
(MonadIO m, IsActor o) =>
o -> Float -> m ()
setActorZPosition o
obj Float
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Float -> IO ()
forall a. GObject a => a -> String -> Float -> IO ()
B.Properties.setObjectPropertyFloat o
obj String
"z-position" Float
val
constructActorZPosition :: (IsActor o, MIO.MonadIO m) => Float -> m (GValueConstruct o)
constructActorZPosition :: forall o (m :: * -> *).
(IsActor o, MonadIO m) =>
Float -> m (GValueConstruct o)
constructActorZPosition Float
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Float -> IO (GValueConstruct o)
forall o. String -> Float -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyFloat String
"z-position" Float
val
#if defined(ENABLE_OVERLOADING)
data ActorZPositionPropertyInfo
instance AttrInfo ActorZPositionPropertyInfo where
type AttrAllowedOps ActorZPositionPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ActorZPositionPropertyInfo = IsActor
type AttrSetTypeConstraint ActorZPositionPropertyInfo = (~) Float
type AttrTransferTypeConstraint ActorZPositionPropertyInfo = (~) Float
type AttrTransferType ActorZPositionPropertyInfo = Float
type AttrGetType ActorZPositionPropertyInfo = Float
type AttrLabel ActorZPositionPropertyInfo = "z-position"
type AttrOrigin ActorZPositionPropertyInfo = Actor
attrGet = getActorZPosition
attrSet = setActorZPosition
attrTransfer _ v = do
return v
attrConstruct = constructActorZPosition
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.zPosition"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#g:attr:zPosition"
})
#endif
#if defined(ENABLE_OVERLOADING)
instance O.HasAttributeList Actor
type instance O.AttributeList Actor = ActorAttributeList
type ActorAttributeList = ('[ '("actions", ActorActionsPropertyInfo), '("allocation", ActorAllocationPropertyInfo), '("anchorGravity", ActorAnchorGravityPropertyInfo), '("anchorX", ActorAnchorXPropertyInfo), '("anchorY", ActorAnchorYPropertyInfo), '("backgroundColor", ActorBackgroundColorPropertyInfo), '("backgroundColorSet", ActorBackgroundColorSetPropertyInfo), '("childTransform", ActorChildTransformPropertyInfo), '("childTransformSet", ActorChildTransformSetPropertyInfo), '("clip", ActorClipPropertyInfo), '("clipRect", ActorClipRectPropertyInfo), '("clipToAllocation", ActorClipToAllocationPropertyInfo), '("constraints", ActorConstraintsPropertyInfo), '("content", ActorContentPropertyInfo), '("contentBox", ActorContentBoxPropertyInfo), '("contentGravity", ActorContentGravityPropertyInfo), '("contentRepeat", ActorContentRepeatPropertyInfo), '("depth", ActorDepthPropertyInfo), '("effect", ActorEffectPropertyInfo), '("firstChild", ActorFirstChildPropertyInfo), '("fixedPositionSet", ActorFixedPositionSetPropertyInfo), '("fixedX", ActorFixedXPropertyInfo), '("fixedY", ActorFixedYPropertyInfo), '("hasClip", ActorHasClipPropertyInfo), '("hasPointer", ActorHasPointerPropertyInfo), '("height", ActorHeightPropertyInfo), '("lastChild", ActorLastChildPropertyInfo), '("layoutManager", ActorLayoutManagerPropertyInfo), '("magnificationFilter", ActorMagnificationFilterPropertyInfo), '("mapped", ActorMappedPropertyInfo), '("marginBottom", ActorMarginBottomPropertyInfo), '("marginLeft", ActorMarginLeftPropertyInfo), '("marginRight", ActorMarginRightPropertyInfo), '("marginTop", ActorMarginTopPropertyInfo), '("minHeight", ActorMinHeightPropertyInfo), '("minHeightSet", ActorMinHeightSetPropertyInfo), '("minWidth", ActorMinWidthPropertyInfo), '("minWidthSet", ActorMinWidthSetPropertyInfo), '("minificationFilter", ActorMinificationFilterPropertyInfo), '("name", ActorNamePropertyInfo), '("naturalHeight", ActorNaturalHeightPropertyInfo), '("naturalHeightSet", ActorNaturalHeightSetPropertyInfo), '("naturalWidth", ActorNaturalWidthPropertyInfo), '("naturalWidthSet", ActorNaturalWidthSetPropertyInfo), '("offscreenRedirect", ActorOffscreenRedirectPropertyInfo), '("opacity", ActorOpacityPropertyInfo), '("pivotPoint", ActorPivotPointPropertyInfo), '("pivotPointZ", ActorPivotPointZPropertyInfo), '("position", ActorPositionPropertyInfo), '("reactive", ActorReactivePropertyInfo), '("realized", ActorRealizedPropertyInfo), '("requestMode", ActorRequestModePropertyInfo), '("rotationAngleX", ActorRotationAngleXPropertyInfo), '("rotationAngleY", ActorRotationAngleYPropertyInfo), '("rotationAngleZ", ActorRotationAngleZPropertyInfo), '("rotationCenterX", ActorRotationCenterXPropertyInfo), '("rotationCenterY", ActorRotationCenterYPropertyInfo), '("rotationCenterZ", ActorRotationCenterZPropertyInfo), '("rotationCenterZGravity", ActorRotationCenterZGravityPropertyInfo), '("scaleCenterX", ActorScaleCenterXPropertyInfo), '("scaleCenterY", ActorScaleCenterYPropertyInfo), '("scaleGravity", ActorScaleGravityPropertyInfo), '("scaleX", ActorScaleXPropertyInfo), '("scaleY", ActorScaleYPropertyInfo), '("scaleZ", ActorScaleZPropertyInfo), '("showOnSetParent", ActorShowOnSetParentPropertyInfo), '("size", ActorSizePropertyInfo), '("textDirection", ActorTextDirectionPropertyInfo), '("transform", ActorTransformPropertyInfo), '("transformSet", ActorTransformSetPropertyInfo), '("translationX", ActorTranslationXPropertyInfo), '("translationY", ActorTranslationYPropertyInfo), '("translationZ", ActorTranslationZPropertyInfo), '("visible", ActorVisiblePropertyInfo), '("width", ActorWidthPropertyInfo), '("x", ActorXPropertyInfo), '("xAlign", ActorXAlignPropertyInfo), '("xExpand", ActorXExpandPropertyInfo), '("y", ActorYPropertyInfo), '("yAlign", ActorYAlignPropertyInfo), '("yExpand", ActorYExpandPropertyInfo), '("zPosition", ActorZPositionPropertyInfo)] :: [(Symbol, DK.Type)])
#endif
#if defined(ENABLE_OVERLOADING)
actorActions :: AttrLabelProxy "actions"
actorActions = AttrLabelProxy
actorAllocation :: AttrLabelProxy "allocation"
actorAllocation = AttrLabelProxy
actorAnchorGravity :: AttrLabelProxy "anchorGravity"
actorAnchorGravity = AttrLabelProxy
actorAnchorX :: AttrLabelProxy "anchorX"
actorAnchorX = AttrLabelProxy
actorAnchorY :: AttrLabelProxy "anchorY"
actorAnchorY = AttrLabelProxy
actorBackgroundColor :: AttrLabelProxy "backgroundColor"
actorBackgroundColor = AttrLabelProxy
actorBackgroundColorSet :: AttrLabelProxy "backgroundColorSet"
actorBackgroundColorSet = AttrLabelProxy
actorChildTransform :: AttrLabelProxy "childTransform"
actorChildTransform = AttrLabelProxy
actorChildTransformSet :: AttrLabelProxy "childTransformSet"
actorChildTransformSet = AttrLabelProxy
actorClip :: AttrLabelProxy "clip"
actorClip = AttrLabelProxy
actorClipRect :: AttrLabelProxy "clipRect"
actorClipRect = AttrLabelProxy
actorClipToAllocation :: AttrLabelProxy "clipToAllocation"
actorClipToAllocation = AttrLabelProxy
actorConstraints :: AttrLabelProxy "constraints"
actorConstraints = AttrLabelProxy
actorContent :: AttrLabelProxy "content"
actorContent = AttrLabelProxy
actorContentBox :: AttrLabelProxy "contentBox"
actorContentBox = AttrLabelProxy
actorContentGravity :: AttrLabelProxy "contentGravity"
actorContentGravity = AttrLabelProxy
actorContentRepeat :: AttrLabelProxy "contentRepeat"
actorContentRepeat = AttrLabelProxy
actorDepth :: AttrLabelProxy "depth"
actorDepth = AttrLabelProxy
actorEffect :: AttrLabelProxy "effect"
actorEffect = AttrLabelProxy
actorFirstChild :: AttrLabelProxy "firstChild"
actorFirstChild = AttrLabelProxy
actorFixedPositionSet :: AttrLabelProxy "fixedPositionSet"
actorFixedPositionSet = AttrLabelProxy
actorFixedX :: AttrLabelProxy "fixedX"
actorFixedX = AttrLabelProxy
actorFixedY :: AttrLabelProxy "fixedY"
actorFixedY = AttrLabelProxy
actorHeight :: AttrLabelProxy "height"
actorHeight = AttrLabelProxy
actorLastChild :: AttrLabelProxy "lastChild"
actorLastChild = AttrLabelProxy
actorLayoutManager :: AttrLabelProxy "layoutManager"
actorLayoutManager = AttrLabelProxy
actorMagnificationFilter :: AttrLabelProxy "magnificationFilter"
actorMagnificationFilter = AttrLabelProxy
actorMapped :: AttrLabelProxy "mapped"
actorMapped = AttrLabelProxy
actorMarginBottom :: AttrLabelProxy "marginBottom"
actorMarginBottom = AttrLabelProxy
actorMarginLeft :: AttrLabelProxy "marginLeft"
actorMarginLeft = AttrLabelProxy
actorMarginRight :: AttrLabelProxy "marginRight"
actorMarginRight = AttrLabelProxy
actorMarginTop :: AttrLabelProxy "marginTop"
actorMarginTop = AttrLabelProxy
actorMinHeight :: AttrLabelProxy "minHeight"
actorMinHeight = AttrLabelProxy
actorMinHeightSet :: AttrLabelProxy "minHeightSet"
actorMinHeightSet = AttrLabelProxy
actorMinWidth :: AttrLabelProxy "minWidth"
actorMinWidth = AttrLabelProxy
actorMinWidthSet :: AttrLabelProxy "minWidthSet"
actorMinWidthSet = AttrLabelProxy
actorMinificationFilter :: AttrLabelProxy "minificationFilter"
actorMinificationFilter = AttrLabelProxy
actorName :: AttrLabelProxy "name"
actorName = AttrLabelProxy
actorNaturalHeight :: AttrLabelProxy "naturalHeight"
actorNaturalHeight = AttrLabelProxy
actorNaturalHeightSet :: AttrLabelProxy "naturalHeightSet"
actorNaturalHeightSet = AttrLabelProxy
actorNaturalWidth :: AttrLabelProxy "naturalWidth"
actorNaturalWidth = AttrLabelProxy
actorNaturalWidthSet :: AttrLabelProxy "naturalWidthSet"
actorNaturalWidthSet = AttrLabelProxy
actorOffscreenRedirect :: AttrLabelProxy "offscreenRedirect"
actorOffscreenRedirect = AttrLabelProxy
actorOpacity :: AttrLabelProxy "opacity"
actorOpacity = AttrLabelProxy
actorPivotPoint :: AttrLabelProxy "pivotPoint"
actorPivotPoint = AttrLabelProxy
actorPivotPointZ :: AttrLabelProxy "pivotPointZ"
actorPivotPointZ = AttrLabelProxy
actorPosition :: AttrLabelProxy "position"
actorPosition = AttrLabelProxy
actorReactive :: AttrLabelProxy "reactive"
actorReactive = AttrLabelProxy
actorRealized :: AttrLabelProxy "realized"
actorRealized = AttrLabelProxy
actorRequestMode :: AttrLabelProxy "requestMode"
actorRequestMode = AttrLabelProxy
actorRotationAngleX :: AttrLabelProxy "rotationAngleX"
actorRotationAngleX = AttrLabelProxy
actorRotationAngleY :: AttrLabelProxy "rotationAngleY"
actorRotationAngleY = AttrLabelProxy
actorRotationAngleZ :: AttrLabelProxy "rotationAngleZ"
actorRotationAngleZ = AttrLabelProxy
actorRotationCenterX :: AttrLabelProxy "rotationCenterX"
actorRotationCenterX = AttrLabelProxy
actorRotationCenterY :: AttrLabelProxy "rotationCenterY"
actorRotationCenterY = AttrLabelProxy
actorRotationCenterZ :: AttrLabelProxy "rotationCenterZ"
actorRotationCenterZ = AttrLabelProxy
actorRotationCenterZGravity :: AttrLabelProxy "rotationCenterZGravity"
actorRotationCenterZGravity = AttrLabelProxy
actorScaleCenterX :: AttrLabelProxy "scaleCenterX"
actorScaleCenterX = AttrLabelProxy
actorScaleCenterY :: AttrLabelProxy "scaleCenterY"
actorScaleCenterY = AttrLabelProxy
actorScaleGravity :: AttrLabelProxy "scaleGravity"
actorScaleGravity = AttrLabelProxy
actorScaleX :: AttrLabelProxy "scaleX"
actorScaleX = AttrLabelProxy
actorScaleY :: AttrLabelProxy "scaleY"
actorScaleY = AttrLabelProxy
actorScaleZ :: AttrLabelProxy "scaleZ"
actorScaleZ = AttrLabelProxy
actorShowOnSetParent :: AttrLabelProxy "showOnSetParent"
actorShowOnSetParent = AttrLabelProxy
actorSize :: AttrLabelProxy "size"
actorSize = AttrLabelProxy
actorTextDirection :: AttrLabelProxy "textDirection"
actorTextDirection = AttrLabelProxy
actorTransform :: AttrLabelProxy "transform"
actorTransform = AttrLabelProxy
actorTransformSet :: AttrLabelProxy "transformSet"
actorTransformSet = AttrLabelProxy
actorTranslationX :: AttrLabelProxy "translationX"
actorTranslationX = AttrLabelProxy
actorTranslationY :: AttrLabelProxy "translationY"
actorTranslationY = AttrLabelProxy
actorTranslationZ :: AttrLabelProxy "translationZ"
actorTranslationZ = AttrLabelProxy
actorVisible :: AttrLabelProxy "visible"
actorVisible = AttrLabelProxy
actorWidth :: AttrLabelProxy "width"
actorWidth = AttrLabelProxy
actorX :: AttrLabelProxy "x"
actorX = AttrLabelProxy
actorXAlign :: AttrLabelProxy "xAlign"
actorXAlign = AttrLabelProxy
actorXExpand :: AttrLabelProxy "xExpand"
actorXExpand = AttrLabelProxy
actorY :: AttrLabelProxy "y"
actorY = AttrLabelProxy
actorYAlign :: AttrLabelProxy "yAlign"
actorYAlign = AttrLabelProxy
actorYExpand :: AttrLabelProxy "yExpand"
actorYExpand = AttrLabelProxy
actorZPosition :: AttrLabelProxy "zPosition"
actorZPosition = AttrLabelProxy
#endif
#if defined(ENABLE_OVERLOADING)
type instance O.SignalList Actor = ActorSignalList
type ActorSignalList = ('[ '("actorAdded", Clutter.Container.ContainerActorAddedSignalInfo), '("actorRemoved", Clutter.Container.ContainerActorRemovedSignalInfo), '("allocationChanged", ActorAllocationChangedSignalInfo), '("buttonPressEvent", ActorButtonPressEventSignalInfo), '("buttonReleaseEvent", ActorButtonReleaseEventSignalInfo), '("capturedEvent", ActorCapturedEventSignalInfo), '("childNotify", Clutter.Container.ContainerChildNotifySignalInfo), '("destroy", ActorDestroySignalInfo), '("enterEvent", ActorEnterEventSignalInfo), '("event", ActorEventSignalInfo), '("hide", ActorHideSignalInfo), '("keyFocusIn", ActorKeyFocusInSignalInfo), '("keyFocusOut", ActorKeyFocusOutSignalInfo), '("keyPressEvent", ActorKeyPressEventSignalInfo), '("keyReleaseEvent", ActorKeyReleaseEventSignalInfo), '("leaveEvent", ActorLeaveEventSignalInfo), '("motionEvent", ActorMotionEventSignalInfo), '("notify", GObject.Object.ObjectNotifySignalInfo), '("paint", ActorPaintSignalInfo), '("parentSet", ActorParentSetSignalInfo), '("pick", ActorPickSignalInfo), '("queueRedraw", ActorQueueRedrawSignalInfo), '("queueRelayout", ActorQueueRelayoutSignalInfo), '("realize", ActorRealizeSignalInfo), '("scrollEvent", ActorScrollEventSignalInfo), '("show", ActorShowSignalInfo), '("touchEvent", ActorTouchEventSignalInfo), '("transitionStopped", ActorTransitionStoppedSignalInfo), '("transitionsCompleted", ActorTransitionsCompletedSignalInfo), '("unrealize", ActorUnrealizeSignalInfo)] :: [(Symbol, DK.Type)])
#endif
foreign import ccall "clutter_actor_new" clutter_actor_new ::
IO (Ptr Actor)
actorNew ::
(B.CallStack.HasCallStack, MonadIO m) =>
m Actor
actorNew :: forall (m :: * -> *). (HasCallStack, MonadIO m) => m Actor
actorNew = IO Actor -> m Actor
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Actor -> m Actor) -> IO Actor -> m Actor
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
result <- IO (Ptr Actor)
clutter_actor_new
Text -> Ptr Actor -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"actorNew" Ptr Actor
result
Actor
result' <- ((ManagedPtr Actor -> Actor) -> Ptr Actor -> IO Actor
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
newObject ManagedPtr Actor -> Actor
Actor) Ptr Actor
result
Actor -> IO Actor
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Actor
result'
#if defined(ENABLE_OVERLOADING)
#endif
foreign import ccall "clutter_actor_add_action" clutter_actor_add_action ::
Ptr Actor ->
Ptr Clutter.Action.Action ->
IO ()
actorAddAction ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a, Clutter.Action.IsAction b) =>
a
-> b
-> m ()
actorAddAction :: forall (m :: * -> *) a b.
(HasCallStack, MonadIO m, IsActor a, IsAction b) =>
a -> b -> m ()
actorAddAction a
self b
action = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Action
action' <- b -> IO (Ptr Action)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr b
action
Ptr Actor -> Ptr Action -> IO ()
clutter_actor_add_action Ptr Actor
self' Ptr Action
action'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
b -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr b
action
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorAddActionMethodInfo
instance (signature ~ (b -> m ()), MonadIO m, IsActor a, Clutter.Action.IsAction b) => O.OverloadedMethod ActorAddActionMethodInfo a signature where
overloadedMethod = actorAddAction
instance O.OverloadedMethodInfo ActorAddActionMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorAddAction",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorAddAction"
})
#endif
foreign import ccall "clutter_actor_add_action_with_name" clutter_actor_add_action_with_name ::
Ptr Actor ->
CString ->
Ptr Clutter.Action.Action ->
IO ()
actorAddActionWithName ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a, Clutter.Action.IsAction b) =>
a
-> T.Text
-> b
-> m ()
actorAddActionWithName :: forall (m :: * -> *) a b.
(HasCallStack, MonadIO m, IsActor a, IsAction b) =>
a -> Text -> b -> m ()
actorAddActionWithName a
self Text
name b
action = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CString
name' <- Text -> IO CString
textToCString Text
name
Ptr Action
action' <- b -> IO (Ptr Action)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr b
action
Ptr Actor -> CString -> Ptr Action -> IO ()
clutter_actor_add_action_with_name Ptr Actor
self' CString
name' Ptr Action
action'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
b -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr b
action
CString -> IO ()
forall a. Ptr a -> IO ()
freeMem CString
name'
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorAddActionWithNameMethodInfo
instance (signature ~ (T.Text -> b -> m ()), MonadIO m, IsActor a, Clutter.Action.IsAction b) => O.OverloadedMethod ActorAddActionWithNameMethodInfo a signature where
overloadedMethod = actorAddActionWithName
instance O.OverloadedMethodInfo ActorAddActionWithNameMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorAddActionWithName",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorAddActionWithName"
})
#endif
foreign import ccall "clutter_actor_add_child" clutter_actor_add_child ::
Ptr Actor ->
Ptr Actor ->
IO ()
actorAddChild ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a, IsActor b) =>
a
-> b
-> m ()
actorAddChild :: forall (m :: * -> *) a b.
(HasCallStack, MonadIO m, IsActor a, IsActor b) =>
a -> b -> m ()
actorAddChild a
self b
child = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Actor
child' <- b -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr b
child
Ptr Actor -> Ptr Actor -> IO ()
clutter_actor_add_child Ptr Actor
self' Ptr Actor
child'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
b -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr b
child
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorAddChildMethodInfo
instance (signature ~ (b -> m ()), MonadIO m, IsActor a, IsActor b) => O.OverloadedMethod ActorAddChildMethodInfo a signature where
overloadedMethod = actorAddChild
instance O.OverloadedMethodInfo ActorAddChildMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorAddChild",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorAddChild"
})
#endif
foreign import ccall "clutter_actor_add_constraint" clutter_actor_add_constraint ::
Ptr Actor ->
Ptr Clutter.Constraint.Constraint ->
IO ()
actorAddConstraint ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a, Clutter.Constraint.IsConstraint b) =>
a
-> b
-> m ()
actorAddConstraint :: forall (m :: * -> *) a b.
(HasCallStack, MonadIO m, IsActor a, IsConstraint b) =>
a -> b -> m ()
actorAddConstraint a
self b
constraint = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Constraint
constraint' <- b -> IO (Ptr Constraint)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr b
constraint
Ptr Actor -> Ptr Constraint -> IO ()
clutter_actor_add_constraint Ptr Actor
self' Ptr Constraint
constraint'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
b -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr b
constraint
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorAddConstraintMethodInfo
instance (signature ~ (b -> m ()), MonadIO m, IsActor a, Clutter.Constraint.IsConstraint b) => O.OverloadedMethod ActorAddConstraintMethodInfo a signature where
overloadedMethod = actorAddConstraint
instance O.OverloadedMethodInfo ActorAddConstraintMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorAddConstraint",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorAddConstraint"
})
#endif
foreign import ccall "clutter_actor_add_constraint_with_name" clutter_actor_add_constraint_with_name ::
Ptr Actor ->
CString ->
Ptr Clutter.Constraint.Constraint ->
IO ()
actorAddConstraintWithName ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a, Clutter.Constraint.IsConstraint b) =>
a
-> T.Text
-> b
-> m ()
actorAddConstraintWithName :: forall (m :: * -> *) a b.
(HasCallStack, MonadIO m, IsActor a, IsConstraint b) =>
a -> Text -> b -> m ()
actorAddConstraintWithName a
self Text
name b
constraint = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CString
name' <- Text -> IO CString
textToCString Text
name
Ptr Constraint
constraint' <- b -> IO (Ptr Constraint)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr b
constraint
Ptr Actor -> CString -> Ptr Constraint -> IO ()
clutter_actor_add_constraint_with_name Ptr Actor
self' CString
name' Ptr Constraint
constraint'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
b -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr b
constraint
CString -> IO ()
forall a. Ptr a -> IO ()
freeMem CString
name'
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorAddConstraintWithNameMethodInfo
instance (signature ~ (T.Text -> b -> m ()), MonadIO m, IsActor a, Clutter.Constraint.IsConstraint b) => O.OverloadedMethod ActorAddConstraintWithNameMethodInfo a signature where
overloadedMethod = actorAddConstraintWithName
instance O.OverloadedMethodInfo ActorAddConstraintWithNameMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorAddConstraintWithName",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorAddConstraintWithName"
})
#endif
foreign import ccall "clutter_actor_add_effect" clutter_actor_add_effect ::
Ptr Actor ->
Ptr Clutter.Effect.Effect ->
IO ()
actorAddEffect ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a, Clutter.Effect.IsEffect b) =>
a
-> b
-> m ()
actorAddEffect :: forall (m :: * -> *) a b.
(HasCallStack, MonadIO m, IsActor a, IsEffect b) =>
a -> b -> m ()
actorAddEffect a
self b
effect = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Effect
effect' <- b -> IO (Ptr Effect)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr b
effect
Ptr Actor -> Ptr Effect -> IO ()
clutter_actor_add_effect Ptr Actor
self' Ptr Effect
effect'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
b -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr b
effect
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorAddEffectMethodInfo
instance (signature ~ (b -> m ()), MonadIO m, IsActor a, Clutter.Effect.IsEffect b) => O.OverloadedMethod ActorAddEffectMethodInfo a signature where
overloadedMethod = actorAddEffect
instance O.OverloadedMethodInfo ActorAddEffectMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorAddEffect",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorAddEffect"
})
#endif
foreign import ccall "clutter_actor_add_effect_with_name" clutter_actor_add_effect_with_name ::
Ptr Actor ->
CString ->
Ptr Clutter.Effect.Effect ->
IO ()
actorAddEffectWithName ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a, Clutter.Effect.IsEffect b) =>
a
-> T.Text
-> b
-> m ()
actorAddEffectWithName :: forall (m :: * -> *) a b.
(HasCallStack, MonadIO m, IsActor a, IsEffect b) =>
a -> Text -> b -> m ()
actorAddEffectWithName a
self Text
name b
effect = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CString
name' <- Text -> IO CString
textToCString Text
name
Ptr Effect
effect' <- b -> IO (Ptr Effect)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr b
effect
Ptr Actor -> CString -> Ptr Effect -> IO ()
clutter_actor_add_effect_with_name Ptr Actor
self' CString
name' Ptr Effect
effect'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
b -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr b
effect
CString -> IO ()
forall a. Ptr a -> IO ()
freeMem CString
name'
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorAddEffectWithNameMethodInfo
instance (signature ~ (T.Text -> b -> m ()), MonadIO m, IsActor a, Clutter.Effect.IsEffect b) => O.OverloadedMethod ActorAddEffectWithNameMethodInfo a signature where
overloadedMethod = actorAddEffectWithName
instance O.OverloadedMethodInfo ActorAddEffectWithNameMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorAddEffectWithName",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorAddEffectWithName"
})
#endif
foreign import ccall "clutter_actor_add_transition" clutter_actor_add_transition ::
Ptr Actor ->
CString ->
Ptr Clutter.Transition.Transition ->
IO ()
actorAddTransition ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a, Clutter.Transition.IsTransition b) =>
a
-> T.Text
-> b
-> m ()
actorAddTransition :: forall (m :: * -> *) a b.
(HasCallStack, MonadIO m, IsActor a, IsTransition b) =>
a -> Text -> b -> m ()
actorAddTransition a
self Text
name b
transition = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CString
name' <- Text -> IO CString
textToCString Text
name
Ptr Transition
transition' <- b -> IO (Ptr Transition)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr b
transition
Ptr Actor -> CString -> Ptr Transition -> IO ()
clutter_actor_add_transition Ptr Actor
self' CString
name' Ptr Transition
transition'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
b -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr b
transition
CString -> IO ()
forall a. Ptr a -> IO ()
freeMem CString
name'
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorAddTransitionMethodInfo
instance (signature ~ (T.Text -> b -> m ()), MonadIO m, IsActor a, Clutter.Transition.IsTransition b) => O.OverloadedMethod ActorAddTransitionMethodInfo a signature where
overloadedMethod = actorAddTransition
instance O.OverloadedMethodInfo ActorAddTransitionMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorAddTransition",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorAddTransition"
})
#endif
foreign import ccall "clutter_actor_allocate" clutter_actor_allocate ::
Ptr Actor ->
Ptr Clutter.ActorBox.ActorBox ->
CUInt ->
IO ()
actorAllocate ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> Clutter.ActorBox.ActorBox
-> [Clutter.Flags.AllocationFlags]
-> m ()
actorAllocate :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> ActorBox -> [AllocationFlags] -> m ()
actorAllocate a
self ActorBox
box [AllocationFlags]
flags = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr ActorBox
box' <- ActorBox -> IO (Ptr ActorBox)
forall a. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr a)
unsafeManagedPtrGetPtr ActorBox
box
let flags' :: CUInt
flags' = [AllocationFlags] -> CUInt
forall b a. (Num b, IsGFlag a) => [a] -> b
gflagsToWord [AllocationFlags]
flags
Ptr Actor -> Ptr ActorBox -> CUInt -> IO ()
clutter_actor_allocate Ptr Actor
self' Ptr ActorBox
box' CUInt
flags'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
ActorBox -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr ActorBox
box
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorAllocateMethodInfo
instance (signature ~ (Clutter.ActorBox.ActorBox -> [Clutter.Flags.AllocationFlags] -> m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorAllocateMethodInfo a signature where
overloadedMethod = actorAllocate
instance O.OverloadedMethodInfo ActorAllocateMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorAllocate",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorAllocate"
})
#endif
foreign import ccall "clutter_actor_allocate_align_fill" clutter_actor_allocate_align_fill ::
Ptr Actor ->
Ptr Clutter.ActorBox.ActorBox ->
CDouble ->
CDouble ->
CInt ->
CInt ->
CUInt ->
IO ()
actorAllocateAlignFill ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> Clutter.ActorBox.ActorBox
-> Double
-> Double
-> Bool
-> Bool
-> [Clutter.Flags.AllocationFlags]
-> m ()
actorAllocateAlignFill :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a
-> ActorBox
-> Double
-> Double
-> Bool
-> Bool
-> [AllocationFlags]
-> m ()
actorAllocateAlignFill a
self ActorBox
box Double
xAlign Double
yAlign Bool
xFill Bool
yFill [AllocationFlags]
flags = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr ActorBox
box' <- ActorBox -> IO (Ptr ActorBox)
forall a. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr a)
unsafeManagedPtrGetPtr ActorBox
box
let xAlign' :: CDouble
xAlign' = Double -> CDouble
forall a b. (Real a, Fractional b) => a -> b
realToFrac Double
xAlign
let yAlign' :: CDouble
yAlign' = Double -> CDouble
forall a b. (Real a, Fractional b) => a -> b
realToFrac Double
yAlign
let xFill' :: CInt
xFill' = (Int -> CInt
forall a b. (Integral a, Num b) => a -> b
P.fromIntegral (Int -> CInt) -> (Bool -> Int) -> Bool -> CInt
forall b c a. (b -> c) -> (a -> b) -> a -> c
. Bool -> Int
forall a. Enum a => a -> Int
P.fromEnum) Bool
xFill
let yFill' :: CInt
yFill' = (Int -> CInt
forall a b. (Integral a, Num b) => a -> b
P.fromIntegral (Int -> CInt) -> (Bool -> Int) -> Bool -> CInt
forall b c a. (b -> c) -> (a -> b) -> a -> c
. Bool -> Int
forall a. Enum a => a -> Int
P.fromEnum) Bool
yFill
let flags' :: CUInt
flags' = [AllocationFlags] -> CUInt
forall b a. (Num b, IsGFlag a) => [a] -> b
gflagsToWord [AllocationFlags]
flags
Ptr Actor
-> Ptr ActorBox
-> CDouble
-> CDouble
-> CInt
-> CInt
-> CUInt
-> IO ()
clutter_actor_allocate_align_fill Ptr Actor
self' Ptr ActorBox
box' CDouble
xAlign' CDouble
yAlign' CInt
xFill' CInt
yFill' CUInt
flags'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
ActorBox -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr ActorBox
box
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorAllocateAlignFillMethodInfo
instance (signature ~ (Clutter.ActorBox.ActorBox -> Double -> Double -> Bool -> Bool -> [Clutter.Flags.AllocationFlags] -> m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorAllocateAlignFillMethodInfo a signature where
overloadedMethod = actorAllocateAlignFill
instance O.OverloadedMethodInfo ActorAllocateAlignFillMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorAllocateAlignFill",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorAllocateAlignFill"
})
#endif
foreign import ccall "clutter_actor_allocate_available_size" clutter_actor_allocate_available_size ::
Ptr Actor ->
CFloat ->
CFloat ->
CFloat ->
CFloat ->
CUInt ->
IO ()
actorAllocateAvailableSize ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> Float
-> Float
-> Float
-> Float
-> [Clutter.Flags.AllocationFlags]
-> m ()
actorAllocateAvailableSize :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> Float -> Float -> Float -> Float -> [AllocationFlags] -> m ()
actorAllocateAvailableSize a
self Float
x Float
y Float
availableWidth Float
availableHeight [AllocationFlags]
flags = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
let x' :: CFloat
x' = Float -> CFloat
forall a b. (Real a, Fractional b) => a -> b
realToFrac Float
x
let y' :: CFloat
y' = Float -> CFloat
forall a b. (Real a, Fractional b) => a -> b
realToFrac Float
y
let availableWidth' :: CFloat
availableWidth' = Float -> CFloat
forall a b. (Real a, Fractional b) => a -> b
realToFrac Float
availableWidth
let availableHeight' :: CFloat
availableHeight' = Float -> CFloat
forall a b. (Real a, Fractional b) => a -> b
realToFrac Float
availableHeight
let flags' :: CUInt
flags' = [AllocationFlags] -> CUInt
forall b a. (Num b, IsGFlag a) => [a] -> b
gflagsToWord [AllocationFlags]
flags
Ptr Actor -> CFloat -> CFloat -> CFloat -> CFloat -> CUInt -> IO ()
clutter_actor_allocate_available_size Ptr Actor
self' CFloat
x' CFloat
y' CFloat
availableWidth' CFloat
availableHeight' CUInt
flags'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorAllocateAvailableSizeMethodInfo
instance (signature ~ (Float -> Float -> Float -> Float -> [Clutter.Flags.AllocationFlags] -> m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorAllocateAvailableSizeMethodInfo a signature where
overloadedMethod = actorAllocateAvailableSize
instance O.OverloadedMethodInfo ActorAllocateAvailableSizeMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorAllocateAvailableSize",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorAllocateAvailableSize"
})
#endif
foreign import ccall "clutter_actor_allocate_preferred_size" clutter_actor_allocate_preferred_size ::
Ptr Actor ->
CUInt ->
IO ()
actorAllocatePreferredSize ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> [Clutter.Flags.AllocationFlags]
-> m ()
actorAllocatePreferredSize :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> [AllocationFlags] -> m ()
actorAllocatePreferredSize a
self [AllocationFlags]
flags = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
let flags' :: CUInt
flags' = [AllocationFlags] -> CUInt
forall b a. (Num b, IsGFlag a) => [a] -> b
gflagsToWord [AllocationFlags]
flags
Ptr Actor -> CUInt -> IO ()
clutter_actor_allocate_preferred_size Ptr Actor
self' CUInt
flags'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorAllocatePreferredSizeMethodInfo
instance (signature ~ ([Clutter.Flags.AllocationFlags] -> m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorAllocatePreferredSizeMethodInfo a signature where
overloadedMethod = actorAllocatePreferredSize
instance O.OverloadedMethodInfo ActorAllocatePreferredSizeMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorAllocatePreferredSize",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorAllocatePreferredSize"
})
#endif
foreign import ccall "clutter_actor_animate_with_alphav" clutter_actor_animate_with_alphav ::
Ptr Actor ->
Ptr Clutter.Alpha.Alpha ->
Int32 ->
Ptr CString ->
Ptr B.GValue.GValue ->
IO (Ptr Clutter.Animation.Animation)
{-# DEPRECATED actorAnimateWithAlphav ["(Since version 1.10)","Use the implicit transition for animatable properties"," in t'GI.Clutter.Objects.Actor.Actor' instead. See 'GI.Clutter.Objects.Actor.actorSaveEasingState',"," 'GI.Clutter.Objects.Actor.actorSetEasingMode', 'GI.Clutter.Objects.Actor.actorSetEasingDuration',"," 'GI.Clutter.Objects.Actor.actorSetEasingDelay', and 'GI.Clutter.Objects.Actor.actorRestoreEasingState'."] #-}
actorAnimateWithAlphav ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a, Clutter.Alpha.IsAlpha b) =>
a
-> b
-> [T.Text]
-> [GValue]
-> m Clutter.Animation.Animation
actorAnimateWithAlphav :: forall (m :: * -> *) a b.
(HasCallStack, MonadIO m, IsActor a, IsAlpha b) =>
a -> b -> [Text] -> [GValue] -> m Animation
actorAnimateWithAlphav a
actor b
alpha [Text]
properties [GValue]
values = IO Animation -> m Animation
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Animation -> m Animation) -> IO Animation -> m Animation
forall a b. (a -> b) -> a -> b
$ do
let nProperties :: Int32
nProperties = Int -> Int32
forall a b. (Integral a, Num b) => a -> b
fromIntegral (Int -> Int32) -> Int -> Int32
forall a b. (a -> b) -> a -> b
$ [GValue] -> Int
forall a. [a] -> Int
forall (t :: * -> *) a. Foldable t => t a -> Int
P.length [GValue]
values
let properties_expected_length_ :: Int32
properties_expected_length_ = Int -> Int32
forall a b. (Integral a, Num b) => a -> b
fromIntegral (Int -> Int32) -> Int -> Int32
forall a b. (a -> b) -> a -> b
$ [Text] -> Int
forall a. [a] -> Int
forall (t :: * -> *) a. Foldable t => t a -> Int
P.length [Text]
properties
Bool -> IO () -> IO ()
forall (f :: * -> *). Applicative f => Bool -> f () -> f ()
when (Int32
properties_expected_length_ Int32 -> Int32 -> Bool
forall a. Eq a => a -> a -> Bool
/= Int32
nProperties) (IO () -> IO ()) -> IO () -> IO ()
forall a b. (a -> b) -> a -> b
$
String -> IO ()
forall a. HasCallStack => String -> a
error String
"Clutter.actorAnimateWithAlphav : length of 'properties' does not agree with that of 'values'."
Ptr Actor
actor' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
actor
Ptr Alpha
alpha' <- b -> IO (Ptr Alpha)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr b
alpha
Ptr CString
properties' <- [Text] -> IO (Ptr CString)
packUTF8CArray [Text]
properties
Ptr GValue
values' <- [GValue] -> IO (Ptr GValue)
B.GValue.packGValueArray [GValue]
values
Ptr Animation
result <- Ptr Actor
-> Ptr Alpha
-> Int32
-> Ptr CString
-> Ptr GValue
-> IO (Ptr Animation)
clutter_actor_animate_with_alphav Ptr Actor
actor' Ptr Alpha
alpha' Int32
nProperties Ptr CString
properties' Ptr GValue
values'
Text -> Ptr Animation -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"actorAnimateWithAlphav" Ptr Animation
result
Animation
result' <- ((ManagedPtr Animation -> Animation)
-> Ptr Animation -> IO Animation
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
newObject ManagedPtr Animation -> Animation
Clutter.Animation.Animation) Ptr Animation
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
actor
b -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr b
alpha
(GValue -> IO ()) -> [GValue] -> IO ()
forall (t :: * -> *) (m :: * -> *) a b.
(Foldable t, Monad m) =>
(a -> m b) -> t a -> m ()
mapM_ GValue -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr [GValue]
values
(Int32 -> (CString -> IO ()) -> Ptr CString -> IO ()
forall a b c.
(Storable a, Integral b) =>
b -> (a -> IO c) -> Ptr a -> IO ()
mapCArrayWithLength Int32
nProperties) CString -> IO ()
forall a. Ptr a -> IO ()
freeMem Ptr CString
properties'
Ptr CString -> IO ()
forall a. Ptr a -> IO ()
freeMem Ptr CString
properties'
Ptr GValue -> IO ()
forall a. Ptr a -> IO ()
freeMem Ptr GValue
values'
Animation -> IO Animation
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Animation
result'
#if defined(ENABLE_OVERLOADING)
data ActorAnimateWithAlphavMethodInfo
instance (signature ~ (b -> [T.Text] -> [GValue] -> m Clutter.Animation.Animation), MonadIO m, IsActor a, Clutter.Alpha.IsAlpha b) => O.OverloadedMethod ActorAnimateWithAlphavMethodInfo a signature where
overloadedMethod = actorAnimateWithAlphav
instance O.OverloadedMethodInfo ActorAnimateWithAlphavMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorAnimateWithAlphav",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorAnimateWithAlphav"
})
#endif
foreign import ccall "clutter_actor_animate_with_timelinev" clutter_actor_animate_with_timelinev ::
Ptr Actor ->
FCT.CULong ->
Ptr Clutter.Timeline.Timeline ->
Int32 ->
Ptr CString ->
Ptr B.GValue.GValue ->
IO (Ptr Clutter.Animation.Animation)
{-# DEPRECATED actorAnimateWithTimelinev ["(Since version 1.12)","Use the implicit transition for animatable properties"," in t'GI.Clutter.Objects.Actor.Actor' instead. See 'GI.Clutter.Objects.Actor.actorSaveEasingState',"," 'GI.Clutter.Objects.Actor.actorSetEasingMode', 'GI.Clutter.Objects.Actor.actorSetEasingDuration',"," 'GI.Clutter.Objects.Actor.actorSetEasingDelay', and 'GI.Clutter.Objects.Actor.actorRestoreEasingState'."] #-}
actorAnimateWithTimelinev ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a, Clutter.Timeline.IsTimeline b) =>
a
-> FCT.CULong
-> b
-> [T.Text]
-> [GValue]
-> m Clutter.Animation.Animation
actorAnimateWithTimelinev :: forall (m :: * -> *) a b.
(HasCallStack, MonadIO m, IsActor a, IsTimeline b) =>
a -> SignalHandlerId -> b -> [Text] -> [GValue] -> m Animation
actorAnimateWithTimelinev a
actor SignalHandlerId
mode b
timeline [Text]
properties [GValue]
values = IO Animation -> m Animation
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Animation -> m Animation) -> IO Animation -> m Animation
forall a b. (a -> b) -> a -> b
$ do
let nProperties :: Int32
nProperties = Int -> Int32
forall a b. (Integral a, Num b) => a -> b
fromIntegral (Int -> Int32) -> Int -> Int32
forall a b. (a -> b) -> a -> b
$ [GValue] -> Int
forall a. [a] -> Int
forall (t :: * -> *) a. Foldable t => t a -> Int
P.length [GValue]
values
let properties_expected_length_ :: Int32
properties_expected_length_ = Int -> Int32
forall a b. (Integral a, Num b) => a -> b
fromIntegral (Int -> Int32) -> Int -> Int32
forall a b. (a -> b) -> a -> b
$ [Text] -> Int
forall a. [a] -> Int
forall (t :: * -> *) a. Foldable t => t a -> Int
P.length [Text]
properties
Bool -> IO () -> IO ()
forall (f :: * -> *). Applicative f => Bool -> f () -> f ()
when (Int32
properties_expected_length_ Int32 -> Int32 -> Bool
forall a. Eq a => a -> a -> Bool
/= Int32
nProperties) (IO () -> IO ()) -> IO () -> IO ()
forall a b. (a -> b) -> a -> b
$
String -> IO ()
forall a. HasCallStack => String -> a
error String
"Clutter.actorAnimateWithTimelinev : length of 'properties' does not agree with that of 'values'."
Ptr Actor
actor' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
actor
Ptr Timeline
timeline' <- b -> IO (Ptr Timeline)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr b
timeline
Ptr CString
properties' <- [Text] -> IO (Ptr CString)
packUTF8CArray [Text]
properties
Ptr GValue
values' <- [GValue] -> IO (Ptr GValue)
B.GValue.packGValueArray [GValue]
values
Ptr Animation
result <- Ptr Actor
-> SignalHandlerId
-> Ptr Timeline
-> Int32
-> Ptr CString
-> Ptr GValue
-> IO (Ptr Animation)
clutter_actor_animate_with_timelinev Ptr Actor
actor' SignalHandlerId
mode Ptr Timeline
timeline' Int32
nProperties Ptr CString
properties' Ptr GValue
values'
Text -> Ptr Animation -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"actorAnimateWithTimelinev" Ptr Animation
result
Animation
result' <- ((ManagedPtr Animation -> Animation)
-> Ptr Animation -> IO Animation
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
newObject ManagedPtr Animation -> Animation
Clutter.Animation.Animation) Ptr Animation
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
actor
b -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr b
timeline
(GValue -> IO ()) -> [GValue] -> IO ()
forall (t :: * -> *) (m :: * -> *) a b.
(Foldable t, Monad m) =>
(a -> m b) -> t a -> m ()
mapM_ GValue -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr [GValue]
values
(Int32 -> (CString -> IO ()) -> Ptr CString -> IO ()
forall a b c.
(Storable a, Integral b) =>
b -> (a -> IO c) -> Ptr a -> IO ()
mapCArrayWithLength Int32
nProperties) CString -> IO ()
forall a. Ptr a -> IO ()
freeMem Ptr CString
properties'
Ptr CString -> IO ()
forall a. Ptr a -> IO ()
freeMem Ptr CString
properties'
Ptr GValue -> IO ()
forall a. Ptr a -> IO ()
freeMem Ptr GValue
values'
Animation -> IO Animation
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Animation
result'
#if defined(ENABLE_OVERLOADING)
data ActorAnimateWithTimelinevMethodInfo
instance (signature ~ (FCT.CULong -> b -> [T.Text] -> [GValue] -> m Clutter.Animation.Animation), MonadIO m, IsActor a, Clutter.Timeline.IsTimeline b) => O.OverloadedMethod ActorAnimateWithTimelinevMethodInfo a signature where
overloadedMethod = actorAnimateWithTimelinev
instance O.OverloadedMethodInfo ActorAnimateWithTimelinevMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorAnimateWithTimelinev",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorAnimateWithTimelinev"
})
#endif
foreign import ccall "clutter_actor_animatev" clutter_actor_animatev ::
Ptr Actor ->
FCT.CULong ->
Word32 ->
Int32 ->
Ptr CString ->
Ptr B.GValue.GValue ->
IO (Ptr Clutter.Animation.Animation)
{-# DEPRECATED actorAnimatev ["(Since version 1.12)","Use the implicit transition for animatable properties"," in t'GI.Clutter.Objects.Actor.Actor' instead. See 'GI.Clutter.Objects.Actor.actorSaveEasingState',"," 'GI.Clutter.Objects.Actor.actorSetEasingMode', 'GI.Clutter.Objects.Actor.actorSetEasingDuration',"," 'GI.Clutter.Objects.Actor.actorSetEasingDelay', and 'GI.Clutter.Objects.Actor.actorRestoreEasingState'."] #-}
actorAnimatev ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> FCT.CULong
-> Word32
-> [T.Text]
-> [GValue]
-> m Clutter.Animation.Animation
actorAnimatev :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> SignalHandlerId -> Word32 -> [Text] -> [GValue] -> m Animation
actorAnimatev a
actor SignalHandlerId
mode Word32
duration [Text]
properties [GValue]
values = IO Animation -> m Animation
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Animation -> m Animation) -> IO Animation -> m Animation
forall a b. (a -> b) -> a -> b
$ do
let nProperties :: Int32
nProperties = Int -> Int32
forall a b. (Integral a, Num b) => a -> b
fromIntegral (Int -> Int32) -> Int -> Int32
forall a b. (a -> b) -> a -> b
$ [GValue] -> Int
forall a. [a] -> Int
forall (t :: * -> *) a. Foldable t => t a -> Int
P.length [GValue]
values
let properties_expected_length_ :: Int32
properties_expected_length_ = Int -> Int32
forall a b. (Integral a, Num b) => a -> b
fromIntegral (Int -> Int32) -> Int -> Int32
forall a b. (a -> b) -> a -> b
$ [Text] -> Int
forall a. [a] -> Int
forall (t :: * -> *) a. Foldable t => t a -> Int
P.length [Text]
properties
Bool -> IO () -> IO ()
forall (f :: * -> *). Applicative f => Bool -> f () -> f ()
when (Int32
properties_expected_length_ Int32 -> Int32 -> Bool
forall a. Eq a => a -> a -> Bool
/= Int32
nProperties) (IO () -> IO ()) -> IO () -> IO ()
forall a b. (a -> b) -> a -> b
$
String -> IO ()
forall a. HasCallStack => String -> a
error String
"Clutter.actorAnimatev : length of 'properties' does not agree with that of 'values'."
Ptr Actor
actor' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
actor
Ptr CString
properties' <- [Text] -> IO (Ptr CString)
packUTF8CArray [Text]
properties
Ptr GValue
values' <- [GValue] -> IO (Ptr GValue)
B.GValue.packGValueArray [GValue]
values
Ptr Animation
result <- Ptr Actor
-> SignalHandlerId
-> Word32
-> Int32
-> Ptr CString
-> Ptr GValue
-> IO (Ptr Animation)
clutter_actor_animatev Ptr Actor
actor' SignalHandlerId
mode Word32
duration Int32
nProperties Ptr CString
properties' Ptr GValue
values'
Text -> Ptr Animation -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"actorAnimatev" Ptr Animation
result
Animation
result' <- ((ManagedPtr Animation -> Animation)
-> Ptr Animation -> IO Animation
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
newObject ManagedPtr Animation -> Animation
Clutter.Animation.Animation) Ptr Animation
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
actor
(GValue -> IO ()) -> [GValue] -> IO ()
forall (t :: * -> *) (m :: * -> *) a b.
(Foldable t, Monad m) =>
(a -> m b) -> t a -> m ()
mapM_ GValue -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr [GValue]
values
(Int32 -> (CString -> IO ()) -> Ptr CString -> IO ()
forall a b c.
(Storable a, Integral b) =>
b -> (a -> IO c) -> Ptr a -> IO ()
mapCArrayWithLength Int32
nProperties) CString -> IO ()
forall a. Ptr a -> IO ()
freeMem Ptr CString
properties'
Ptr CString -> IO ()
forall a. Ptr a -> IO ()
freeMem Ptr CString
properties'
Ptr GValue -> IO ()
forall a. Ptr a -> IO ()
freeMem Ptr GValue
values'
Animation -> IO Animation
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Animation
result'
#if defined(ENABLE_OVERLOADING)
data ActorAnimatevMethodInfo
instance (signature ~ (FCT.CULong -> Word32 -> [T.Text] -> [GValue] -> m Clutter.Animation.Animation), MonadIO m, IsActor a) => O.OverloadedMethod ActorAnimatevMethodInfo a signature where
overloadedMethod = actorAnimatev
instance O.OverloadedMethodInfo ActorAnimatevMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorAnimatev",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorAnimatev"
})
#endif
foreign import ccall "clutter_actor_apply_relative_transform_to_point" clutter_actor_apply_relative_transform_to_point ::
Ptr Actor ->
Ptr Actor ->
Ptr Clutter.Vertex.Vertex ->
Ptr Clutter.Vertex.Vertex ->
IO ()
actorApplyRelativeTransformToPoint ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a, IsActor b) =>
a
-> Maybe (b)
-> Clutter.Vertex.Vertex
-> m (Clutter.Vertex.Vertex)
actorApplyRelativeTransformToPoint :: forall (m :: * -> *) a b.
(HasCallStack, MonadIO m, IsActor a, IsActor b) =>
a -> Maybe b -> Vertex -> m Vertex
actorApplyRelativeTransformToPoint a
self Maybe b
ancestor Vertex
point = IO Vertex -> m Vertex
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Vertex -> m Vertex) -> IO Vertex -> m Vertex
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Actor
maybeAncestor <- case Maybe b
ancestor of
Maybe b
Nothing -> Ptr Actor -> IO (Ptr Actor)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Ptr Actor
forall a. Ptr a
nullPtr
Just b
jAncestor -> do
Ptr Actor
jAncestor' <- b -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr b
jAncestor
Ptr Actor -> IO (Ptr Actor)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Ptr Actor
jAncestor'
Ptr Vertex
point' <- Vertex -> IO (Ptr Vertex)
forall a. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr a)
unsafeManagedPtrGetPtr Vertex
point
Ptr Vertex
vertex <- Int -> IO (Ptr Vertex)
forall a. GBoxed a => Int -> IO (Ptr a)
SP.callocBoxedBytes Int
12 :: IO (Ptr Clutter.Vertex.Vertex)
Ptr Actor -> Ptr Actor -> Ptr Vertex -> Ptr Vertex -> IO ()
clutter_actor_apply_relative_transform_to_point Ptr Actor
self' Ptr Actor
maybeAncestor Ptr Vertex
point' Ptr Vertex
vertex
Vertex
vertex' <- ((ManagedPtr Vertex -> Vertex) -> Ptr Vertex -> IO Vertex
forall a.
(HasCallStack, GBoxed a) =>
(ManagedPtr a -> a) -> Ptr a -> IO a
wrapBoxed ManagedPtr Vertex -> Vertex
Clutter.Vertex.Vertex) Ptr Vertex
vertex
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Maybe b -> (b -> IO ()) -> IO ()
forall (m :: * -> *) a. Monad m => Maybe a -> (a -> m ()) -> m ()
whenJust Maybe b
ancestor b -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr
Vertex -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr Vertex
point
Vertex -> IO Vertex
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Vertex
vertex'
#if defined(ENABLE_OVERLOADING)
data ActorApplyRelativeTransformToPointMethodInfo
instance (signature ~ (Maybe (b) -> Clutter.Vertex.Vertex -> m (Clutter.Vertex.Vertex)), MonadIO m, IsActor a, IsActor b) => O.OverloadedMethod ActorApplyRelativeTransformToPointMethodInfo a signature where
overloadedMethod = actorApplyRelativeTransformToPoint
instance O.OverloadedMethodInfo ActorApplyRelativeTransformToPointMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorApplyRelativeTransformToPoint",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorApplyRelativeTransformToPoint"
})
#endif
foreign import ccall "clutter_actor_apply_transform_to_point" clutter_actor_apply_transform_to_point ::
Ptr Actor ->
Ptr Clutter.Vertex.Vertex ->
Ptr Clutter.Vertex.Vertex ->
IO ()
actorApplyTransformToPoint ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> Clutter.Vertex.Vertex
-> m (Clutter.Vertex.Vertex)
actorApplyTransformToPoint :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> Vertex -> m Vertex
actorApplyTransformToPoint a
self Vertex
point = IO Vertex -> m Vertex
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Vertex -> m Vertex) -> IO Vertex -> m Vertex
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Vertex
point' <- Vertex -> IO (Ptr Vertex)
forall a. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr a)
unsafeManagedPtrGetPtr Vertex
point
Ptr Vertex
vertex <- Int -> IO (Ptr Vertex)
forall a. GBoxed a => Int -> IO (Ptr a)
SP.callocBoxedBytes Int
12 :: IO (Ptr Clutter.Vertex.Vertex)
Ptr Actor -> Ptr Vertex -> Ptr Vertex -> IO ()
clutter_actor_apply_transform_to_point Ptr Actor
self' Ptr Vertex
point' Ptr Vertex
vertex
Vertex
vertex' <- ((ManagedPtr Vertex -> Vertex) -> Ptr Vertex -> IO Vertex
forall a.
(HasCallStack, GBoxed a) =>
(ManagedPtr a -> a) -> Ptr a -> IO a
wrapBoxed ManagedPtr Vertex -> Vertex
Clutter.Vertex.Vertex) Ptr Vertex
vertex
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Vertex -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr Vertex
point
Vertex -> IO Vertex
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Vertex
vertex'
#if defined(ENABLE_OVERLOADING)
data ActorApplyTransformToPointMethodInfo
instance (signature ~ (Clutter.Vertex.Vertex -> m (Clutter.Vertex.Vertex)), MonadIO m, IsActor a) => O.OverloadedMethod ActorApplyTransformToPointMethodInfo a signature where
overloadedMethod = actorApplyTransformToPoint
instance O.OverloadedMethodInfo ActorApplyTransformToPointMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorApplyTransformToPoint",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorApplyTransformToPoint"
})
#endif
foreign import ccall "clutter_actor_bind_model" clutter_actor_bind_model ::
Ptr Actor ->
Ptr Gio.ListModel.ListModel ->
FunPtr Clutter.Callbacks.C_ActorCreateChildFunc ->
Ptr () ->
FunPtr GLib.Callbacks.C_DestroyNotify ->
IO ()
actorBindModel ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a, Gio.ListModel.IsListModel b) =>
a
-> Maybe (b)
-> Clutter.Callbacks.ActorCreateChildFunc
-> m ()
actorBindModel :: forall (m :: * -> *) a b.
(HasCallStack, MonadIO m, IsActor a, IsListModel b) =>
a -> Maybe b -> ActorCreateChildFunc -> m ()
actorBindModel a
self Maybe b
model ActorCreateChildFunc
createChildFunc = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr ListModel
maybeModel <- case Maybe b
model of
Maybe b
Nothing -> Ptr ListModel -> IO (Ptr ListModel)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Ptr ListModel
forall a. Ptr a
nullPtr
Just b
jModel -> do
Ptr ListModel
jModel' <- b -> IO (Ptr ListModel)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr b
jModel
Ptr ListModel -> IO (Ptr ListModel)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Ptr ListModel
jModel'
FunPtr C_ActorCreateChildFunc
createChildFunc' <- C_ActorCreateChildFunc -> IO (FunPtr C_ActorCreateChildFunc)
Clutter.Callbacks.mk_ActorCreateChildFunc (Maybe (Ptr (FunPtr C_ActorCreateChildFunc))
-> ActorCreateChildFunc_WithClosures -> C_ActorCreateChildFunc
Clutter.Callbacks.wrap_ActorCreateChildFunc Maybe (Ptr (FunPtr C_ActorCreateChildFunc))
forall a. Maybe a
Nothing (ActorCreateChildFunc -> ActorCreateChildFunc_WithClosures
Clutter.Callbacks.drop_closures_ActorCreateChildFunc ActorCreateChildFunc
createChildFunc))
let userData :: Ptr ()
userData = FunPtr C_ActorCreateChildFunc -> Ptr ()
forall a b. FunPtr a -> Ptr b
castFunPtrToPtr FunPtr C_ActorCreateChildFunc
createChildFunc'
let notify :: FunPtr (Ptr a -> IO ())
notify = FunPtr (Ptr a -> IO ())
forall a. FunPtr (Ptr a -> IO ())
SP.safeFreeFunPtrPtr
Ptr Actor
-> Ptr ListModel
-> FunPtr C_ActorCreateChildFunc
-> Ptr ()
-> FunPtr C_DestroyNotify
-> IO ()
clutter_actor_bind_model Ptr Actor
self' Ptr ListModel
maybeModel FunPtr C_ActorCreateChildFunc
createChildFunc' Ptr ()
userData FunPtr C_DestroyNotify
forall a. FunPtr (Ptr a -> IO ())
notify
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Maybe b -> (b -> IO ()) -> IO ()
forall (m :: * -> *) a. Monad m => Maybe a -> (a -> m ()) -> m ()
whenJust Maybe b
model b -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorBindModelMethodInfo
instance (signature ~ (Maybe (b) -> Clutter.Callbacks.ActorCreateChildFunc -> m ()), MonadIO m, IsActor a, Gio.ListModel.IsListModel b) => O.OverloadedMethod ActorBindModelMethodInfo a signature where
overloadedMethod = actorBindModel
instance O.OverloadedMethodInfo ActorBindModelMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorBindModel",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorBindModel"
})
#endif
foreign import ccall "clutter_actor_clear_actions" clutter_actor_clear_actions ::
Ptr Actor ->
IO ()
actorClearActions ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m ()
actorClearActions :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m ()
actorClearActions a
self = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Actor -> IO ()
clutter_actor_clear_actions Ptr Actor
self'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorClearActionsMethodInfo
instance (signature ~ (m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorClearActionsMethodInfo a signature where
overloadedMethod = actorClearActions
instance O.OverloadedMethodInfo ActorClearActionsMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorClearActions",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorClearActions"
})
#endif
foreign import ccall "clutter_actor_clear_constraints" clutter_actor_clear_constraints ::
Ptr Actor ->
IO ()
actorClearConstraints ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m ()
actorClearConstraints :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m ()
actorClearConstraints a
self = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Actor -> IO ()
clutter_actor_clear_constraints Ptr Actor
self'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorClearConstraintsMethodInfo
instance (signature ~ (m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorClearConstraintsMethodInfo a signature where
overloadedMethod = actorClearConstraints
instance O.OverloadedMethodInfo ActorClearConstraintsMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorClearConstraints",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorClearConstraints"
})
#endif
foreign import ccall "clutter_actor_clear_effects" clutter_actor_clear_effects ::
Ptr Actor ->
IO ()
actorClearEffects ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m ()
actorClearEffects :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m ()
actorClearEffects a
self = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Actor -> IO ()
clutter_actor_clear_effects Ptr Actor
self'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorClearEffectsMethodInfo
instance (signature ~ (m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorClearEffectsMethodInfo a signature where
overloadedMethod = actorClearEffects
instance O.OverloadedMethodInfo ActorClearEffectsMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorClearEffects",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorClearEffects"
})
#endif
foreign import ccall "clutter_actor_contains" clutter_actor_contains ::
Ptr Actor ->
Ptr Actor ->
IO CInt
actorContains ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a, IsActor b) =>
a
-> b
-> m Bool
actorContains :: forall (m :: * -> *) a b.
(HasCallStack, MonadIO m, IsActor a, IsActor b) =>
a -> b -> m Bool
actorContains a
self b
descendant = IO Bool -> m Bool
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Actor
descendant' <- b -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr b
descendant
CInt
result <- Ptr Actor -> Ptr Actor -> IO CInt
clutter_actor_contains Ptr Actor
self' Ptr Actor
descendant'
let result' :: Bool
result' = (CInt -> CInt -> Bool
forall a. Eq a => a -> a -> Bool
/= CInt
0) CInt
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
b -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr b
descendant
Bool -> IO Bool
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Bool
result'
#if defined(ENABLE_OVERLOADING)
data ActorContainsMethodInfo
instance (signature ~ (b -> m Bool), MonadIO m, IsActor a, IsActor b) => O.OverloadedMethod ActorContainsMethodInfo a signature where
overloadedMethod = actorContains
instance O.OverloadedMethodInfo ActorContainsMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorContains",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorContains"
})
#endif
foreign import ccall "clutter_actor_continue_paint" clutter_actor_continue_paint ::
Ptr Actor ->
IO ()
actorContinuePaint ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m ()
actorContinuePaint :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m ()
actorContinuePaint a
self = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Actor -> IO ()
clutter_actor_continue_paint Ptr Actor
self'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorContinuePaintMethodInfo
instance (signature ~ (m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorContinuePaintMethodInfo a signature where
overloadedMethod = actorContinuePaint
instance O.OverloadedMethodInfo ActorContinuePaintMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorContinuePaint",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorContinuePaint"
})
#endif
foreign import ccall "clutter_actor_create_pango_context" clutter_actor_create_pango_context ::
Ptr Actor ->
IO (Ptr Pango.Context.Context)
actorCreatePangoContext ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m Pango.Context.Context
actorCreatePangoContext :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m Context
actorCreatePangoContext a
self = IO Context -> m Context
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Context -> m Context) -> IO Context -> m Context
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Context
result <- Ptr Actor -> IO (Ptr Context)
clutter_actor_create_pango_context Ptr Actor
self'
Text -> Ptr Context -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"actorCreatePangoContext" Ptr Context
result
Context
result' <- ((ManagedPtr Context -> Context) -> Ptr Context -> IO Context
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
wrapObject ManagedPtr Context -> Context
Pango.Context.Context) Ptr Context
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Context -> IO Context
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Context
result'
#if defined(ENABLE_OVERLOADING)
data ActorCreatePangoContextMethodInfo
instance (signature ~ (m Pango.Context.Context), MonadIO m, IsActor a) => O.OverloadedMethod ActorCreatePangoContextMethodInfo a signature where
overloadedMethod = actorCreatePangoContext
instance O.OverloadedMethodInfo ActorCreatePangoContextMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorCreatePangoContext",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorCreatePangoContext"
})
#endif
foreign import ccall "clutter_actor_create_pango_layout" clutter_actor_create_pango_layout ::
Ptr Actor ->
CString ->
IO (Ptr Pango.Layout.Layout)
actorCreatePangoLayout ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> Maybe (T.Text)
-> m Pango.Layout.Layout
actorCreatePangoLayout :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> Maybe Text -> m Layout
actorCreatePangoLayout a
self Maybe Text
text = IO Layout -> m Layout
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Layout -> m Layout) -> IO Layout -> m Layout
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CString
maybeText <- case Maybe Text
text of
Maybe Text
Nothing -> CString -> IO CString
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return CString
forall a. Ptr a
nullPtr
Just Text
jText -> do
CString
jText' <- Text -> IO CString
textToCString Text
jText
CString -> IO CString
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return CString
jText'
Ptr Layout
result <- Ptr Actor -> CString -> IO (Ptr Layout)
clutter_actor_create_pango_layout Ptr Actor
self' CString
maybeText
Text -> Ptr Layout -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"actorCreatePangoLayout" Ptr Layout
result
Layout
result' <- ((ManagedPtr Layout -> Layout) -> Ptr Layout -> IO Layout
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
wrapObject ManagedPtr Layout -> Layout
Pango.Layout.Layout) Ptr Layout
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
CString -> IO ()
forall a. Ptr a -> IO ()
freeMem CString
maybeText
Layout -> IO Layout
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Layout
result'
#if defined(ENABLE_OVERLOADING)
data ActorCreatePangoLayoutMethodInfo
instance (signature ~ (Maybe (T.Text) -> m Pango.Layout.Layout), MonadIO m, IsActor a) => O.OverloadedMethod ActorCreatePangoLayoutMethodInfo a signature where
overloadedMethod = actorCreatePangoLayout
instance O.OverloadedMethodInfo ActorCreatePangoLayoutMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorCreatePangoLayout",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorCreatePangoLayout"
})
#endif
foreign import ccall "clutter_actor_destroy" clutter_actor_destroy ::
Ptr Actor ->
IO ()
actorDestroy ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m ()
actorDestroy :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m ()
actorDestroy a
self = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Actor -> IO ()
clutter_actor_destroy Ptr Actor
self'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorDestroyMethodInfo
instance (signature ~ (m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorDestroyMethodInfo a signature where
overloadedMethod = actorDestroy
instance O.OverloadedMethodInfo ActorDestroyMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorDestroy",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorDestroy"
})
#endif
foreign import ccall "clutter_actor_destroy_all_children" clutter_actor_destroy_all_children ::
Ptr Actor ->
IO ()
actorDestroyAllChildren ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m ()
actorDestroyAllChildren :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m ()
actorDestroyAllChildren a
self = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Actor -> IO ()
clutter_actor_destroy_all_children Ptr Actor
self'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorDestroyAllChildrenMethodInfo
instance (signature ~ (m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorDestroyAllChildrenMethodInfo a signature where
overloadedMethod = actorDestroyAllChildren
instance O.OverloadedMethodInfo ActorDestroyAllChildrenMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorDestroyAllChildren",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorDestroyAllChildren"
})
#endif
foreign import ccall "clutter_actor_detach_animation" clutter_actor_detach_animation ::
Ptr Actor ->
IO ()
{-# DEPRECATED actorDetachAnimation ["(Since version 1.12)","Use the implicit transition for animatable properties"," in t'GI.Clutter.Objects.Actor.Actor' instead, and 'GI.Clutter.Objects.Actor.actorRemoveTransition' to"," remove the transition."] #-}
actorDetachAnimation ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m ()
actorDetachAnimation :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m ()
actorDetachAnimation a
actor = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
actor' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
actor
Ptr Actor -> IO ()
clutter_actor_detach_animation Ptr Actor
actor'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
actor
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorDetachAnimationMethodInfo
instance (signature ~ (m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorDetachAnimationMethodInfo a signature where
overloadedMethod = actorDetachAnimation
instance O.OverloadedMethodInfo ActorDetachAnimationMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorDetachAnimation",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorDetachAnimation"
})
#endif
foreign import ccall "clutter_actor_event" clutter_actor_event ::
Ptr Actor ->
Ptr Clutter.Event.Event ->
CInt ->
IO CInt
actorEvent ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> Clutter.Event.Event
-> Bool
-> m Bool
actorEvent :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> Event -> Bool -> m Bool
actorEvent a
actor Event
event Bool
capture = IO Bool -> m Bool
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
actor' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
actor
Ptr Event
event' <- Event -> IO (Ptr Event)
forall a. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr a)
unsafeManagedPtrGetPtr Event
event
let capture' :: CInt
capture' = (Int -> CInt
forall a b. (Integral a, Num b) => a -> b
P.fromIntegral (Int -> CInt) -> (Bool -> Int) -> Bool -> CInt
forall b c a. (b -> c) -> (a -> b) -> a -> c
. Bool -> Int
forall a. Enum a => a -> Int
P.fromEnum) Bool
capture
CInt
result <- Ptr Actor -> Ptr Event -> CInt -> IO CInt
clutter_actor_event Ptr Actor
actor' Ptr Event
event' CInt
capture'
let result' :: Bool
result' = (CInt -> CInt -> Bool
forall a. Eq a => a -> a -> Bool
/= CInt
0) CInt
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
actor
Event -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr Event
event
Bool -> IO Bool
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Bool
result'
#if defined(ENABLE_OVERLOADING)
data ActorEventMethodInfo
instance (signature ~ (Clutter.Event.Event -> Bool -> m Bool), MonadIO m, IsActor a) => O.OverloadedMethod ActorEventMethodInfo a signature where
overloadedMethod = actorEvent
instance O.OverloadedMethodInfo ActorEventMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorEvent",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorEvent"
})
#endif
#if defined(ENABLE_OVERLOADING)
data ActorGetAbsAllocationVerticesMethodInfo
instance (p ~ (), o ~ O.UnsupportedMethodError "getAbsAllocationVertices" Actor) => O.OverloadedMethod ActorGetAbsAllocationVerticesMethodInfo o p where
overloadedMethod = undefined
instance (o ~ O.UnsupportedMethodError "getAbsAllocationVertices" Actor) => O.OverloadedMethodInfo ActorGetAbsAllocationVerticesMethodInfo o where
overloadedMethodInfo = undefined
#endif
foreign import ccall "clutter_actor_get_accessible" clutter_actor_get_accessible ::
Ptr Actor ->
IO (Ptr Atk.Object.Object)
actorGetAccessible ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m Atk.Object.Object
actorGetAccessible :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m Object
actorGetAccessible a
self = IO Object -> m Object
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Object -> m Object) -> IO Object -> m Object
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Object
result <- Ptr Actor -> IO (Ptr Object)
clutter_actor_get_accessible Ptr Actor
self'
Text -> Ptr Object -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"actorGetAccessible" Ptr Object
result
Object
result' <- ((ManagedPtr Object -> Object) -> Ptr Object -> IO Object
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
newObject ManagedPtr Object -> Object
Atk.Object.Object) Ptr Object
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Object -> IO Object
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Object
result'
#if defined(ENABLE_OVERLOADING)
data ActorGetAccessibleMethodInfo
instance (signature ~ (m Atk.Object.Object), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetAccessibleMethodInfo a signature where
overloadedMethod = actorGetAccessible
instance O.OverloadedMethodInfo ActorGetAccessibleMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetAccessible",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetAccessible"
})
#endif
foreign import ccall "clutter_actor_get_action" clutter_actor_get_action ::
Ptr Actor ->
CString ->
IO (Ptr Clutter.Action.Action)
actorGetAction ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> T.Text
-> m Clutter.Action.Action
actorGetAction :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> Text -> m Action
actorGetAction a
self Text
name = IO Action -> m Action
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Action -> m Action) -> IO Action -> m Action
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CString
name' <- Text -> IO CString
textToCString Text
name
Ptr Action
result <- Ptr Actor -> CString -> IO (Ptr Action)
clutter_actor_get_action Ptr Actor
self' CString
name'
Text -> Ptr Action -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"actorGetAction" Ptr Action
result
Action
result' <- ((ManagedPtr Action -> Action) -> Ptr Action -> IO Action
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
newObject ManagedPtr Action -> Action
Clutter.Action.Action) Ptr Action
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
CString -> IO ()
forall a. Ptr a -> IO ()
freeMem CString
name'
Action -> IO Action
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Action
result'
#if defined(ENABLE_OVERLOADING)
data ActorGetActionMethodInfo
instance (signature ~ (T.Text -> m Clutter.Action.Action), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetActionMethodInfo a signature where
overloadedMethod = actorGetAction
instance O.OverloadedMethodInfo ActorGetActionMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetAction",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetAction"
})
#endif
foreign import ccall "clutter_actor_get_actions" clutter_actor_get_actions ::
Ptr Actor ->
IO (Ptr (GList (Ptr Clutter.Action.Action)))
actorGetActions ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m [Clutter.Action.Action]
actorGetActions :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m [Action]
actorGetActions a
self = IO [Action] -> m [Action]
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO [Action] -> m [Action]) -> IO [Action] -> m [Action]
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr (GList (Ptr Action))
result <- Ptr Actor -> IO (Ptr (GList (Ptr Action)))
clutter_actor_get_actions Ptr Actor
self'
[Ptr Action]
result' <- Ptr (GList (Ptr Action)) -> IO [Ptr Action]
forall a. Ptr (GList (Ptr a)) -> IO [Ptr a]
unpackGList Ptr (GList (Ptr Action))
result
[Action]
result'' <- (Ptr Action -> IO Action) -> [Ptr Action] -> IO [Action]
forall (t :: * -> *) (m :: * -> *) a b.
(Traversable t, Monad m) =>
(a -> m b) -> t a -> m (t b)
forall (m :: * -> *) a b. Monad m => (a -> m b) -> [a] -> m [b]
mapM ((ManagedPtr Action -> Action) -> Ptr Action -> IO Action
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
newObject ManagedPtr Action -> Action
Clutter.Action.Action) [Ptr Action]
result'
Ptr (GList (Ptr Action)) -> IO ()
forall a. Ptr (GList a) -> IO ()
g_list_free Ptr (GList (Ptr Action))
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
[Action] -> IO [Action]
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return [Action]
result''
#if defined(ENABLE_OVERLOADING)
data ActorGetActionsMethodInfo
instance (signature ~ (m [Clutter.Action.Action]), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetActionsMethodInfo a signature where
overloadedMethod = actorGetActions
instance O.OverloadedMethodInfo ActorGetActionsMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetActions",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetActions"
})
#endif
foreign import ccall "clutter_actor_get_allocation_box" clutter_actor_get_allocation_box ::
Ptr Actor ->
Ptr Clutter.ActorBox.ActorBox ->
IO ()
actorGetAllocationBox ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m (Clutter.ActorBox.ActorBox)
actorGetAllocationBox :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m ActorBox
actorGetAllocationBox a
self = IO ActorBox -> m ActorBox
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO ActorBox -> m ActorBox) -> IO ActorBox -> m ActorBox
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr ActorBox
box <- Int -> IO (Ptr ActorBox)
forall a. GBoxed a => Int -> IO (Ptr a)
SP.callocBoxedBytes Int
16 :: IO (Ptr Clutter.ActorBox.ActorBox)
Ptr Actor -> Ptr ActorBox -> IO ()
clutter_actor_get_allocation_box Ptr Actor
self' Ptr ActorBox
box
ActorBox
box' <- ((ManagedPtr ActorBox -> ActorBox) -> Ptr ActorBox -> IO ActorBox
forall a.
(HasCallStack, GBoxed a) =>
(ManagedPtr a -> a) -> Ptr a -> IO a
wrapBoxed ManagedPtr ActorBox -> ActorBox
Clutter.ActorBox.ActorBox) Ptr ActorBox
box
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
ActorBox -> IO ActorBox
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ActorBox
box'
#if defined(ENABLE_OVERLOADING)
data ActorGetAllocationBoxMethodInfo
instance (signature ~ (m (Clutter.ActorBox.ActorBox)), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetAllocationBoxMethodInfo a signature where
overloadedMethod = actorGetAllocationBox
instance O.OverloadedMethodInfo ActorGetAllocationBoxMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetAllocationBox",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetAllocationBox"
})
#endif
foreign import ccall "clutter_actor_get_allocation_geometry" clutter_actor_get_allocation_geometry ::
Ptr Actor ->
Ptr Clutter.Geometry.Geometry ->
IO ()
{-# DEPRECATED actorGetAllocationGeometry ["(Since version 1.12)","Use 'GI.Clutter.Objects.Actor.actorGetAllocationBox' instead."] #-}
actorGetAllocationGeometry ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m (Clutter.Geometry.Geometry)
actorGetAllocationGeometry :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m Geometry
actorGetAllocationGeometry a
self = IO Geometry -> m Geometry
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Geometry -> m Geometry) -> IO Geometry -> m Geometry
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Geometry
geom <- Int -> IO (Ptr Geometry)
forall a. GBoxed a => Int -> IO (Ptr a)
SP.callocBoxedBytes Int
16 :: IO (Ptr Clutter.Geometry.Geometry)
Ptr Actor -> Ptr Geometry -> IO ()
clutter_actor_get_allocation_geometry Ptr Actor
self' Ptr Geometry
geom
Geometry
geom' <- ((ManagedPtr Geometry -> Geometry) -> Ptr Geometry -> IO Geometry
forall a.
(HasCallStack, GBoxed a) =>
(ManagedPtr a -> a) -> Ptr a -> IO a
wrapBoxed ManagedPtr Geometry -> Geometry
Clutter.Geometry.Geometry) Ptr Geometry
geom
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Geometry -> IO Geometry
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Geometry
geom'
#if defined(ENABLE_OVERLOADING)
data ActorGetAllocationGeometryMethodInfo
instance (signature ~ (m (Clutter.Geometry.Geometry)), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetAllocationGeometryMethodInfo a signature where
overloadedMethod = actorGetAllocationGeometry
instance O.OverloadedMethodInfo ActorGetAllocationGeometryMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetAllocationGeometry",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetAllocationGeometry"
})
#endif
#if defined(ENABLE_OVERLOADING)
data ActorGetAllocationVerticesMethodInfo
instance (p ~ (), o ~ O.UnsupportedMethodError "getAllocationVertices" Actor) => O.OverloadedMethod ActorGetAllocationVerticesMethodInfo o p where
overloadedMethod = undefined
instance (o ~ O.UnsupportedMethodError "getAllocationVertices" Actor) => O.OverloadedMethodInfo ActorGetAllocationVerticesMethodInfo o where
overloadedMethodInfo = undefined
#endif
foreign import ccall "clutter_actor_get_anchor_point" clutter_actor_get_anchor_point ::
Ptr Actor ->
Ptr CFloat ->
Ptr CFloat ->
IO ()
{-# DEPRECATED actorGetAnchorPoint ["(Since version 1.12)","Use [Actor:pivotPoint](\"GI.Clutter.Objects.Actor#g:attr:pivotPoint\") instead"] #-}
actorGetAnchorPoint ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m ((Float, Float))
actorGetAnchorPoint :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m (Float, Float)
actorGetAnchorPoint a
self = IO (Float, Float) -> m (Float, Float)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO (Float, Float) -> m (Float, Float))
-> IO (Float, Float) -> m (Float, Float)
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr CFloat
anchorX <- IO (Ptr CFloat)
forall a. Storable a => IO (Ptr a)
allocMem :: IO (Ptr CFloat)
Ptr CFloat
anchorY <- IO (Ptr CFloat)
forall a. Storable a => IO (Ptr a)
allocMem :: IO (Ptr CFloat)
Ptr Actor -> Ptr CFloat -> Ptr CFloat -> IO ()
clutter_actor_get_anchor_point Ptr Actor
self' Ptr CFloat
anchorX Ptr CFloat
anchorY
CFloat
anchorX' <- Ptr CFloat -> IO CFloat
forall a. Storable a => Ptr a -> IO a
peek Ptr CFloat
anchorX
let anchorX'' :: Float
anchorX'' = CFloat -> Float
forall a b. (Real a, Fractional b) => a -> b
realToFrac CFloat
anchorX'
CFloat
anchorY' <- Ptr CFloat -> IO CFloat
forall a. Storable a => Ptr a -> IO a
peek Ptr CFloat
anchorY
let anchorY'' :: Float
anchorY'' = CFloat -> Float
forall a b. (Real a, Fractional b) => a -> b
realToFrac CFloat
anchorY'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Ptr CFloat -> IO ()
forall a. Ptr a -> IO ()
freeMem Ptr CFloat
anchorX
Ptr CFloat -> IO ()
forall a. Ptr a -> IO ()
freeMem Ptr CFloat
anchorY
(Float, Float) -> IO (Float, Float)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return (Float
anchorX'', Float
anchorY'')
#if defined(ENABLE_OVERLOADING)
data ActorGetAnchorPointMethodInfo
instance (signature ~ (m ((Float, Float))), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetAnchorPointMethodInfo a signature where
overloadedMethod = actorGetAnchorPoint
instance O.OverloadedMethodInfo ActorGetAnchorPointMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetAnchorPoint",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetAnchorPoint"
})
#endif
foreign import ccall "clutter_actor_get_anchor_point_gravity" clutter_actor_get_anchor_point_gravity ::
Ptr Actor ->
IO CUInt
{-# DEPRECATED actorGetAnchorPointGravity ["(Since version 1.12)","Use [Actor:pivotPoint](\"GI.Clutter.Objects.Actor#g:attr:pivotPoint\") instead."] #-}
actorGetAnchorPointGravity ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m Clutter.Enums.Gravity
actorGetAnchorPointGravity :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m Gravity
actorGetAnchorPointGravity a
self = IO Gravity -> m Gravity
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Gravity -> m Gravity) -> IO Gravity -> m Gravity
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CUInt
result <- Ptr Actor -> IO CUInt
clutter_actor_get_anchor_point_gravity Ptr Actor
self'
let result' :: Gravity
result' = (Int -> Gravity
forall a. Enum a => Int -> a
toEnum (Int -> Gravity) -> (CUInt -> Int) -> CUInt -> Gravity
forall b c a. (b -> c) -> (a -> b) -> a -> c
. CUInt -> Int
forall a b. (Integral a, Num b) => a -> b
fromIntegral) CUInt
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Gravity -> IO Gravity
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Gravity
result'
#if defined(ENABLE_OVERLOADING)
data ActorGetAnchorPointGravityMethodInfo
instance (signature ~ (m Clutter.Enums.Gravity), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetAnchorPointGravityMethodInfo a signature where
overloadedMethod = actorGetAnchorPointGravity
instance O.OverloadedMethodInfo ActorGetAnchorPointGravityMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetAnchorPointGravity",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetAnchorPointGravity"
})
#endif
foreign import ccall "clutter_actor_get_animation" clutter_actor_get_animation ::
Ptr Actor ->
IO (Ptr Clutter.Animation.Animation)
{-# DEPRECATED actorGetAnimation ["(Since version 1.12)","Use the implicit transition for animatable properties"," in t'GI.Clutter.Objects.Actor.Actor' instead, and 'GI.Clutter.Objects.Actor.actorGetTransition' to retrieve"," the transition."] #-}
actorGetAnimation ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m Clutter.Animation.Animation
actorGetAnimation :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m Animation
actorGetAnimation a
actor = IO Animation -> m Animation
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Animation -> m Animation) -> IO Animation -> m Animation
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
actor' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
actor
Ptr Animation
result <- Ptr Actor -> IO (Ptr Animation)
clutter_actor_get_animation Ptr Actor
actor'
Text -> Ptr Animation -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"actorGetAnimation" Ptr Animation
result
Animation
result' <- ((ManagedPtr Animation -> Animation)
-> Ptr Animation -> IO Animation
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
newObject ManagedPtr Animation -> Animation
Clutter.Animation.Animation) Ptr Animation
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
actor
Animation -> IO Animation
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Animation
result'
#if defined(ENABLE_OVERLOADING)
data ActorGetAnimationMethodInfo
instance (signature ~ (m Clutter.Animation.Animation), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetAnimationMethodInfo a signature where
overloadedMethod = actorGetAnimation
instance O.OverloadedMethodInfo ActorGetAnimationMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetAnimation",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetAnimation"
})
#endif
foreign import ccall "clutter_actor_get_background_color" clutter_actor_get_background_color ::
Ptr Actor ->
Ptr Clutter.Color.Color ->
IO ()
actorGetBackgroundColor ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m (Clutter.Color.Color)
actorGetBackgroundColor :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m Color
actorGetBackgroundColor a
self = IO Color -> m Color
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Color -> m Color) -> IO Color -> m Color
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Color
color <- Int -> IO (Ptr Color)
forall a. GBoxed a => Int -> IO (Ptr a)
SP.callocBoxedBytes Int
4 :: IO (Ptr Clutter.Color.Color)
Ptr Actor -> Ptr Color -> IO ()
clutter_actor_get_background_color Ptr Actor
self' Ptr Color
color
Color
color' <- ((ManagedPtr Color -> Color) -> Ptr Color -> IO Color
forall a.
(HasCallStack, GBoxed a) =>
(ManagedPtr a -> a) -> Ptr a -> IO a
wrapBoxed ManagedPtr Color -> Color
Clutter.Color.Color) Ptr Color
color
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Color -> IO Color
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Color
color'
#if defined(ENABLE_OVERLOADING)
data ActorGetBackgroundColorMethodInfo
instance (signature ~ (m (Clutter.Color.Color)), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetBackgroundColorMethodInfo a signature where
overloadedMethod = actorGetBackgroundColor
instance O.OverloadedMethodInfo ActorGetBackgroundColorMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetBackgroundColor",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetBackgroundColor"
})
#endif
foreign import ccall "clutter_actor_get_child_at_index" clutter_actor_get_child_at_index ::
Ptr Actor ->
Int32 ->
IO (Ptr Actor)
actorGetChildAtIndex ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> Int32
-> m Actor
actorGetChildAtIndex :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> Int32 -> m Actor
actorGetChildAtIndex a
self Int32
index_ = IO Actor -> m Actor
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Actor -> m Actor) -> IO Actor -> m Actor
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Actor
result <- Ptr Actor -> Int32 -> IO (Ptr Actor)
clutter_actor_get_child_at_index Ptr Actor
self' Int32
index_
Text -> Ptr Actor -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"actorGetChildAtIndex" Ptr Actor
result
Actor
result' <- ((ManagedPtr Actor -> Actor) -> Ptr Actor -> IO Actor
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
newObject ManagedPtr Actor -> Actor
Actor) Ptr Actor
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Actor -> IO Actor
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Actor
result'
#if defined(ENABLE_OVERLOADING)
data ActorGetChildAtIndexMethodInfo
instance (signature ~ (Int32 -> m Actor), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetChildAtIndexMethodInfo a signature where
overloadedMethod = actorGetChildAtIndex
instance O.OverloadedMethodInfo ActorGetChildAtIndexMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetChildAtIndex",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetChildAtIndex"
})
#endif
#if defined(ENABLE_OVERLOADING)
data ActorGetChildTransformMethodInfo
instance (p ~ (), o ~ O.UnsupportedMethodError "getChildTransform" Actor) => O.OverloadedMethod ActorGetChildTransformMethodInfo o p where
overloadedMethod = undefined
instance (o ~ O.UnsupportedMethodError "getChildTransform" Actor) => O.OverloadedMethodInfo ActorGetChildTransformMethodInfo o where
overloadedMethodInfo = undefined
#endif
foreign import ccall "clutter_actor_get_children" clutter_actor_get_children ::
Ptr Actor ->
IO (Ptr (GList (Ptr Actor)))
actorGetChildren ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m [Actor]
actorGetChildren :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m [Actor]
actorGetChildren a
self = IO [Actor] -> m [Actor]
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO [Actor] -> m [Actor]) -> IO [Actor] -> m [Actor]
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr (GList (Ptr Actor))
result <- Ptr Actor -> IO (Ptr (GList (Ptr Actor)))
clutter_actor_get_children Ptr Actor
self'
[Ptr Actor]
result' <- Ptr (GList (Ptr Actor)) -> IO [Ptr Actor]
forall a. Ptr (GList (Ptr a)) -> IO [Ptr a]
unpackGList Ptr (GList (Ptr Actor))
result
[Actor]
result'' <- (Ptr Actor -> IO Actor) -> [Ptr Actor] -> IO [Actor]
forall (t :: * -> *) (m :: * -> *) a b.
(Traversable t, Monad m) =>
(a -> m b) -> t a -> m (t b)
forall (m :: * -> *) a b. Monad m => (a -> m b) -> [a] -> m [b]
mapM ((ManagedPtr Actor -> Actor) -> Ptr Actor -> IO Actor
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
newObject ManagedPtr Actor -> Actor
Actor) [Ptr Actor]
result'
Ptr (GList (Ptr Actor)) -> IO ()
forall a. Ptr (GList a) -> IO ()
g_list_free Ptr (GList (Ptr Actor))
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
[Actor] -> IO [Actor]
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return [Actor]
result''
#if defined(ENABLE_OVERLOADING)
data ActorGetChildrenMethodInfo
instance (signature ~ (m [Actor]), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetChildrenMethodInfo a signature where
overloadedMethod = actorGetChildren
instance O.OverloadedMethodInfo ActorGetChildrenMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetChildren",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetChildren"
})
#endif
foreign import ccall "clutter_actor_get_clip" clutter_actor_get_clip ::
Ptr Actor ->
Ptr CFloat ->
Ptr CFloat ->
Ptr CFloat ->
Ptr CFloat ->
IO ()
actorGetClip ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m ((Float, Float, Float, Float))
actorGetClip :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m (Float, Float, Float, Float)
actorGetClip a
self = IO (Float, Float, Float, Float) -> m (Float, Float, Float, Float)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO (Float, Float, Float, Float) -> m (Float, Float, Float, Float))
-> IO (Float, Float, Float, Float)
-> m (Float, Float, Float, Float)
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr CFloat
xoff <- IO (Ptr CFloat)
forall a. Storable a => IO (Ptr a)
allocMem :: IO (Ptr CFloat)
Ptr CFloat
yoff <- IO (Ptr CFloat)
forall a. Storable a => IO (Ptr a)
allocMem :: IO (Ptr CFloat)
Ptr CFloat
width <- IO (Ptr CFloat)
forall a. Storable a => IO (Ptr a)
allocMem :: IO (Ptr CFloat)
Ptr CFloat
height <- IO (Ptr CFloat)
forall a. Storable a => IO (Ptr a)
allocMem :: IO (Ptr CFloat)
Ptr Actor
-> Ptr CFloat -> Ptr CFloat -> Ptr CFloat -> Ptr CFloat -> IO ()
clutter_actor_get_clip Ptr Actor
self' Ptr CFloat
xoff Ptr CFloat
yoff Ptr CFloat
width Ptr CFloat
height
CFloat
xoff' <- Ptr CFloat -> IO CFloat
forall a. Storable a => Ptr a -> IO a
peek Ptr CFloat
xoff
let xoff'' :: Float
xoff'' = CFloat -> Float
forall a b. (Real a, Fractional b) => a -> b
realToFrac CFloat
xoff'
CFloat
yoff' <- Ptr CFloat -> IO CFloat
forall a. Storable a => Ptr a -> IO a
peek Ptr CFloat
yoff
let yoff'' :: Float
yoff'' = CFloat -> Float
forall a b. (Real a, Fractional b) => a -> b
realToFrac CFloat
yoff'
CFloat
width' <- Ptr CFloat -> IO CFloat
forall a. Storable a => Ptr a -> IO a
peek Ptr CFloat
width
let width'' :: Float
width'' = CFloat -> Float
forall a b. (Real a, Fractional b) => a -> b
realToFrac CFloat
width'
CFloat
height' <- Ptr CFloat -> IO CFloat
forall a. Storable a => Ptr a -> IO a
peek Ptr CFloat
height
let height'' :: Float
height'' = CFloat -> Float
forall a b. (Real a, Fractional b) => a -> b
realToFrac CFloat
height'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Ptr CFloat -> IO ()
forall a. Ptr a -> IO ()
freeMem Ptr CFloat
xoff
Ptr CFloat -> IO ()
forall a. Ptr a -> IO ()
freeMem Ptr CFloat
yoff
Ptr CFloat -> IO ()
forall a. Ptr a -> IO ()
freeMem Ptr CFloat
width
Ptr CFloat -> IO ()
forall a. Ptr a -> IO ()
freeMem Ptr CFloat
height
(Float, Float, Float, Float) -> IO (Float, Float, Float, Float)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return (Float
xoff'', Float
yoff'', Float
width'', Float
height'')
#if defined(ENABLE_OVERLOADING)
data ActorGetClipMethodInfo
instance (signature ~ (m ((Float, Float, Float, Float))), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetClipMethodInfo a signature where
overloadedMethod = actorGetClip
instance O.OverloadedMethodInfo ActorGetClipMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetClip",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetClip"
})
#endif
foreign import ccall "clutter_actor_get_clip_to_allocation" clutter_actor_get_clip_to_allocation ::
Ptr Actor ->
IO CInt
actorGetClipToAllocation ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m Bool
actorGetClipToAllocation :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m Bool
actorGetClipToAllocation a
self = IO Bool -> m Bool
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CInt
result <- Ptr Actor -> IO CInt
clutter_actor_get_clip_to_allocation Ptr Actor
self'
let result' :: Bool
result' = (CInt -> CInt -> Bool
forall a. Eq a => a -> a -> Bool
/= CInt
0) CInt
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Bool -> IO Bool
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Bool
result'
#if defined(ENABLE_OVERLOADING)
data ActorGetClipToAllocationMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetClipToAllocationMethodInfo a signature where
overloadedMethod = actorGetClipToAllocation
instance O.OverloadedMethodInfo ActorGetClipToAllocationMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetClipToAllocation",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetClipToAllocation"
})
#endif
foreign import ccall "clutter_actor_get_constraint" clutter_actor_get_constraint ::
Ptr Actor ->
CString ->
IO (Ptr Clutter.Constraint.Constraint)
actorGetConstraint ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> T.Text
-> m Clutter.Constraint.Constraint
actorGetConstraint :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> Text -> m Constraint
actorGetConstraint a
self Text
name = IO Constraint -> m Constraint
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Constraint -> m Constraint) -> IO Constraint -> m Constraint
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CString
name' <- Text -> IO CString
textToCString Text
name
Ptr Constraint
result <- Ptr Actor -> CString -> IO (Ptr Constraint)
clutter_actor_get_constraint Ptr Actor
self' CString
name'
Text -> Ptr Constraint -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"actorGetConstraint" Ptr Constraint
result
Constraint
result' <- ((ManagedPtr Constraint -> Constraint)
-> Ptr Constraint -> IO Constraint
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
newObject ManagedPtr Constraint -> Constraint
Clutter.Constraint.Constraint) Ptr Constraint
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
CString -> IO ()
forall a. Ptr a -> IO ()
freeMem CString
name'
Constraint -> IO Constraint
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Constraint
result'
#if defined(ENABLE_OVERLOADING)
data ActorGetConstraintMethodInfo
instance (signature ~ (T.Text -> m Clutter.Constraint.Constraint), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetConstraintMethodInfo a signature where
overloadedMethod = actorGetConstraint
instance O.OverloadedMethodInfo ActorGetConstraintMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetConstraint",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetConstraint"
})
#endif
foreign import ccall "clutter_actor_get_constraints" clutter_actor_get_constraints ::
Ptr Actor ->
IO (Ptr (GList (Ptr Clutter.Constraint.Constraint)))
actorGetConstraints ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m [Clutter.Constraint.Constraint]
actorGetConstraints :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m [Constraint]
actorGetConstraints a
self = IO [Constraint] -> m [Constraint]
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO [Constraint] -> m [Constraint])
-> IO [Constraint] -> m [Constraint]
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr (GList (Ptr Constraint))
result <- Ptr Actor -> IO (Ptr (GList (Ptr Constraint)))
clutter_actor_get_constraints Ptr Actor
self'
[Ptr Constraint]
result' <- Ptr (GList (Ptr Constraint)) -> IO [Ptr Constraint]
forall a. Ptr (GList (Ptr a)) -> IO [Ptr a]
unpackGList Ptr (GList (Ptr Constraint))
result
[Constraint]
result'' <- (Ptr Constraint -> IO Constraint)
-> [Ptr Constraint] -> IO [Constraint]
forall (t :: * -> *) (m :: * -> *) a b.
(Traversable t, Monad m) =>
(a -> m b) -> t a -> m (t b)
forall (m :: * -> *) a b. Monad m => (a -> m b) -> [a] -> m [b]
mapM ((ManagedPtr Constraint -> Constraint)
-> Ptr Constraint -> IO Constraint
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
newObject ManagedPtr Constraint -> Constraint
Clutter.Constraint.Constraint) [Ptr Constraint]
result'
Ptr (GList (Ptr Constraint)) -> IO ()
forall a. Ptr (GList a) -> IO ()
g_list_free Ptr (GList (Ptr Constraint))
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
[Constraint] -> IO [Constraint]
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return [Constraint]
result''
#if defined(ENABLE_OVERLOADING)
data ActorGetConstraintsMethodInfo
instance (signature ~ (m [Clutter.Constraint.Constraint]), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetConstraintsMethodInfo a signature where
overloadedMethod = actorGetConstraints
instance O.OverloadedMethodInfo ActorGetConstraintsMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetConstraints",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetConstraints"
})
#endif
foreign import ccall "clutter_actor_get_content" clutter_actor_get_content ::
Ptr Actor ->
IO (Ptr Clutter.Content.Content)
actorGetContent ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m Clutter.Content.Content
actorGetContent :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m Content
actorGetContent a
self = IO Content -> m Content
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Content -> m Content) -> IO Content -> m Content
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Content
result <- Ptr Actor -> IO (Ptr Content)
clutter_actor_get_content Ptr Actor
self'
Text -> Ptr Content -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"actorGetContent" Ptr Content
result
Content
result' <- ((ManagedPtr Content -> Content) -> Ptr Content -> IO Content
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
newObject ManagedPtr Content -> Content
Clutter.Content.Content) Ptr Content
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Content -> IO Content
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Content
result'
#if defined(ENABLE_OVERLOADING)
data ActorGetContentMethodInfo
instance (signature ~ (m Clutter.Content.Content), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetContentMethodInfo a signature where
overloadedMethod = actorGetContent
instance O.OverloadedMethodInfo ActorGetContentMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetContent",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetContent"
})
#endif
foreign import ccall "clutter_actor_get_content_box" clutter_actor_get_content_box ::
Ptr Actor ->
Ptr Clutter.ActorBox.ActorBox ->
IO ()
actorGetContentBox ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m (Clutter.ActorBox.ActorBox)
actorGetContentBox :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m ActorBox
actorGetContentBox a
self = IO ActorBox -> m ActorBox
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO ActorBox -> m ActorBox) -> IO ActorBox -> m ActorBox
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr ActorBox
box <- Int -> IO (Ptr ActorBox)
forall a. GBoxed a => Int -> IO (Ptr a)
SP.callocBoxedBytes Int
16 :: IO (Ptr Clutter.ActorBox.ActorBox)
Ptr Actor -> Ptr ActorBox -> IO ()
clutter_actor_get_content_box Ptr Actor
self' Ptr ActorBox
box
ActorBox
box' <- ((ManagedPtr ActorBox -> ActorBox) -> Ptr ActorBox -> IO ActorBox
forall a.
(HasCallStack, GBoxed a) =>
(ManagedPtr a -> a) -> Ptr a -> IO a
wrapBoxed ManagedPtr ActorBox -> ActorBox
Clutter.ActorBox.ActorBox) Ptr ActorBox
box
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
ActorBox -> IO ActorBox
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ActorBox
box'
#if defined(ENABLE_OVERLOADING)
data ActorGetContentBoxMethodInfo
instance (signature ~ (m (Clutter.ActorBox.ActorBox)), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetContentBoxMethodInfo a signature where
overloadedMethod = actorGetContentBox
instance O.OverloadedMethodInfo ActorGetContentBoxMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetContentBox",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetContentBox"
})
#endif
foreign import ccall "clutter_actor_get_content_gravity" clutter_actor_get_content_gravity ::
Ptr Actor ->
IO CUInt
actorGetContentGravity ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m Clutter.Enums.ContentGravity
actorGetContentGravity :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m ContentGravity
actorGetContentGravity a
self = IO ContentGravity -> m ContentGravity
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO ContentGravity -> m ContentGravity)
-> IO ContentGravity -> m ContentGravity
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CUInt
result <- Ptr Actor -> IO CUInt
clutter_actor_get_content_gravity Ptr Actor
self'
let result' :: ContentGravity
result' = (Int -> ContentGravity
forall a. Enum a => Int -> a
toEnum (Int -> ContentGravity)
-> (CUInt -> Int) -> CUInt -> ContentGravity
forall b c a. (b -> c) -> (a -> b) -> a -> c
. CUInt -> Int
forall a b. (Integral a, Num b) => a -> b
fromIntegral) CUInt
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
ContentGravity -> IO ContentGravity
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ContentGravity
result'
#if defined(ENABLE_OVERLOADING)
data ActorGetContentGravityMethodInfo
instance (signature ~ (m Clutter.Enums.ContentGravity), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetContentGravityMethodInfo a signature where
overloadedMethod = actorGetContentGravity
instance O.OverloadedMethodInfo ActorGetContentGravityMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetContentGravity",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetContentGravity"
})
#endif
foreign import ccall "clutter_actor_get_content_repeat" clutter_actor_get_content_repeat ::
Ptr Actor ->
IO CUInt
actorGetContentRepeat ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m [Clutter.Flags.ContentRepeat]
actorGetContentRepeat :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m [ContentRepeat]
actorGetContentRepeat a
self = IO [ContentRepeat] -> m [ContentRepeat]
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO [ContentRepeat] -> m [ContentRepeat])
-> IO [ContentRepeat] -> m [ContentRepeat]
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CUInt
result <- Ptr Actor -> IO CUInt
clutter_actor_get_content_repeat Ptr Actor
self'
let result' :: [ContentRepeat]
result' = CUInt -> [ContentRepeat]
forall a b. (Storable a, Integral a, Bits a, IsGFlag b) => a -> [b]
wordToGFlags CUInt
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
[ContentRepeat] -> IO [ContentRepeat]
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return [ContentRepeat]
result'
#if defined(ENABLE_OVERLOADING)
data ActorGetContentRepeatMethodInfo
instance (signature ~ (m [Clutter.Flags.ContentRepeat]), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetContentRepeatMethodInfo a signature where
overloadedMethod = actorGetContentRepeat
instance O.OverloadedMethodInfo ActorGetContentRepeatMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetContentRepeat",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetContentRepeat"
})
#endif
foreign import ccall "clutter_actor_get_content_scaling_filters" clutter_actor_get_content_scaling_filters ::
Ptr Actor ->
Ptr CUInt ->
Ptr CUInt ->
IO ()
actorGetContentScalingFilters ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m ((Clutter.Enums.ScalingFilter, Clutter.Enums.ScalingFilter))
actorGetContentScalingFilters :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m (ScalingFilter, ScalingFilter)
actorGetContentScalingFilters a
self = IO (ScalingFilter, ScalingFilter)
-> m (ScalingFilter, ScalingFilter)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO (ScalingFilter, ScalingFilter)
-> m (ScalingFilter, ScalingFilter))
-> IO (ScalingFilter, ScalingFilter)
-> m (ScalingFilter, ScalingFilter)
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr CUInt
minFilter <- IO (Ptr CUInt)
forall a. Storable a => IO (Ptr a)
allocMem :: IO (Ptr CUInt)
Ptr CUInt
magFilter <- IO (Ptr CUInt)
forall a. Storable a => IO (Ptr a)
allocMem :: IO (Ptr CUInt)
Ptr Actor -> Ptr CUInt -> Ptr CUInt -> IO ()
clutter_actor_get_content_scaling_filters Ptr Actor
self' Ptr CUInt
minFilter Ptr CUInt
magFilter
CUInt
minFilter' <- Ptr CUInt -> IO CUInt
forall a. Storable a => Ptr a -> IO a
peek Ptr CUInt
minFilter
let minFilter'' :: ScalingFilter
minFilter'' = (Int -> ScalingFilter
forall a. Enum a => Int -> a
toEnum (Int -> ScalingFilter) -> (CUInt -> Int) -> CUInt -> ScalingFilter
forall b c a. (b -> c) -> (a -> b) -> a -> c
. CUInt -> Int
forall a b. (Integral a, Num b) => a -> b
fromIntegral) CUInt
minFilter'
CUInt
magFilter' <- Ptr CUInt -> IO CUInt
forall a. Storable a => Ptr a -> IO a
peek Ptr CUInt
magFilter
let magFilter'' :: ScalingFilter
magFilter'' = (Int -> ScalingFilter
forall a. Enum a => Int -> a
toEnum (Int -> ScalingFilter) -> (CUInt -> Int) -> CUInt -> ScalingFilter
forall b c a. (b -> c) -> (a -> b) -> a -> c
. CUInt -> Int
forall a b. (Integral a, Num b) => a -> b
fromIntegral) CUInt
magFilter'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Ptr CUInt -> IO ()
forall a. Ptr a -> IO ()
freeMem Ptr CUInt
minFilter
Ptr CUInt -> IO ()
forall a. Ptr a -> IO ()
freeMem Ptr CUInt
magFilter
(ScalingFilter, ScalingFilter) -> IO (ScalingFilter, ScalingFilter)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return (ScalingFilter
minFilter'', ScalingFilter
magFilter'')
#if defined(ENABLE_OVERLOADING)
data ActorGetContentScalingFiltersMethodInfo
instance (signature ~ (m ((Clutter.Enums.ScalingFilter, Clutter.Enums.ScalingFilter))), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetContentScalingFiltersMethodInfo a signature where
overloadedMethod = actorGetContentScalingFilters
instance O.OverloadedMethodInfo ActorGetContentScalingFiltersMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetContentScalingFilters",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetContentScalingFilters"
})
#endif
foreign import ccall "clutter_actor_get_default_paint_volume" clutter_actor_get_default_paint_volume ::
Ptr Actor ->
IO (Ptr Clutter.PaintVolume.PaintVolume)
actorGetDefaultPaintVolume ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m Clutter.PaintVolume.PaintVolume
actorGetDefaultPaintVolume :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m PaintVolume
actorGetDefaultPaintVolume a
self = IO PaintVolume -> m PaintVolume
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO PaintVolume -> m PaintVolume)
-> IO PaintVolume -> m PaintVolume
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr PaintVolume
result <- Ptr Actor -> IO (Ptr PaintVolume)
clutter_actor_get_default_paint_volume Ptr Actor
self'
Text -> Ptr PaintVolume -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"actorGetDefaultPaintVolume" Ptr PaintVolume
result
PaintVolume
result' <- ((ManagedPtr PaintVolume -> PaintVolume)
-> Ptr PaintVolume -> IO PaintVolume
forall a.
(HasCallStack, GBoxed a) =>
(ManagedPtr a -> a) -> Ptr a -> IO a
newBoxed ManagedPtr PaintVolume -> PaintVolume
Clutter.PaintVolume.PaintVolume) Ptr PaintVolume
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
PaintVolume -> IO PaintVolume
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return PaintVolume
result'
#if defined(ENABLE_OVERLOADING)
data ActorGetDefaultPaintVolumeMethodInfo
instance (signature ~ (m Clutter.PaintVolume.PaintVolume), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetDefaultPaintVolumeMethodInfo a signature where
overloadedMethod = actorGetDefaultPaintVolume
instance O.OverloadedMethodInfo ActorGetDefaultPaintVolumeMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetDefaultPaintVolume",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetDefaultPaintVolume"
})
#endif
foreign import ccall "clutter_actor_get_depth" clutter_actor_get_depth ::
Ptr Actor ->
IO CFloat
{-# DEPRECATED actorGetDepth ["(Since version 1.12)","Use 'GI.Clutter.Objects.Actor.actorGetZPosition' instead."] #-}
actorGetDepth ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m Float
actorGetDepth :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m Float
actorGetDepth a
self = IO Float -> m Float
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Float -> m Float) -> IO Float -> m Float
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CFloat
result <- Ptr Actor -> IO CFloat
clutter_actor_get_depth Ptr Actor
self'
let result' :: Float
result' = CFloat -> Float
forall a b. (Real a, Fractional b) => a -> b
realToFrac CFloat
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Float -> IO Float
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Float
result'
#if defined(ENABLE_OVERLOADING)
data ActorGetDepthMethodInfo
instance (signature ~ (m Float), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetDepthMethodInfo a signature where
overloadedMethod = actorGetDepth
instance O.OverloadedMethodInfo ActorGetDepthMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetDepth",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetDepth"
})
#endif
foreign import ccall "clutter_actor_get_easing_delay" clutter_actor_get_easing_delay ::
Ptr Actor ->
IO Word32
actorGetEasingDelay ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m Word32
actorGetEasingDelay :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m Word32
actorGetEasingDelay a
self = IO Word32 -> m Word32
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Word32 -> m Word32) -> IO Word32 -> m Word32
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Word32
result <- Ptr Actor -> IO Word32
clutter_actor_get_easing_delay Ptr Actor
self'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Word32 -> IO Word32
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Word32
result
#if defined(ENABLE_OVERLOADING)
data ActorGetEasingDelayMethodInfo
instance (signature ~ (m Word32), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetEasingDelayMethodInfo a signature where
overloadedMethod = actorGetEasingDelay
instance O.OverloadedMethodInfo ActorGetEasingDelayMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetEasingDelay",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetEasingDelay"
})
#endif
foreign import ccall "clutter_actor_get_easing_duration" clutter_actor_get_easing_duration ::
Ptr Actor ->
IO Word32
actorGetEasingDuration ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m Word32
actorGetEasingDuration :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m Word32
actorGetEasingDuration a
self = IO Word32 -> m Word32
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Word32 -> m Word32) -> IO Word32 -> m Word32
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Word32
result <- Ptr Actor -> IO Word32
clutter_actor_get_easing_duration Ptr Actor
self'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Word32 -> IO Word32
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Word32
result
#if defined(ENABLE_OVERLOADING)
data ActorGetEasingDurationMethodInfo
instance (signature ~ (m Word32), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetEasingDurationMethodInfo a signature where
overloadedMethod = actorGetEasingDuration
instance O.OverloadedMethodInfo ActorGetEasingDurationMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetEasingDuration",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetEasingDuration"
})
#endif
foreign import ccall "clutter_actor_get_easing_mode" clutter_actor_get_easing_mode ::
Ptr Actor ->
IO CUInt
actorGetEasingMode ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m Clutter.Enums.AnimationMode
actorGetEasingMode :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m AnimationMode
actorGetEasingMode a
self = IO AnimationMode -> m AnimationMode
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO AnimationMode -> m AnimationMode)
-> IO AnimationMode -> m AnimationMode
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CUInt
result <- Ptr Actor -> IO CUInt
clutter_actor_get_easing_mode Ptr Actor
self'
let result' :: AnimationMode
result' = (Int -> AnimationMode
forall a. Enum a => Int -> a
toEnum (Int -> AnimationMode) -> (CUInt -> Int) -> CUInt -> AnimationMode
forall b c a. (b -> c) -> (a -> b) -> a -> c
. CUInt -> Int
forall a b. (Integral a, Num b) => a -> b
fromIntegral) CUInt
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
AnimationMode -> IO AnimationMode
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return AnimationMode
result'
#if defined(ENABLE_OVERLOADING)
data ActorGetEasingModeMethodInfo
instance (signature ~ (m Clutter.Enums.AnimationMode), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetEasingModeMethodInfo a signature where
overloadedMethod = actorGetEasingMode
instance O.OverloadedMethodInfo ActorGetEasingModeMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetEasingMode",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetEasingMode"
})
#endif
foreign import ccall "clutter_actor_get_effect" clutter_actor_get_effect ::
Ptr Actor ->
CString ->
IO (Ptr Clutter.Effect.Effect)
actorGetEffect ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> T.Text
-> m Clutter.Effect.Effect
actorGetEffect :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> Text -> m Effect
actorGetEffect a
self Text
name = IO Effect -> m Effect
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Effect -> m Effect) -> IO Effect -> m Effect
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CString
name' <- Text -> IO CString
textToCString Text
name
Ptr Effect
result <- Ptr Actor -> CString -> IO (Ptr Effect)
clutter_actor_get_effect Ptr Actor
self' CString
name'
Text -> Ptr Effect -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"actorGetEffect" Ptr Effect
result
Effect
result' <- ((ManagedPtr Effect -> Effect) -> Ptr Effect -> IO Effect
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
newObject ManagedPtr Effect -> Effect
Clutter.Effect.Effect) Ptr Effect
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
CString -> IO ()
forall a. Ptr a -> IO ()
freeMem CString
name'
Effect -> IO Effect
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Effect
result'
#if defined(ENABLE_OVERLOADING)
data ActorGetEffectMethodInfo
instance (signature ~ (T.Text -> m Clutter.Effect.Effect), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetEffectMethodInfo a signature where
overloadedMethod = actorGetEffect
instance O.OverloadedMethodInfo ActorGetEffectMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetEffect",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetEffect"
})
#endif
foreign import ccall "clutter_actor_get_effects" clutter_actor_get_effects ::
Ptr Actor ->
IO (Ptr (GList (Ptr Clutter.Effect.Effect)))
actorGetEffects ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m [Clutter.Effect.Effect]
actorGetEffects :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m [Effect]
actorGetEffects a
self = IO [Effect] -> m [Effect]
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO [Effect] -> m [Effect]) -> IO [Effect] -> m [Effect]
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr (GList (Ptr Effect))
result <- Ptr Actor -> IO (Ptr (GList (Ptr Effect)))
clutter_actor_get_effects Ptr Actor
self'
[Ptr Effect]
result' <- Ptr (GList (Ptr Effect)) -> IO [Ptr Effect]
forall a. Ptr (GList (Ptr a)) -> IO [Ptr a]
unpackGList Ptr (GList (Ptr Effect))
result
[Effect]
result'' <- (Ptr Effect -> IO Effect) -> [Ptr Effect] -> IO [Effect]
forall (t :: * -> *) (m :: * -> *) a b.
(Traversable t, Monad m) =>
(a -> m b) -> t a -> m (t b)
forall (m :: * -> *) a b. Monad m => (a -> m b) -> [a] -> m [b]
mapM ((ManagedPtr Effect -> Effect) -> Ptr Effect -> IO Effect
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
newObject ManagedPtr Effect -> Effect
Clutter.Effect.Effect) [Ptr Effect]
result'
Ptr (GList (Ptr Effect)) -> IO ()
forall a. Ptr (GList a) -> IO ()
g_list_free Ptr (GList (Ptr Effect))
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
[Effect] -> IO [Effect]
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return [Effect]
result''
#if defined(ENABLE_OVERLOADING)
data ActorGetEffectsMethodInfo
instance (signature ~ (m [Clutter.Effect.Effect]), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetEffectsMethodInfo a signature where
overloadedMethod = actorGetEffects
instance O.OverloadedMethodInfo ActorGetEffectsMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetEffects",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetEffects"
})
#endif
foreign import ccall "clutter_actor_get_first_child" clutter_actor_get_first_child ::
Ptr Actor ->
IO (Ptr Actor)
actorGetFirstChild ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m Actor
actorGetFirstChild :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m Actor
actorGetFirstChild a
self = IO Actor -> m Actor
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Actor -> m Actor) -> IO Actor -> m Actor
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Actor
result <- Ptr Actor -> IO (Ptr Actor)
clutter_actor_get_first_child Ptr Actor
self'
Text -> Ptr Actor -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"actorGetFirstChild" Ptr Actor
result
Actor
result' <- ((ManagedPtr Actor -> Actor) -> Ptr Actor -> IO Actor
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
newObject ManagedPtr Actor -> Actor
Actor) Ptr Actor
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Actor -> IO Actor
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Actor
result'
#if defined(ENABLE_OVERLOADING)
data ActorGetFirstChildMethodInfo
instance (signature ~ (m Actor), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetFirstChildMethodInfo a signature where
overloadedMethod = actorGetFirstChild
instance O.OverloadedMethodInfo ActorGetFirstChildMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetFirstChild",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetFirstChild"
})
#endif
foreign import ccall "clutter_actor_get_fixed_position_set" clutter_actor_get_fixed_position_set ::
Ptr Actor ->
IO CInt
actorGetFixedPositionSet ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m Bool
actorGetFixedPositionSet :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m Bool
actorGetFixedPositionSet a
self = IO Bool -> m Bool
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CInt
result <- Ptr Actor -> IO CInt
clutter_actor_get_fixed_position_set Ptr Actor
self'
let result' :: Bool
result' = (CInt -> CInt -> Bool
forall a. Eq a => a -> a -> Bool
/= CInt
0) CInt
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Bool -> IO Bool
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Bool
result'
#if defined(ENABLE_OVERLOADING)
data ActorGetFixedPositionSetMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetFixedPositionSetMethodInfo a signature where
overloadedMethod = actorGetFixedPositionSet
instance O.OverloadedMethodInfo ActorGetFixedPositionSetMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetFixedPositionSet",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetFixedPositionSet"
})
#endif
foreign import ccall "clutter_actor_get_flags" clutter_actor_get_flags ::
Ptr Actor ->
IO CUInt
actorGetFlags ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m [Clutter.Flags.ActorFlags]
actorGetFlags :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m [ActorFlags]
actorGetFlags a
self = IO [ActorFlags] -> m [ActorFlags]
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO [ActorFlags] -> m [ActorFlags])
-> IO [ActorFlags] -> m [ActorFlags]
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CUInt
result <- Ptr Actor -> IO CUInt
clutter_actor_get_flags Ptr Actor
self'
let result' :: [ActorFlags]
result' = CUInt -> [ActorFlags]
forall a b. (Storable a, Integral a, Bits a, IsGFlag b) => a -> [b]
wordToGFlags CUInt
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
[ActorFlags] -> IO [ActorFlags]
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return [ActorFlags]
result'
#if defined(ENABLE_OVERLOADING)
data ActorGetFlagsMethodInfo
instance (signature ~ (m [Clutter.Flags.ActorFlags]), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetFlagsMethodInfo a signature where
overloadedMethod = actorGetFlags
instance O.OverloadedMethodInfo ActorGetFlagsMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetFlags",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetFlags"
})
#endif
foreign import ccall "clutter_actor_get_geometry" clutter_actor_get_geometry ::
Ptr Actor ->
Ptr Clutter.Geometry.Geometry ->
IO ()
{-# DEPRECATED actorGetGeometry ["(Since version 1.10)","Use 'GI.Clutter.Objects.Actor.actorGetPosition' and"," 'GI.Clutter.Objects.Actor.actorGetSize', or 'GI.Clutter.Objects.Actor.actorGetAllocationGeometry'"," instead."] #-}
actorGetGeometry ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m (Clutter.Geometry.Geometry)
actorGetGeometry :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m Geometry
actorGetGeometry a
self = IO Geometry -> m Geometry
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Geometry -> m Geometry) -> IO Geometry -> m Geometry
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Geometry
geometry <- Int -> IO (Ptr Geometry)
forall a. GBoxed a => Int -> IO (Ptr a)
SP.callocBoxedBytes Int
16 :: IO (Ptr Clutter.Geometry.Geometry)
Ptr Actor -> Ptr Geometry -> IO ()
clutter_actor_get_geometry Ptr Actor
self' Ptr Geometry
geometry
Geometry
geometry' <- ((ManagedPtr Geometry -> Geometry) -> Ptr Geometry -> IO Geometry
forall a.
(HasCallStack, GBoxed a) =>
(ManagedPtr a -> a) -> Ptr a -> IO a
wrapBoxed ManagedPtr Geometry -> Geometry
Clutter.Geometry.Geometry) Ptr Geometry
geometry
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Geometry -> IO Geometry
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Geometry
geometry'
#if defined(ENABLE_OVERLOADING)
data ActorGetGeometryMethodInfo
instance (signature ~ (m (Clutter.Geometry.Geometry)), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetGeometryMethodInfo a signature where
overloadedMethod = actorGetGeometry
instance O.OverloadedMethodInfo ActorGetGeometryMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetGeometry",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetGeometry"
})
#endif
foreign import ccall "clutter_actor_get_gid" clutter_actor_get_gid ::
Ptr Actor ->
IO Word32
{-# DEPRECATED actorGetGid ["(Since version 1.8)","The id is not used any longer, and this function"," always returns 0."] #-}
actorGetGid ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m Word32
actorGetGid :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m Word32
actorGetGid a
self = IO Word32 -> m Word32
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Word32 -> m Word32) -> IO Word32 -> m Word32
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Word32
result <- Ptr Actor -> IO Word32
clutter_actor_get_gid Ptr Actor
self'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Word32 -> IO Word32
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Word32
result
#if defined(ENABLE_OVERLOADING)
data ActorGetGidMethodInfo
instance (signature ~ (m Word32), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetGidMethodInfo a signature where
overloadedMethod = actorGetGid
instance O.OverloadedMethodInfo ActorGetGidMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetGid",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetGid"
})
#endif
foreign import ccall "clutter_actor_get_height" clutter_actor_get_height ::
Ptr Actor ->
IO CFloat
actorGetHeight ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m Float
actorGetHeight :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m Float
actorGetHeight a
self = IO Float -> m Float
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Float -> m Float) -> IO Float -> m Float
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CFloat
result <- Ptr Actor -> IO CFloat
clutter_actor_get_height Ptr Actor
self'
let result' :: Float
result' = CFloat -> Float
forall a b. (Real a, Fractional b) => a -> b
realToFrac CFloat
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Float -> IO Float
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Float
result'
#if defined(ENABLE_OVERLOADING)
data ActorGetHeightMethodInfo
instance (signature ~ (m Float), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetHeightMethodInfo a signature where
overloadedMethod = actorGetHeight
instance O.OverloadedMethodInfo ActorGetHeightMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetHeight",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetHeight"
})
#endif
foreign import ccall "clutter_actor_get_last_child" clutter_actor_get_last_child ::
Ptr Actor ->
IO (Ptr Actor)
actorGetLastChild ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m Actor
actorGetLastChild :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m Actor
actorGetLastChild a
self = IO Actor -> m Actor
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Actor -> m Actor) -> IO Actor -> m Actor
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Actor
result <- Ptr Actor -> IO (Ptr Actor)
clutter_actor_get_last_child Ptr Actor
self'
Text -> Ptr Actor -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"actorGetLastChild" Ptr Actor
result
Actor
result' <- ((ManagedPtr Actor -> Actor) -> Ptr Actor -> IO Actor
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
newObject ManagedPtr Actor -> Actor
Actor) Ptr Actor
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Actor -> IO Actor
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Actor
result'
#if defined(ENABLE_OVERLOADING)
data ActorGetLastChildMethodInfo
instance (signature ~ (m Actor), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetLastChildMethodInfo a signature where
overloadedMethod = actorGetLastChild
instance O.OverloadedMethodInfo ActorGetLastChildMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetLastChild",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetLastChild"
})
#endif
foreign import ccall "clutter_actor_get_layout_manager" clutter_actor_get_layout_manager ::
Ptr Actor ->
IO (Ptr Clutter.LayoutManager.LayoutManager)
actorGetLayoutManager ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m Clutter.LayoutManager.LayoutManager
actorGetLayoutManager :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m LayoutManager
actorGetLayoutManager a
self = IO LayoutManager -> m LayoutManager
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO LayoutManager -> m LayoutManager)
-> IO LayoutManager -> m LayoutManager
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr LayoutManager
result <- Ptr Actor -> IO (Ptr LayoutManager)
clutter_actor_get_layout_manager Ptr Actor
self'
Text -> Ptr LayoutManager -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"actorGetLayoutManager" Ptr LayoutManager
result
LayoutManager
result' <- ((ManagedPtr LayoutManager -> LayoutManager)
-> Ptr LayoutManager -> IO LayoutManager
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
newObject ManagedPtr LayoutManager -> LayoutManager
Clutter.LayoutManager.LayoutManager) Ptr LayoutManager
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
LayoutManager -> IO LayoutManager
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return LayoutManager
result'
#if defined(ENABLE_OVERLOADING)
data ActorGetLayoutManagerMethodInfo
instance (signature ~ (m Clutter.LayoutManager.LayoutManager), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetLayoutManagerMethodInfo a signature where
overloadedMethod = actorGetLayoutManager
instance O.OverloadedMethodInfo ActorGetLayoutManagerMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetLayoutManager",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetLayoutManager"
})
#endif
foreign import ccall "clutter_actor_get_margin" clutter_actor_get_margin ::
Ptr Actor ->
Ptr Clutter.Margin.Margin ->
IO ()
actorGetMargin ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m (Clutter.Margin.Margin)
actorGetMargin :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m Margin
actorGetMargin a
self = IO Margin -> m Margin
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Margin -> m Margin) -> IO Margin -> m Margin
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Margin
margin <- Int -> IO (Ptr Margin)
forall a. GBoxed a => Int -> IO (Ptr a)
SP.callocBoxedBytes Int
16 :: IO (Ptr Clutter.Margin.Margin)
Ptr Actor -> Ptr Margin -> IO ()
clutter_actor_get_margin Ptr Actor
self' Ptr Margin
margin
Margin
margin' <- ((ManagedPtr Margin -> Margin) -> Ptr Margin -> IO Margin
forall a.
(HasCallStack, GBoxed a) =>
(ManagedPtr a -> a) -> Ptr a -> IO a
wrapBoxed ManagedPtr Margin -> Margin
Clutter.Margin.Margin) Ptr Margin
margin
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Margin -> IO Margin
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Margin
margin'
#if defined(ENABLE_OVERLOADING)
data ActorGetMarginMethodInfo
instance (signature ~ (m (Clutter.Margin.Margin)), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetMarginMethodInfo a signature where
overloadedMethod = actorGetMargin
instance O.OverloadedMethodInfo ActorGetMarginMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetMargin",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetMargin"
})
#endif
foreign import ccall "clutter_actor_get_margin_bottom" clutter_actor_get_margin_bottom ::
Ptr Actor ->
IO CFloat
actorGetMarginBottom ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m Float
actorGetMarginBottom :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m Float
actorGetMarginBottom a
self = IO Float -> m Float
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Float -> m Float) -> IO Float -> m Float
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CFloat
result <- Ptr Actor -> IO CFloat
clutter_actor_get_margin_bottom Ptr Actor
self'
let result' :: Float
result' = CFloat -> Float
forall a b. (Real a, Fractional b) => a -> b
realToFrac CFloat
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Float -> IO Float
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Float
result'
#if defined(ENABLE_OVERLOADING)
data ActorGetMarginBottomMethodInfo
instance (signature ~ (m Float), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetMarginBottomMethodInfo a signature where
overloadedMethod = actorGetMarginBottom
instance O.OverloadedMethodInfo ActorGetMarginBottomMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetMarginBottom",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetMarginBottom"
})
#endif
foreign import ccall "clutter_actor_get_margin_left" clutter_actor_get_margin_left ::
Ptr Actor ->
IO CFloat
actorGetMarginLeft ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m Float
actorGetMarginLeft :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m Float
actorGetMarginLeft a
self = IO Float -> m Float
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Float -> m Float) -> IO Float -> m Float
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CFloat
result <- Ptr Actor -> IO CFloat
clutter_actor_get_margin_left Ptr Actor
self'
let result' :: Float
result' = CFloat -> Float
forall a b. (Real a, Fractional b) => a -> b
realToFrac CFloat
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Float -> IO Float
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Float
result'
#if defined(ENABLE_OVERLOADING)
data ActorGetMarginLeftMethodInfo
instance (signature ~ (m Float), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetMarginLeftMethodInfo a signature where
overloadedMethod = actorGetMarginLeft
instance O.OverloadedMethodInfo ActorGetMarginLeftMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetMarginLeft",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetMarginLeft"
})
#endif
foreign import ccall "clutter_actor_get_margin_right" clutter_actor_get_margin_right ::
Ptr Actor ->
IO CFloat
actorGetMarginRight ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m Float
actorGetMarginRight :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m Float
actorGetMarginRight a
self = IO Float -> m Float
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Float -> m Float) -> IO Float -> m Float
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CFloat
result <- Ptr Actor -> IO CFloat
clutter_actor_get_margin_right Ptr Actor
self'
let result' :: Float
result' = CFloat -> Float
forall a b. (Real a, Fractional b) => a -> b
realToFrac CFloat
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Float -> IO Float
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Float
result'
#if defined(ENABLE_OVERLOADING)
data ActorGetMarginRightMethodInfo
instance (signature ~ (m Float), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetMarginRightMethodInfo a signature where
overloadedMethod = actorGetMarginRight
instance O.OverloadedMethodInfo ActorGetMarginRightMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetMarginRight",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetMarginRight"
})
#endif
foreign import ccall "clutter_actor_get_margin_top" clutter_actor_get_margin_top ::
Ptr Actor ->
IO CFloat
actorGetMarginTop ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m Float
actorGetMarginTop :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m Float
actorGetMarginTop a
self = IO Float -> m Float
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Float -> m Float) -> IO Float -> m Float
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CFloat
result <- Ptr Actor -> IO CFloat
clutter_actor_get_margin_top Ptr Actor
self'
let result' :: Float
result' = CFloat -> Float
forall a b. (Real a, Fractional b) => a -> b
realToFrac CFloat
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Float -> IO Float
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Float
result'
#if defined(ENABLE_OVERLOADING)
data ActorGetMarginTopMethodInfo
instance (signature ~ (m Float), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetMarginTopMethodInfo a signature where
overloadedMethod = actorGetMarginTop
instance O.OverloadedMethodInfo ActorGetMarginTopMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetMarginTop",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetMarginTop"
})
#endif
foreign import ccall "clutter_actor_get_n_children" clutter_actor_get_n_children ::
Ptr Actor ->
IO Int32
actorGetNChildren ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m Int32
actorGetNChildren :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m Int32
actorGetNChildren a
self = IO Int32 -> m Int32
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Int32 -> m Int32) -> IO Int32 -> m Int32
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Int32
result <- Ptr Actor -> IO Int32
clutter_actor_get_n_children Ptr Actor
self'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Int32 -> IO Int32
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Int32
result
#if defined(ENABLE_OVERLOADING)
data ActorGetNChildrenMethodInfo
instance (signature ~ (m Int32), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetNChildrenMethodInfo a signature where
overloadedMethod = actorGetNChildren
instance O.OverloadedMethodInfo ActorGetNChildrenMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetNChildren",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetNChildren"
})
#endif
foreign import ccall "clutter_actor_get_name" clutter_actor_get_name ::
Ptr Actor ->
IO CString
actorGetName ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m T.Text
actorGetName :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m Text
actorGetName a
self = IO Text -> m Text
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Text -> m Text) -> IO Text -> m Text
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CString
result <- Ptr Actor -> IO CString
clutter_actor_get_name Ptr Actor
self'
Text -> CString -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"actorGetName" CString
result
Text
result' <- HasCallStack => CString -> IO Text
CString -> IO Text
cstringToText CString
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Text -> IO Text
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Text
result'
#if defined(ENABLE_OVERLOADING)
data ActorGetNameMethodInfo
instance (signature ~ (m T.Text), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetNameMethodInfo a signature where
overloadedMethod = actorGetName
instance O.OverloadedMethodInfo ActorGetNameMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetName",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetName"
})
#endif
foreign import ccall "clutter_actor_get_next_sibling" clutter_actor_get_next_sibling ::
Ptr Actor ->
IO (Ptr Actor)
actorGetNextSibling ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m Actor
actorGetNextSibling :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m Actor
actorGetNextSibling a
self = IO Actor -> m Actor
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Actor -> m Actor) -> IO Actor -> m Actor
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Actor
result <- Ptr Actor -> IO (Ptr Actor)
clutter_actor_get_next_sibling Ptr Actor
self'
Text -> Ptr Actor -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"actorGetNextSibling" Ptr Actor
result
Actor
result' <- ((ManagedPtr Actor -> Actor) -> Ptr Actor -> IO Actor
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
newObject ManagedPtr Actor -> Actor
Actor) Ptr Actor
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Actor -> IO Actor
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Actor
result'
#if defined(ENABLE_OVERLOADING)
data ActorGetNextSiblingMethodInfo
instance (signature ~ (m Actor), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetNextSiblingMethodInfo a signature where
overloadedMethod = actorGetNextSibling
instance O.OverloadedMethodInfo ActorGetNextSiblingMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetNextSibling",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetNextSibling"
})
#endif
foreign import ccall "clutter_actor_get_offscreen_redirect" clutter_actor_get_offscreen_redirect ::
Ptr Actor ->
IO CUInt
actorGetOffscreenRedirect ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m [Clutter.Flags.OffscreenRedirect]
actorGetOffscreenRedirect :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m [OffscreenRedirect]
actorGetOffscreenRedirect a
self = IO [OffscreenRedirect] -> m [OffscreenRedirect]
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO [OffscreenRedirect] -> m [OffscreenRedirect])
-> IO [OffscreenRedirect] -> m [OffscreenRedirect]
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CUInt
result <- Ptr Actor -> IO CUInt
clutter_actor_get_offscreen_redirect Ptr Actor
self'
let result' :: [OffscreenRedirect]
result' = CUInt -> [OffscreenRedirect]
forall a b. (Storable a, Integral a, Bits a, IsGFlag b) => a -> [b]
wordToGFlags CUInt
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
[OffscreenRedirect] -> IO [OffscreenRedirect]
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return [OffscreenRedirect]
result'
#if defined(ENABLE_OVERLOADING)
data ActorGetOffscreenRedirectMethodInfo
instance (signature ~ (m [Clutter.Flags.OffscreenRedirect]), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetOffscreenRedirectMethodInfo a signature where
overloadedMethod = actorGetOffscreenRedirect
instance O.OverloadedMethodInfo ActorGetOffscreenRedirectMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetOffscreenRedirect",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetOffscreenRedirect"
})
#endif
foreign import ccall "clutter_actor_get_opacity" clutter_actor_get_opacity ::
Ptr Actor ->
IO Word8
actorGetOpacity ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m Word8
actorGetOpacity :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m Word8
actorGetOpacity a
self = IO Word8 -> m Word8
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Word8 -> m Word8) -> IO Word8 -> m Word8
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Word8
result <- Ptr Actor -> IO Word8
clutter_actor_get_opacity Ptr Actor
self'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Word8 -> IO Word8
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Word8
result
#if defined(ENABLE_OVERLOADING)
data ActorGetOpacityMethodInfo
instance (signature ~ (m Word8), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetOpacityMethodInfo a signature where
overloadedMethod = actorGetOpacity
instance O.OverloadedMethodInfo ActorGetOpacityMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetOpacity",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetOpacity"
})
#endif
foreign import ccall "clutter_actor_get_paint_box" clutter_actor_get_paint_box ::
Ptr Actor ->
Ptr Clutter.ActorBox.ActorBox ->
IO CInt
actorGetPaintBox ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m ((Bool, Clutter.ActorBox.ActorBox))
actorGetPaintBox :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m (Bool, ActorBox)
actorGetPaintBox a
self = IO (Bool, ActorBox) -> m (Bool, ActorBox)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO (Bool, ActorBox) -> m (Bool, ActorBox))
-> IO (Bool, ActorBox) -> m (Bool, ActorBox)
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr ActorBox
box <- Int -> IO (Ptr ActorBox)
forall a. GBoxed a => Int -> IO (Ptr a)
SP.callocBoxedBytes Int
16 :: IO (Ptr Clutter.ActorBox.ActorBox)
CInt
result <- Ptr Actor -> Ptr ActorBox -> IO CInt
clutter_actor_get_paint_box Ptr Actor
self' Ptr ActorBox
box
let result' :: Bool
result' = (CInt -> CInt -> Bool
forall a. Eq a => a -> a -> Bool
/= CInt
0) CInt
result
ActorBox
box' <- ((ManagedPtr ActorBox -> ActorBox) -> Ptr ActorBox -> IO ActorBox
forall a.
(HasCallStack, GBoxed a) =>
(ManagedPtr a -> a) -> Ptr a -> IO a
wrapBoxed ManagedPtr ActorBox -> ActorBox
Clutter.ActorBox.ActorBox) Ptr ActorBox
box
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
(Bool, ActorBox) -> IO (Bool, ActorBox)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return (Bool
result', ActorBox
box')
#if defined(ENABLE_OVERLOADING)
data ActorGetPaintBoxMethodInfo
instance (signature ~ (m ((Bool, Clutter.ActorBox.ActorBox))), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetPaintBoxMethodInfo a signature where
overloadedMethod = actorGetPaintBox
instance O.OverloadedMethodInfo ActorGetPaintBoxMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetPaintBox",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetPaintBox"
})
#endif
foreign import ccall "clutter_actor_get_paint_opacity" clutter_actor_get_paint_opacity ::
Ptr Actor ->
IO Word8
actorGetPaintOpacity ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m Word8
actorGetPaintOpacity :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m Word8
actorGetPaintOpacity a
self = IO Word8 -> m Word8
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Word8 -> m Word8) -> IO Word8 -> m Word8
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Word8
result <- Ptr Actor -> IO Word8
clutter_actor_get_paint_opacity Ptr Actor
self'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Word8 -> IO Word8
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Word8
result
#if defined(ENABLE_OVERLOADING)
data ActorGetPaintOpacityMethodInfo
instance (signature ~ (m Word8), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetPaintOpacityMethodInfo a signature where
overloadedMethod = actorGetPaintOpacity
instance O.OverloadedMethodInfo ActorGetPaintOpacityMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetPaintOpacity",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetPaintOpacity"
})
#endif
foreign import ccall "clutter_actor_get_paint_visibility" clutter_actor_get_paint_visibility ::
Ptr Actor ->
IO CInt
actorGetPaintVisibility ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m Bool
actorGetPaintVisibility :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m Bool
actorGetPaintVisibility a
self = IO Bool -> m Bool
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CInt
result <- Ptr Actor -> IO CInt
clutter_actor_get_paint_visibility Ptr Actor
self'
let result' :: Bool
result' = (CInt -> CInt -> Bool
forall a. Eq a => a -> a -> Bool
/= CInt
0) CInt
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Bool -> IO Bool
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Bool
result'
#if defined(ENABLE_OVERLOADING)
data ActorGetPaintVisibilityMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetPaintVisibilityMethodInfo a signature where
overloadedMethod = actorGetPaintVisibility
instance O.OverloadedMethodInfo ActorGetPaintVisibilityMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetPaintVisibility",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetPaintVisibility"
})
#endif
foreign import ccall "clutter_actor_get_paint_volume" clutter_actor_get_paint_volume ::
Ptr Actor ->
IO (Ptr Clutter.PaintVolume.PaintVolume)
actorGetPaintVolume ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m Clutter.PaintVolume.PaintVolume
actorGetPaintVolume :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m PaintVolume
actorGetPaintVolume a
self = IO PaintVolume -> m PaintVolume
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO PaintVolume -> m PaintVolume)
-> IO PaintVolume -> m PaintVolume
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr PaintVolume
result <- Ptr Actor -> IO (Ptr PaintVolume)
clutter_actor_get_paint_volume Ptr Actor
self'
Text -> Ptr PaintVolume -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"actorGetPaintVolume" Ptr PaintVolume
result
PaintVolume
result' <- ((ManagedPtr PaintVolume -> PaintVolume)
-> Ptr PaintVolume -> IO PaintVolume
forall a.
(HasCallStack, GBoxed a) =>
(ManagedPtr a -> a) -> Ptr a -> IO a
newBoxed ManagedPtr PaintVolume -> PaintVolume
Clutter.PaintVolume.PaintVolume) Ptr PaintVolume
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
PaintVolume -> IO PaintVolume
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return PaintVolume
result'
#if defined(ENABLE_OVERLOADING)
data ActorGetPaintVolumeMethodInfo
instance (signature ~ (m Clutter.PaintVolume.PaintVolume), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetPaintVolumeMethodInfo a signature where
overloadedMethod = actorGetPaintVolume
instance O.OverloadedMethodInfo ActorGetPaintVolumeMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetPaintVolume",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetPaintVolume"
})
#endif
foreign import ccall "clutter_actor_get_pango_context" clutter_actor_get_pango_context ::
Ptr Actor ->
IO (Ptr Pango.Context.Context)
actorGetPangoContext ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m Pango.Context.Context
actorGetPangoContext :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m Context
actorGetPangoContext a
self = IO Context -> m Context
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Context -> m Context) -> IO Context -> m Context
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Context
result <- Ptr Actor -> IO (Ptr Context)
clutter_actor_get_pango_context Ptr Actor
self'
Text -> Ptr Context -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"actorGetPangoContext" Ptr Context
result
Context
result' <- ((ManagedPtr Context -> Context) -> Ptr Context -> IO Context
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
newObject ManagedPtr Context -> Context
Pango.Context.Context) Ptr Context
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Context -> IO Context
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Context
result'
#if defined(ENABLE_OVERLOADING)
data ActorGetPangoContextMethodInfo
instance (signature ~ (m Pango.Context.Context), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetPangoContextMethodInfo a signature where
overloadedMethod = actorGetPangoContext
instance O.OverloadedMethodInfo ActorGetPangoContextMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetPangoContext",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetPangoContext"
})
#endif
foreign import ccall "clutter_actor_get_parent" clutter_actor_get_parent ::
Ptr Actor ->
IO (Ptr Actor)
actorGetParent ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m Actor
actorGetParent :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m Actor
actorGetParent a
self = IO Actor -> m Actor
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Actor -> m Actor) -> IO Actor -> m Actor
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Actor
result <- Ptr Actor -> IO (Ptr Actor)
clutter_actor_get_parent Ptr Actor
self'
Text -> Ptr Actor -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"actorGetParent" Ptr Actor
result
Actor
result' <- ((ManagedPtr Actor -> Actor) -> Ptr Actor -> IO Actor
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
newObject ManagedPtr Actor -> Actor
Actor) Ptr Actor
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Actor -> IO Actor
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Actor
result'
#if defined(ENABLE_OVERLOADING)
data ActorGetParentMethodInfo
instance (signature ~ (m Actor), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetParentMethodInfo a signature where
overloadedMethod = actorGetParent
instance O.OverloadedMethodInfo ActorGetParentMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetParent",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetParent"
})
#endif
foreign import ccall "clutter_actor_get_pivot_point" clutter_actor_get_pivot_point ::
Ptr Actor ->
Ptr CFloat ->
Ptr CFloat ->
IO ()
actorGetPivotPoint ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m ((Float, Float))
actorGetPivotPoint :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m (Float, Float)
actorGetPivotPoint a
self = IO (Float, Float) -> m (Float, Float)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO (Float, Float) -> m (Float, Float))
-> IO (Float, Float) -> m (Float, Float)
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr CFloat
pivotX <- IO (Ptr CFloat)
forall a. Storable a => IO (Ptr a)
allocMem :: IO (Ptr CFloat)
Ptr CFloat
pivotY <- IO (Ptr CFloat)
forall a. Storable a => IO (Ptr a)
allocMem :: IO (Ptr CFloat)
Ptr Actor -> Ptr CFloat -> Ptr CFloat -> IO ()
clutter_actor_get_pivot_point Ptr Actor
self' Ptr CFloat
pivotX Ptr CFloat
pivotY
CFloat
pivotX' <- Ptr CFloat -> IO CFloat
forall a. Storable a => Ptr a -> IO a
peek Ptr CFloat
pivotX
let pivotX'' :: Float
pivotX'' = CFloat -> Float
forall a b. (Real a, Fractional b) => a -> b
realToFrac CFloat
pivotX'
CFloat
pivotY' <- Ptr CFloat -> IO CFloat
forall a. Storable a => Ptr a -> IO a
peek Ptr CFloat
pivotY
let pivotY'' :: Float
pivotY'' = CFloat -> Float
forall a b. (Real a, Fractional b) => a -> b
realToFrac CFloat
pivotY'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Ptr CFloat -> IO ()
forall a. Ptr a -> IO ()
freeMem Ptr CFloat
pivotX
Ptr CFloat -> IO ()
forall a. Ptr a -> IO ()
freeMem Ptr CFloat
pivotY
(Float, Float) -> IO (Float, Float)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return (Float
pivotX'', Float
pivotY'')
#if defined(ENABLE_OVERLOADING)
data ActorGetPivotPointMethodInfo
instance (signature ~ (m ((Float, Float))), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetPivotPointMethodInfo a signature where
overloadedMethod = actorGetPivotPoint
instance O.OverloadedMethodInfo ActorGetPivotPointMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetPivotPoint",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetPivotPoint"
})
#endif
foreign import ccall "clutter_actor_get_pivot_point_z" clutter_actor_get_pivot_point_z ::
Ptr Actor ->
IO CFloat
actorGetPivotPointZ ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m Float
actorGetPivotPointZ :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m Float
actorGetPivotPointZ a
self = IO Float -> m Float
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Float -> m Float) -> IO Float -> m Float
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CFloat
result <- Ptr Actor -> IO CFloat
clutter_actor_get_pivot_point_z Ptr Actor
self'
let result' :: Float
result' = CFloat -> Float
forall a b. (Real a, Fractional b) => a -> b
realToFrac CFloat
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Float -> IO Float
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Float
result'
#if defined(ENABLE_OVERLOADING)
data ActorGetPivotPointZMethodInfo
instance (signature ~ (m Float), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetPivotPointZMethodInfo a signature where
overloadedMethod = actorGetPivotPointZ
instance O.OverloadedMethodInfo ActorGetPivotPointZMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetPivotPointZ",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetPivotPointZ"
})
#endif
foreign import ccall "clutter_actor_get_position" clutter_actor_get_position ::
Ptr Actor ->
Ptr CFloat ->
Ptr CFloat ->
IO ()
actorGetPosition ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m ((Float, Float))
actorGetPosition :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m (Float, Float)
actorGetPosition a
self = IO (Float, Float) -> m (Float, Float)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO (Float, Float) -> m (Float, Float))
-> IO (Float, Float) -> m (Float, Float)
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr CFloat
x <- IO (Ptr CFloat)
forall a. Storable a => IO (Ptr a)
allocMem :: IO (Ptr CFloat)
Ptr CFloat
y <- IO (Ptr CFloat)
forall a. Storable a => IO (Ptr a)
allocMem :: IO (Ptr CFloat)
Ptr Actor -> Ptr CFloat -> Ptr CFloat -> IO ()
clutter_actor_get_position Ptr Actor
self' Ptr CFloat
x Ptr CFloat
y
CFloat
x' <- Ptr CFloat -> IO CFloat
forall a. Storable a => Ptr a -> IO a
peek Ptr CFloat
x
let x'' :: Float
x'' = CFloat -> Float
forall a b. (Real a, Fractional b) => a -> b
realToFrac CFloat
x'
CFloat
y' <- Ptr CFloat -> IO CFloat
forall a. Storable a => Ptr a -> IO a
peek Ptr CFloat
y
let y'' :: Float
y'' = CFloat -> Float
forall a b. (Real a, Fractional b) => a -> b
realToFrac CFloat
y'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Ptr CFloat -> IO ()
forall a. Ptr a -> IO ()
freeMem Ptr CFloat
x
Ptr CFloat -> IO ()
forall a. Ptr a -> IO ()
freeMem Ptr CFloat
y
(Float, Float) -> IO (Float, Float)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return (Float
x'', Float
y'')
#if defined(ENABLE_OVERLOADING)
data ActorGetPositionMethodInfo
instance (signature ~ (m ((Float, Float))), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetPositionMethodInfo a signature where
overloadedMethod = actorGetPosition
instance O.OverloadedMethodInfo ActorGetPositionMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetPosition",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetPosition"
})
#endif
foreign import ccall "clutter_actor_get_preferred_height" clutter_actor_get_preferred_height ::
Ptr Actor ->
CFloat ->
Ptr CFloat ->
Ptr CFloat ->
IO ()
actorGetPreferredHeight ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> Float
-> m ((Float, Float))
actorGetPreferredHeight :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> Float -> m (Float, Float)
actorGetPreferredHeight a
self Float
forWidth = IO (Float, Float) -> m (Float, Float)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO (Float, Float) -> m (Float, Float))
-> IO (Float, Float) -> m (Float, Float)
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
let forWidth' :: CFloat
forWidth' = Float -> CFloat
forall a b. (Real a, Fractional b) => a -> b
realToFrac Float
forWidth
Ptr CFloat
minHeightP <- IO (Ptr CFloat)
forall a. Storable a => IO (Ptr a)
allocMem :: IO (Ptr CFloat)
Ptr CFloat
naturalHeightP <- IO (Ptr CFloat)
forall a. Storable a => IO (Ptr a)
allocMem :: IO (Ptr CFloat)
Ptr Actor -> CFloat -> Ptr CFloat -> Ptr CFloat -> IO ()
clutter_actor_get_preferred_height Ptr Actor
self' CFloat
forWidth' Ptr CFloat
minHeightP Ptr CFloat
naturalHeightP
CFloat
minHeightP' <- Ptr CFloat -> IO CFloat
forall a. Storable a => Ptr a -> IO a
peek Ptr CFloat
minHeightP
let minHeightP'' :: Float
minHeightP'' = CFloat -> Float
forall a b. (Real a, Fractional b) => a -> b
realToFrac CFloat
minHeightP'
CFloat
naturalHeightP' <- Ptr CFloat -> IO CFloat
forall a. Storable a => Ptr a -> IO a
peek Ptr CFloat
naturalHeightP
let naturalHeightP'' :: Float
naturalHeightP'' = CFloat -> Float
forall a b. (Real a, Fractional b) => a -> b
realToFrac CFloat
naturalHeightP'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Ptr CFloat -> IO ()
forall a. Ptr a -> IO ()
freeMem Ptr CFloat
minHeightP
Ptr CFloat -> IO ()
forall a. Ptr a -> IO ()
freeMem Ptr CFloat
naturalHeightP
(Float, Float) -> IO (Float, Float)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return (Float
minHeightP'', Float
naturalHeightP'')
#if defined(ENABLE_OVERLOADING)
data ActorGetPreferredHeightMethodInfo
instance (signature ~ (Float -> m ((Float, Float))), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetPreferredHeightMethodInfo a signature where
overloadedMethod = actorGetPreferredHeight
instance O.OverloadedMethodInfo ActorGetPreferredHeightMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetPreferredHeight",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetPreferredHeight"
})
#endif
foreign import ccall "clutter_actor_get_preferred_size" clutter_actor_get_preferred_size ::
Ptr Actor ->
Ptr CFloat ->
Ptr CFloat ->
Ptr CFloat ->
Ptr CFloat ->
IO ()
actorGetPreferredSize ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m ((Float, Float, Float, Float))
actorGetPreferredSize :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m (Float, Float, Float, Float)
actorGetPreferredSize a
self = IO (Float, Float, Float, Float) -> m (Float, Float, Float, Float)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO (Float, Float, Float, Float) -> m (Float, Float, Float, Float))
-> IO (Float, Float, Float, Float)
-> m (Float, Float, Float, Float)
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr CFloat
minWidthP <- IO (Ptr CFloat)
forall a. Storable a => IO (Ptr a)
allocMem :: IO (Ptr CFloat)
Ptr CFloat
minHeightP <- IO (Ptr CFloat)
forall a. Storable a => IO (Ptr a)
allocMem :: IO (Ptr CFloat)
Ptr CFloat
naturalWidthP <- IO (Ptr CFloat)
forall a. Storable a => IO (Ptr a)
allocMem :: IO (Ptr CFloat)
Ptr CFloat
naturalHeightP <- IO (Ptr CFloat)
forall a. Storable a => IO (Ptr a)
allocMem :: IO (Ptr CFloat)
Ptr Actor
-> Ptr CFloat -> Ptr CFloat -> Ptr CFloat -> Ptr CFloat -> IO ()
clutter_actor_get_preferred_size Ptr Actor
self' Ptr CFloat
minWidthP Ptr CFloat
minHeightP Ptr CFloat
naturalWidthP Ptr CFloat
naturalHeightP
CFloat
minWidthP' <- Ptr CFloat -> IO CFloat
forall a. Storable a => Ptr a -> IO a
peek Ptr CFloat
minWidthP
let minWidthP'' :: Float
minWidthP'' = CFloat -> Float
forall a b. (Real a, Fractional b) => a -> b
realToFrac CFloat
minWidthP'
CFloat
minHeightP' <- Ptr CFloat -> IO CFloat
forall a. Storable a => Ptr a -> IO a
peek Ptr CFloat
minHeightP
let minHeightP'' :: Float
minHeightP'' = CFloat -> Float
forall a b. (Real a, Fractional b) => a -> b
realToFrac CFloat
minHeightP'
CFloat
naturalWidthP' <- Ptr CFloat -> IO CFloat
forall a. Storable a => Ptr a -> IO a
peek Ptr CFloat
naturalWidthP
let naturalWidthP'' :: Float
naturalWidthP'' = CFloat -> Float
forall a b. (Real a, Fractional b) => a -> b
realToFrac CFloat
naturalWidthP'
CFloat
naturalHeightP' <- Ptr CFloat -> IO CFloat
forall a. Storable a => Ptr a -> IO a
peek Ptr CFloat
naturalHeightP
let naturalHeightP'' :: Float
naturalHeightP'' = CFloat -> Float
forall a b. (Real a, Fractional b) => a -> b
realToFrac CFloat
naturalHeightP'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Ptr CFloat -> IO ()
forall a. Ptr a -> IO ()
freeMem Ptr CFloat
minWidthP
Ptr CFloat -> IO ()
forall a. Ptr a -> IO ()
freeMem Ptr CFloat
minHeightP
Ptr CFloat -> IO ()
forall a. Ptr a -> IO ()
freeMem Ptr CFloat
naturalWidthP
Ptr CFloat -> IO ()
forall a. Ptr a -> IO ()
freeMem Ptr CFloat
naturalHeightP
(Float, Float, Float, Float) -> IO (Float, Float, Float, Float)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return (Float
minWidthP'', Float
minHeightP'', Float
naturalWidthP'', Float
naturalHeightP'')
#if defined(ENABLE_OVERLOADING)
data ActorGetPreferredSizeMethodInfo
instance (signature ~ (m ((Float, Float, Float, Float))), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetPreferredSizeMethodInfo a signature where
overloadedMethod = actorGetPreferredSize
instance O.OverloadedMethodInfo ActorGetPreferredSizeMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetPreferredSize",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetPreferredSize"
})
#endif
foreign import ccall "clutter_actor_get_preferred_width" clutter_actor_get_preferred_width ::
Ptr Actor ->
CFloat ->
Ptr CFloat ->
Ptr CFloat ->
IO ()
actorGetPreferredWidth ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> Float
-> m ((Float, Float))
actorGetPreferredWidth :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> Float -> m (Float, Float)
actorGetPreferredWidth a
self Float
forHeight = IO (Float, Float) -> m (Float, Float)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO (Float, Float) -> m (Float, Float))
-> IO (Float, Float) -> m (Float, Float)
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
let forHeight' :: CFloat
forHeight' = Float -> CFloat
forall a b. (Real a, Fractional b) => a -> b
realToFrac Float
forHeight
Ptr CFloat
minWidthP <- IO (Ptr CFloat)
forall a. Storable a => IO (Ptr a)
allocMem :: IO (Ptr CFloat)
Ptr CFloat
naturalWidthP <- IO (Ptr CFloat)
forall a. Storable a => IO (Ptr a)
allocMem :: IO (Ptr CFloat)
Ptr Actor -> CFloat -> Ptr CFloat -> Ptr CFloat -> IO ()
clutter_actor_get_preferred_width Ptr Actor
self' CFloat
forHeight' Ptr CFloat
minWidthP Ptr CFloat
naturalWidthP
CFloat
minWidthP' <- Ptr CFloat -> IO CFloat
forall a. Storable a => Ptr a -> IO a
peek Ptr CFloat
minWidthP
let minWidthP'' :: Float
minWidthP'' = CFloat -> Float
forall a b. (Real a, Fractional b) => a -> b
realToFrac CFloat
minWidthP'
CFloat
naturalWidthP' <- Ptr CFloat -> IO CFloat
forall a. Storable a => Ptr a -> IO a
peek Ptr CFloat
naturalWidthP
let naturalWidthP'' :: Float
naturalWidthP'' = CFloat -> Float
forall a b. (Real a, Fractional b) => a -> b
realToFrac CFloat
naturalWidthP'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Ptr CFloat -> IO ()
forall a. Ptr a -> IO ()
freeMem Ptr CFloat
minWidthP
Ptr CFloat -> IO ()
forall a. Ptr a -> IO ()
freeMem Ptr CFloat
naturalWidthP
(Float, Float) -> IO (Float, Float)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return (Float
minWidthP'', Float
naturalWidthP'')
#if defined(ENABLE_OVERLOADING)
data ActorGetPreferredWidthMethodInfo
instance (signature ~ (Float -> m ((Float, Float))), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetPreferredWidthMethodInfo a signature where
overloadedMethod = actorGetPreferredWidth
instance O.OverloadedMethodInfo ActorGetPreferredWidthMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetPreferredWidth",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetPreferredWidth"
})
#endif
foreign import ccall "clutter_actor_get_previous_sibling" clutter_actor_get_previous_sibling ::
Ptr Actor ->
IO (Ptr Actor)
actorGetPreviousSibling ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m Actor
actorGetPreviousSibling :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m Actor
actorGetPreviousSibling a
self = IO Actor -> m Actor
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Actor -> m Actor) -> IO Actor -> m Actor
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Actor
result <- Ptr Actor -> IO (Ptr Actor)
clutter_actor_get_previous_sibling Ptr Actor
self'
Text -> Ptr Actor -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"actorGetPreviousSibling" Ptr Actor
result
Actor
result' <- ((ManagedPtr Actor -> Actor) -> Ptr Actor -> IO Actor
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
newObject ManagedPtr Actor -> Actor
Actor) Ptr Actor
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Actor -> IO Actor
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Actor
result'
#if defined(ENABLE_OVERLOADING)
data ActorGetPreviousSiblingMethodInfo
instance (signature ~ (m Actor), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetPreviousSiblingMethodInfo a signature where
overloadedMethod = actorGetPreviousSibling
instance O.OverloadedMethodInfo ActorGetPreviousSiblingMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetPreviousSibling",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetPreviousSibling"
})
#endif
foreign import ccall "clutter_actor_get_reactive" clutter_actor_get_reactive ::
Ptr Actor ->
IO CInt
actorGetReactive ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m Bool
actorGetReactive :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m Bool
actorGetReactive a
actor = IO Bool -> m Bool
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
actor' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
actor
CInt
result <- Ptr Actor -> IO CInt
clutter_actor_get_reactive Ptr Actor
actor'
let result' :: Bool
result' = (CInt -> CInt -> Bool
forall a. Eq a => a -> a -> Bool
/= CInt
0) CInt
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
actor
Bool -> IO Bool
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Bool
result'
#if defined(ENABLE_OVERLOADING)
data ActorGetReactiveMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetReactiveMethodInfo a signature where
overloadedMethod = actorGetReactive
instance O.OverloadedMethodInfo ActorGetReactiveMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetReactive",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetReactive"
})
#endif
foreign import ccall "clutter_actor_get_request_mode" clutter_actor_get_request_mode ::
Ptr Actor ->
IO CUInt
actorGetRequestMode ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m Clutter.Enums.RequestMode
actorGetRequestMode :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m RequestMode
actorGetRequestMode a
self = IO RequestMode -> m RequestMode
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO RequestMode -> m RequestMode)
-> IO RequestMode -> m RequestMode
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CUInt
result <- Ptr Actor -> IO CUInt
clutter_actor_get_request_mode Ptr Actor
self'
let result' :: RequestMode
result' = (Int -> RequestMode
forall a. Enum a => Int -> a
toEnum (Int -> RequestMode) -> (CUInt -> Int) -> CUInt -> RequestMode
forall b c a. (b -> c) -> (a -> b) -> a -> c
. CUInt -> Int
forall a b. (Integral a, Num b) => a -> b
fromIntegral) CUInt
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
RequestMode -> IO RequestMode
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return RequestMode
result'
#if defined(ENABLE_OVERLOADING)
data ActorGetRequestModeMethodInfo
instance (signature ~ (m Clutter.Enums.RequestMode), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetRequestModeMethodInfo a signature where
overloadedMethod = actorGetRequestMode
instance O.OverloadedMethodInfo ActorGetRequestModeMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetRequestMode",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetRequestMode"
})
#endif
foreign import ccall "clutter_actor_get_rotation" clutter_actor_get_rotation ::
Ptr Actor ->
CUInt ->
Ptr CFloat ->
Ptr CFloat ->
Ptr CFloat ->
IO CDouble
{-# DEPRECATED actorGetRotation ["(Since version 1.12)","Use 'GI.Clutter.Objects.Actor.actorGetRotationAngle' and"," 'GI.Clutter.Objects.Actor.actorGetPivotPoint' instead."] #-}
actorGetRotation ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> Clutter.Enums.RotateAxis
-> m ((Double, Float, Float, Float))
actorGetRotation :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> RotateAxis -> m (Double, Float, Float, Float)
actorGetRotation a
self RotateAxis
axis = IO (Double, Float, Float, Float) -> m (Double, Float, Float, Float)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO (Double, Float, Float, Float)
-> m (Double, Float, Float, Float))
-> IO (Double, Float, Float, Float)
-> m (Double, Float, Float, Float)
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
let axis' :: CUInt
axis' = (Int -> CUInt
forall a b. (Integral a, Num b) => a -> b
fromIntegral (Int -> CUInt) -> (RotateAxis -> Int) -> RotateAxis -> CUInt
forall b c a. (b -> c) -> (a -> b) -> a -> c
. RotateAxis -> Int
forall a. Enum a => a -> Int
fromEnum) RotateAxis
axis
Ptr CFloat
x <- IO (Ptr CFloat)
forall a. Storable a => IO (Ptr a)
allocMem :: IO (Ptr CFloat)
Ptr CFloat
y <- IO (Ptr CFloat)
forall a. Storable a => IO (Ptr a)
allocMem :: IO (Ptr CFloat)
Ptr CFloat
z <- IO (Ptr CFloat)
forall a. Storable a => IO (Ptr a)
allocMem :: IO (Ptr CFloat)
CDouble
result <- Ptr Actor
-> CUInt -> Ptr CFloat -> Ptr CFloat -> Ptr CFloat -> IO CDouble
clutter_actor_get_rotation Ptr Actor
self' CUInt
axis' Ptr CFloat
x Ptr CFloat
y Ptr CFloat
z
let result' :: Double
result' = CDouble -> Double
forall a b. (Real a, Fractional b) => a -> b
realToFrac CDouble
result
CFloat
x' <- Ptr CFloat -> IO CFloat
forall a. Storable a => Ptr a -> IO a
peek Ptr CFloat
x
let x'' :: Float
x'' = CFloat -> Float
forall a b. (Real a, Fractional b) => a -> b
realToFrac CFloat
x'
CFloat
y' <- Ptr CFloat -> IO CFloat
forall a. Storable a => Ptr a -> IO a
peek Ptr CFloat
y
let y'' :: Float
y'' = CFloat -> Float
forall a b. (Real a, Fractional b) => a -> b
realToFrac CFloat
y'
CFloat
z' <- Ptr CFloat -> IO CFloat
forall a. Storable a => Ptr a -> IO a
peek Ptr CFloat
z
let z'' :: Float
z'' = CFloat -> Float
forall a b. (Real a, Fractional b) => a -> b
realToFrac CFloat
z'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Ptr CFloat -> IO ()
forall a. Ptr a -> IO ()
freeMem Ptr CFloat
x
Ptr CFloat -> IO ()
forall a. Ptr a -> IO ()
freeMem Ptr CFloat
y
Ptr CFloat -> IO ()
forall a. Ptr a -> IO ()
freeMem Ptr CFloat
z
(Double, Float, Float, Float) -> IO (Double, Float, Float, Float)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return (Double
result', Float
x'', Float
y'', Float
z'')
#if defined(ENABLE_OVERLOADING)
data ActorGetRotationMethodInfo
instance (signature ~ (Clutter.Enums.RotateAxis -> m ((Double, Float, Float, Float))), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetRotationMethodInfo a signature where
overloadedMethod = actorGetRotation
instance O.OverloadedMethodInfo ActorGetRotationMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetRotation",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetRotation"
})
#endif
foreign import ccall "clutter_actor_get_rotation_angle" clutter_actor_get_rotation_angle ::
Ptr Actor ->
CUInt ->
IO CDouble
actorGetRotationAngle ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> Clutter.Enums.RotateAxis
-> m Double
actorGetRotationAngle :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> RotateAxis -> m Double
actorGetRotationAngle a
self RotateAxis
axis = IO Double -> m Double
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Double -> m Double) -> IO Double -> m Double
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
let axis' :: CUInt
axis' = (Int -> CUInt
forall a b. (Integral a, Num b) => a -> b
fromIntegral (Int -> CUInt) -> (RotateAxis -> Int) -> RotateAxis -> CUInt
forall b c a. (b -> c) -> (a -> b) -> a -> c
. RotateAxis -> Int
forall a. Enum a => a -> Int
fromEnum) RotateAxis
axis
CDouble
result <- Ptr Actor -> CUInt -> IO CDouble
clutter_actor_get_rotation_angle Ptr Actor
self' CUInt
axis'
let result' :: Double
result' = CDouble -> Double
forall a b. (Real a, Fractional b) => a -> b
realToFrac CDouble
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Double -> IO Double
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Double
result'
#if defined(ENABLE_OVERLOADING)
data ActorGetRotationAngleMethodInfo
instance (signature ~ (Clutter.Enums.RotateAxis -> m Double), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetRotationAngleMethodInfo a signature where
overloadedMethod = actorGetRotationAngle
instance O.OverloadedMethodInfo ActorGetRotationAngleMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetRotationAngle",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetRotationAngle"
})
#endif
foreign import ccall "clutter_actor_get_scale" clutter_actor_get_scale ::
Ptr Actor ->
Ptr CDouble ->
Ptr CDouble ->
IO ()
actorGetScale ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m ((Double, Double))
actorGetScale :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m (Double, Double)
actorGetScale a
self = IO (Double, Double) -> m (Double, Double)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO (Double, Double) -> m (Double, Double))
-> IO (Double, Double) -> m (Double, Double)
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr CDouble
scaleX <- IO (Ptr CDouble)
forall a. Storable a => IO (Ptr a)
allocMem :: IO (Ptr CDouble)
Ptr CDouble
scaleY <- IO (Ptr CDouble)
forall a. Storable a => IO (Ptr a)
allocMem :: IO (Ptr CDouble)
Ptr Actor -> Ptr CDouble -> Ptr CDouble -> IO ()
clutter_actor_get_scale Ptr Actor
self' Ptr CDouble
scaleX Ptr CDouble
scaleY
CDouble
scaleX' <- Ptr CDouble -> IO CDouble
forall a. Storable a => Ptr a -> IO a
peek Ptr CDouble
scaleX
let scaleX'' :: Double
scaleX'' = CDouble -> Double
forall a b. (Real a, Fractional b) => a -> b
realToFrac CDouble
scaleX'
CDouble
scaleY' <- Ptr CDouble -> IO CDouble
forall a. Storable a => Ptr a -> IO a
peek Ptr CDouble
scaleY
let scaleY'' :: Double
scaleY'' = CDouble -> Double
forall a b. (Real a, Fractional b) => a -> b
realToFrac CDouble
scaleY'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Ptr CDouble -> IO ()
forall a. Ptr a -> IO ()
freeMem Ptr CDouble
scaleX
Ptr CDouble -> IO ()
forall a. Ptr a -> IO ()
freeMem Ptr CDouble
scaleY
(Double, Double) -> IO (Double, Double)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return (Double
scaleX'', Double
scaleY'')
#if defined(ENABLE_OVERLOADING)
data ActorGetScaleMethodInfo
instance (signature ~ (m ((Double, Double))), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetScaleMethodInfo a signature where
overloadedMethod = actorGetScale
instance O.OverloadedMethodInfo ActorGetScaleMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetScale",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetScale"
})
#endif
foreign import ccall "clutter_actor_get_scale_center" clutter_actor_get_scale_center ::
Ptr Actor ->
Ptr CFloat ->
Ptr CFloat ->
IO ()
{-# DEPRECATED actorGetScaleCenter ["(Since version 1.12)","Use 'GI.Clutter.Objects.Actor.actorGetPivotPoint' instead."] #-}
actorGetScaleCenter ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m ((Float, Float))
actorGetScaleCenter :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m (Float, Float)
actorGetScaleCenter a
self = IO (Float, Float) -> m (Float, Float)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO (Float, Float) -> m (Float, Float))
-> IO (Float, Float) -> m (Float, Float)
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr CFloat
centerX <- IO (Ptr CFloat)
forall a. Storable a => IO (Ptr a)
allocMem :: IO (Ptr CFloat)
Ptr CFloat
centerY <- IO (Ptr CFloat)
forall a. Storable a => IO (Ptr a)
allocMem :: IO (Ptr CFloat)
Ptr Actor -> Ptr CFloat -> Ptr CFloat -> IO ()
clutter_actor_get_scale_center Ptr Actor
self' Ptr CFloat
centerX Ptr CFloat
centerY
CFloat
centerX' <- Ptr CFloat -> IO CFloat
forall a. Storable a => Ptr a -> IO a
peek Ptr CFloat
centerX
let centerX'' :: Float
centerX'' = CFloat -> Float
forall a b. (Real a, Fractional b) => a -> b
realToFrac CFloat
centerX'
CFloat
centerY' <- Ptr CFloat -> IO CFloat
forall a. Storable a => Ptr a -> IO a
peek Ptr CFloat
centerY
let centerY'' :: Float
centerY'' = CFloat -> Float
forall a b. (Real a, Fractional b) => a -> b
realToFrac CFloat
centerY'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Ptr CFloat -> IO ()
forall a. Ptr a -> IO ()
freeMem Ptr CFloat
centerX
Ptr CFloat -> IO ()
forall a. Ptr a -> IO ()
freeMem Ptr CFloat
centerY
(Float, Float) -> IO (Float, Float)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return (Float
centerX'', Float
centerY'')
#if defined(ENABLE_OVERLOADING)
data ActorGetScaleCenterMethodInfo
instance (signature ~ (m ((Float, Float))), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetScaleCenterMethodInfo a signature where
overloadedMethod = actorGetScaleCenter
instance O.OverloadedMethodInfo ActorGetScaleCenterMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetScaleCenter",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetScaleCenter"
})
#endif
foreign import ccall "clutter_actor_get_scale_gravity" clutter_actor_get_scale_gravity ::
Ptr Actor ->
IO CUInt
{-# DEPRECATED actorGetScaleGravity ["(Since version 1.12)","Use 'GI.Clutter.Objects.Actor.actorGetPivotPoint' instead."] #-}
actorGetScaleGravity ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m Clutter.Enums.Gravity
actorGetScaleGravity :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m Gravity
actorGetScaleGravity a
self = IO Gravity -> m Gravity
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Gravity -> m Gravity) -> IO Gravity -> m Gravity
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CUInt
result <- Ptr Actor -> IO CUInt
clutter_actor_get_scale_gravity Ptr Actor
self'
let result' :: Gravity
result' = (Int -> Gravity
forall a. Enum a => Int -> a
toEnum (Int -> Gravity) -> (CUInt -> Int) -> CUInt -> Gravity
forall b c a. (b -> c) -> (a -> b) -> a -> c
. CUInt -> Int
forall a b. (Integral a, Num b) => a -> b
fromIntegral) CUInt
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Gravity -> IO Gravity
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Gravity
result'
#if defined(ENABLE_OVERLOADING)
data ActorGetScaleGravityMethodInfo
instance (signature ~ (m Clutter.Enums.Gravity), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetScaleGravityMethodInfo a signature where
overloadedMethod = actorGetScaleGravity
instance O.OverloadedMethodInfo ActorGetScaleGravityMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetScaleGravity",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetScaleGravity"
})
#endif
foreign import ccall "clutter_actor_get_scale_z" clutter_actor_get_scale_z ::
Ptr Actor ->
IO CDouble
actorGetScaleZ ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m Double
actorGetScaleZ :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m Double
actorGetScaleZ a
self = IO Double -> m Double
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Double -> m Double) -> IO Double -> m Double
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CDouble
result <- Ptr Actor -> IO CDouble
clutter_actor_get_scale_z Ptr Actor
self'
let result' :: Double
result' = CDouble -> Double
forall a b. (Real a, Fractional b) => a -> b
realToFrac CDouble
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Double -> IO Double
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Double
result'
#if defined(ENABLE_OVERLOADING)
data ActorGetScaleZMethodInfo
instance (signature ~ (m Double), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetScaleZMethodInfo a signature where
overloadedMethod = actorGetScaleZ
instance O.OverloadedMethodInfo ActorGetScaleZMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetScaleZ",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetScaleZ"
})
#endif
foreign import ccall "clutter_actor_get_shader" clutter_actor_get_shader ::
Ptr Actor ->
IO (Ptr Clutter.Shader.Shader)
{-# DEPRECATED actorGetShader ["(Since version 1.8)","Use 'GI.Clutter.Objects.Actor.actorGetEffect' instead."] #-}
actorGetShader ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m Clutter.Shader.Shader
actorGetShader :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m Shader
actorGetShader a
self = IO Shader -> m Shader
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Shader -> m Shader) -> IO Shader -> m Shader
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Shader
result <- Ptr Actor -> IO (Ptr Shader)
clutter_actor_get_shader Ptr Actor
self'
Text -> Ptr Shader -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"actorGetShader" Ptr Shader
result
Shader
result' <- ((ManagedPtr Shader -> Shader) -> Ptr Shader -> IO Shader
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
newObject ManagedPtr Shader -> Shader
Clutter.Shader.Shader) Ptr Shader
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Shader -> IO Shader
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Shader
result'
#if defined(ENABLE_OVERLOADING)
data ActorGetShaderMethodInfo
instance (signature ~ (m Clutter.Shader.Shader), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetShaderMethodInfo a signature where
overloadedMethod = actorGetShader
instance O.OverloadedMethodInfo ActorGetShaderMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetShader",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetShader"
})
#endif
foreign import ccall "clutter_actor_get_size" clutter_actor_get_size ::
Ptr Actor ->
Ptr CFloat ->
Ptr CFloat ->
IO ()
actorGetSize ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m ((Float, Float))
actorGetSize :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m (Float, Float)
actorGetSize a
self = IO (Float, Float) -> m (Float, Float)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO (Float, Float) -> m (Float, Float))
-> IO (Float, Float) -> m (Float, Float)
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr CFloat
width <- IO (Ptr CFloat)
forall a. Storable a => IO (Ptr a)
allocMem :: IO (Ptr CFloat)
Ptr CFloat
height <- IO (Ptr CFloat)
forall a. Storable a => IO (Ptr a)
allocMem :: IO (Ptr CFloat)
Ptr Actor -> Ptr CFloat -> Ptr CFloat -> IO ()
clutter_actor_get_size Ptr Actor
self' Ptr CFloat
width Ptr CFloat
height
CFloat
width' <- Ptr CFloat -> IO CFloat
forall a. Storable a => Ptr a -> IO a
peek Ptr CFloat
width
let width'' :: Float
width'' = CFloat -> Float
forall a b. (Real a, Fractional b) => a -> b
realToFrac CFloat
width'
CFloat
height' <- Ptr CFloat -> IO CFloat
forall a. Storable a => Ptr a -> IO a
peek Ptr CFloat
height
let height'' :: Float
height'' = CFloat -> Float
forall a b. (Real a, Fractional b) => a -> b
realToFrac CFloat
height'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Ptr CFloat -> IO ()
forall a. Ptr a -> IO ()
freeMem Ptr CFloat
width
Ptr CFloat -> IO ()
forall a. Ptr a -> IO ()
freeMem Ptr CFloat
height
(Float, Float) -> IO (Float, Float)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return (Float
width'', Float
height'')
#if defined(ENABLE_OVERLOADING)
data ActorGetSizeMethodInfo
instance (signature ~ (m ((Float, Float))), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetSizeMethodInfo a signature where
overloadedMethod = actorGetSize
instance O.OverloadedMethodInfo ActorGetSizeMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetSize",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetSize"
})
#endif
foreign import ccall "clutter_actor_get_stage" clutter_actor_get_stage ::
Ptr Actor ->
IO (Ptr Clutter.Stage.Stage)
actorGetStage ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m Clutter.Stage.Stage
actorGetStage :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m Stage
actorGetStage a
actor = IO Stage -> m Stage
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Stage -> m Stage) -> IO Stage -> m Stage
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
actor' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
actor
Ptr Stage
result <- Ptr Actor -> IO (Ptr Stage)
clutter_actor_get_stage Ptr Actor
actor'
Text -> Ptr Stage -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"actorGetStage" Ptr Stage
result
Stage
result' <- ((ManagedPtr Stage -> Stage) -> Ptr Stage -> IO Stage
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
newObject ManagedPtr Stage -> Stage
Clutter.Stage.Stage) Ptr Stage
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
actor
Stage -> IO Stage
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Stage
result'
#if defined(ENABLE_OVERLOADING)
data ActorGetStageMethodInfo
instance (signature ~ (m Clutter.Stage.Stage), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetStageMethodInfo a signature where
overloadedMethod = actorGetStage
instance O.OverloadedMethodInfo ActorGetStageMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetStage",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetStage"
})
#endif
foreign import ccall "clutter_actor_get_text_direction" clutter_actor_get_text_direction ::
Ptr Actor ->
IO CUInt
actorGetTextDirection ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m Clutter.Enums.TextDirection
actorGetTextDirection :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m TextDirection
actorGetTextDirection a
self = IO TextDirection -> m TextDirection
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO TextDirection -> m TextDirection)
-> IO TextDirection -> m TextDirection
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CUInt
result <- Ptr Actor -> IO CUInt
clutter_actor_get_text_direction Ptr Actor
self'
let result' :: TextDirection
result' = (Int -> TextDirection
forall a. Enum a => Int -> a
toEnum (Int -> TextDirection) -> (CUInt -> Int) -> CUInt -> TextDirection
forall b c a. (b -> c) -> (a -> b) -> a -> c
. CUInt -> Int
forall a b. (Integral a, Num b) => a -> b
fromIntegral) CUInt
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
TextDirection -> IO TextDirection
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return TextDirection
result'
#if defined(ENABLE_OVERLOADING)
data ActorGetTextDirectionMethodInfo
instance (signature ~ (m Clutter.Enums.TextDirection), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetTextDirectionMethodInfo a signature where
overloadedMethod = actorGetTextDirection
instance O.OverloadedMethodInfo ActorGetTextDirectionMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetTextDirection",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetTextDirection"
})
#endif
#if defined(ENABLE_OVERLOADING)
data ActorGetTransformMethodInfo
instance (p ~ (), o ~ O.UnsupportedMethodError "getTransform" Actor) => O.OverloadedMethod ActorGetTransformMethodInfo o p where
overloadedMethod = undefined
instance (o ~ O.UnsupportedMethodError "getTransform" Actor) => O.OverloadedMethodInfo ActorGetTransformMethodInfo o where
overloadedMethodInfo = undefined
#endif
#if defined(ENABLE_OVERLOADING)
data ActorGetTransformationMatrixMethodInfo
instance (p ~ (), o ~ O.UnsupportedMethodError "getTransformationMatrix" Actor) => O.OverloadedMethod ActorGetTransformationMatrixMethodInfo o p where
overloadedMethod = undefined
instance (o ~ O.UnsupportedMethodError "getTransformationMatrix" Actor) => O.OverloadedMethodInfo ActorGetTransformationMatrixMethodInfo o where
overloadedMethodInfo = undefined
#endif
foreign import ccall "clutter_actor_get_transformed_paint_volume" clutter_actor_get_transformed_paint_volume ::
Ptr Actor ->
Ptr Actor ->
IO (Ptr Clutter.PaintVolume.PaintVolume)
actorGetTransformedPaintVolume ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a, IsActor b) =>
a
-> b
-> m Clutter.PaintVolume.PaintVolume
actorGetTransformedPaintVolume :: forall (m :: * -> *) a b.
(HasCallStack, MonadIO m, IsActor a, IsActor b) =>
a -> b -> m PaintVolume
actorGetTransformedPaintVolume a
self b
relativeToAncestor = IO PaintVolume -> m PaintVolume
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO PaintVolume -> m PaintVolume)
-> IO PaintVolume -> m PaintVolume
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Actor
relativeToAncestor' <- b -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr b
relativeToAncestor
Ptr PaintVolume
result <- Ptr Actor -> Ptr Actor -> IO (Ptr PaintVolume)
clutter_actor_get_transformed_paint_volume Ptr Actor
self' Ptr Actor
relativeToAncestor'
Text -> Ptr PaintVolume -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"actorGetTransformedPaintVolume" Ptr PaintVolume
result
PaintVolume
result' <- ((ManagedPtr PaintVolume -> PaintVolume)
-> Ptr PaintVolume -> IO PaintVolume
forall a.
(HasCallStack, GBoxed a) =>
(ManagedPtr a -> a) -> Ptr a -> IO a
newBoxed ManagedPtr PaintVolume -> PaintVolume
Clutter.PaintVolume.PaintVolume) Ptr PaintVolume
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
b -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr b
relativeToAncestor
PaintVolume -> IO PaintVolume
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return PaintVolume
result'
#if defined(ENABLE_OVERLOADING)
data ActorGetTransformedPaintVolumeMethodInfo
instance (signature ~ (b -> m Clutter.PaintVolume.PaintVolume), MonadIO m, IsActor a, IsActor b) => O.OverloadedMethod ActorGetTransformedPaintVolumeMethodInfo a signature where
overloadedMethod = actorGetTransformedPaintVolume
instance O.OverloadedMethodInfo ActorGetTransformedPaintVolumeMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetTransformedPaintVolume",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetTransformedPaintVolume"
})
#endif
foreign import ccall "clutter_actor_get_transformed_position" clutter_actor_get_transformed_position ::
Ptr Actor ->
Ptr CFloat ->
Ptr CFloat ->
IO ()
actorGetTransformedPosition ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m ((Float, Float))
actorGetTransformedPosition :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m (Float, Float)
actorGetTransformedPosition a
self = IO (Float, Float) -> m (Float, Float)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO (Float, Float) -> m (Float, Float))
-> IO (Float, Float) -> m (Float, Float)
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr CFloat
x <- IO (Ptr CFloat)
forall a. Storable a => IO (Ptr a)
allocMem :: IO (Ptr CFloat)
Ptr CFloat
y <- IO (Ptr CFloat)
forall a. Storable a => IO (Ptr a)
allocMem :: IO (Ptr CFloat)
Ptr Actor -> Ptr CFloat -> Ptr CFloat -> IO ()
clutter_actor_get_transformed_position Ptr Actor
self' Ptr CFloat
x Ptr CFloat
y
CFloat
x' <- Ptr CFloat -> IO CFloat
forall a. Storable a => Ptr a -> IO a
peek Ptr CFloat
x
let x'' :: Float
x'' = CFloat -> Float
forall a b. (Real a, Fractional b) => a -> b
realToFrac CFloat
x'
CFloat
y' <- Ptr CFloat -> IO CFloat
forall a. Storable a => Ptr a -> IO a
peek Ptr CFloat
y
let y'' :: Float
y'' = CFloat -> Float
forall a b. (Real a, Fractional b) => a -> b
realToFrac CFloat
y'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Ptr CFloat -> IO ()
forall a. Ptr a -> IO ()
freeMem Ptr CFloat
x
Ptr CFloat -> IO ()
forall a. Ptr a -> IO ()
freeMem Ptr CFloat
y
(Float, Float) -> IO (Float, Float)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return (Float
x'', Float
y'')
#if defined(ENABLE_OVERLOADING)
data ActorGetTransformedPositionMethodInfo
instance (signature ~ (m ((Float, Float))), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetTransformedPositionMethodInfo a signature where
overloadedMethod = actorGetTransformedPosition
instance O.OverloadedMethodInfo ActorGetTransformedPositionMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetTransformedPosition",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetTransformedPosition"
})
#endif
foreign import ccall "clutter_actor_get_transformed_size" clutter_actor_get_transformed_size ::
Ptr Actor ->
Ptr CFloat ->
Ptr CFloat ->
IO ()
actorGetTransformedSize ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m ((Float, Float))
actorGetTransformedSize :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m (Float, Float)
actorGetTransformedSize a
self = IO (Float, Float) -> m (Float, Float)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO (Float, Float) -> m (Float, Float))
-> IO (Float, Float) -> m (Float, Float)
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr CFloat
width <- IO (Ptr CFloat)
forall a. Storable a => IO (Ptr a)
allocMem :: IO (Ptr CFloat)
Ptr CFloat
height <- IO (Ptr CFloat)
forall a. Storable a => IO (Ptr a)
allocMem :: IO (Ptr CFloat)
Ptr Actor -> Ptr CFloat -> Ptr CFloat -> IO ()
clutter_actor_get_transformed_size Ptr Actor
self' Ptr CFloat
width Ptr CFloat
height
CFloat
width' <- Ptr CFloat -> IO CFloat
forall a. Storable a => Ptr a -> IO a
peek Ptr CFloat
width
let width'' :: Float
width'' = CFloat -> Float
forall a b. (Real a, Fractional b) => a -> b
realToFrac CFloat
width'
CFloat
height' <- Ptr CFloat -> IO CFloat
forall a. Storable a => Ptr a -> IO a
peek Ptr CFloat
height
let height'' :: Float
height'' = CFloat -> Float
forall a b. (Real a, Fractional b) => a -> b
realToFrac CFloat
height'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Ptr CFloat -> IO ()
forall a. Ptr a -> IO ()
freeMem Ptr CFloat
width
Ptr CFloat -> IO ()
forall a. Ptr a -> IO ()
freeMem Ptr CFloat
height
(Float, Float) -> IO (Float, Float)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return (Float
width'', Float
height'')
#if defined(ENABLE_OVERLOADING)
data ActorGetTransformedSizeMethodInfo
instance (signature ~ (m ((Float, Float))), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetTransformedSizeMethodInfo a signature where
overloadedMethod = actorGetTransformedSize
instance O.OverloadedMethodInfo ActorGetTransformedSizeMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetTransformedSize",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetTransformedSize"
})
#endif
foreign import ccall "clutter_actor_get_transition" clutter_actor_get_transition ::
Ptr Actor ->
CString ->
IO (Ptr Clutter.Transition.Transition)
actorGetTransition ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> T.Text
-> m Clutter.Transition.Transition
actorGetTransition :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> Text -> m Transition
actorGetTransition a
self Text
name = IO Transition -> m Transition
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Transition -> m Transition) -> IO Transition -> m Transition
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CString
name' <- Text -> IO CString
textToCString Text
name
Ptr Transition
result <- Ptr Actor -> CString -> IO (Ptr Transition)
clutter_actor_get_transition Ptr Actor
self' CString
name'
Text -> Ptr Transition -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"actorGetTransition" Ptr Transition
result
Transition
result' <- ((ManagedPtr Transition -> Transition)
-> Ptr Transition -> IO Transition
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
newObject ManagedPtr Transition -> Transition
Clutter.Transition.Transition) Ptr Transition
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
CString -> IO ()
forall a. Ptr a -> IO ()
freeMem CString
name'
Transition -> IO Transition
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Transition
result'
#if defined(ENABLE_OVERLOADING)
data ActorGetTransitionMethodInfo
instance (signature ~ (T.Text -> m Clutter.Transition.Transition), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetTransitionMethodInfo a signature where
overloadedMethod = actorGetTransition
instance O.OverloadedMethodInfo ActorGetTransitionMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetTransition",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetTransition"
})
#endif
foreign import ccall "clutter_actor_get_translation" clutter_actor_get_translation ::
Ptr Actor ->
Ptr CFloat ->
Ptr CFloat ->
Ptr CFloat ->
IO ()
actorGetTranslation ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m ((Float, Float, Float))
actorGetTranslation :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m (Float, Float, Float)
actorGetTranslation a
self = IO (Float, Float, Float) -> m (Float, Float, Float)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO (Float, Float, Float) -> m (Float, Float, Float))
-> IO (Float, Float, Float) -> m (Float, Float, Float)
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr CFloat
translateX <- IO (Ptr CFloat)
forall a. Storable a => IO (Ptr a)
allocMem :: IO (Ptr CFloat)
Ptr CFloat
translateY <- IO (Ptr CFloat)
forall a. Storable a => IO (Ptr a)
allocMem :: IO (Ptr CFloat)
Ptr CFloat
translateZ <- IO (Ptr CFloat)
forall a. Storable a => IO (Ptr a)
allocMem :: IO (Ptr CFloat)
Ptr Actor -> Ptr CFloat -> Ptr CFloat -> Ptr CFloat -> IO ()
clutter_actor_get_translation Ptr Actor
self' Ptr CFloat
translateX Ptr CFloat
translateY Ptr CFloat
translateZ
CFloat
translateX' <- Ptr CFloat -> IO CFloat
forall a. Storable a => Ptr a -> IO a
peek Ptr CFloat
translateX
let translateX'' :: Float
translateX'' = CFloat -> Float
forall a b. (Real a, Fractional b) => a -> b
realToFrac CFloat
translateX'
CFloat
translateY' <- Ptr CFloat -> IO CFloat
forall a. Storable a => Ptr a -> IO a
peek Ptr CFloat
translateY
let translateY'' :: Float
translateY'' = CFloat -> Float
forall a b. (Real a, Fractional b) => a -> b
realToFrac CFloat
translateY'
CFloat
translateZ' <- Ptr CFloat -> IO CFloat
forall a. Storable a => Ptr a -> IO a
peek Ptr CFloat
translateZ
let translateZ'' :: Float
translateZ'' = CFloat -> Float
forall a b. (Real a, Fractional b) => a -> b
realToFrac CFloat
translateZ'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Ptr CFloat -> IO ()
forall a. Ptr a -> IO ()
freeMem Ptr CFloat
translateX
Ptr CFloat -> IO ()
forall a. Ptr a -> IO ()
freeMem Ptr CFloat
translateY
Ptr CFloat -> IO ()
forall a. Ptr a -> IO ()
freeMem Ptr CFloat
translateZ
(Float, Float, Float) -> IO (Float, Float, Float)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return (Float
translateX'', Float
translateY'', Float
translateZ'')
#if defined(ENABLE_OVERLOADING)
data ActorGetTranslationMethodInfo
instance (signature ~ (m ((Float, Float, Float))), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetTranslationMethodInfo a signature where
overloadedMethod = actorGetTranslation
instance O.OverloadedMethodInfo ActorGetTranslationMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetTranslation",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetTranslation"
})
#endif
foreign import ccall "clutter_actor_get_width" clutter_actor_get_width ::
Ptr Actor ->
IO CFloat
actorGetWidth ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m Float
actorGetWidth :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m Float
actorGetWidth a
self = IO Float -> m Float
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Float -> m Float) -> IO Float -> m Float
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CFloat
result <- Ptr Actor -> IO CFloat
clutter_actor_get_width Ptr Actor
self'
let result' :: Float
result' = CFloat -> Float
forall a b. (Real a, Fractional b) => a -> b
realToFrac CFloat
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Float -> IO Float
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Float
result'
#if defined(ENABLE_OVERLOADING)
data ActorGetWidthMethodInfo
instance (signature ~ (m Float), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetWidthMethodInfo a signature where
overloadedMethod = actorGetWidth
instance O.OverloadedMethodInfo ActorGetWidthMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetWidth",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetWidth"
})
#endif
foreign import ccall "clutter_actor_get_x" clutter_actor_get_x ::
Ptr Actor ->
IO CFloat
actorGetX ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m Float
actorGetX :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m Float
actorGetX a
self = IO Float -> m Float
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Float -> m Float) -> IO Float -> m Float
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CFloat
result <- Ptr Actor -> IO CFloat
clutter_actor_get_x Ptr Actor
self'
let result' :: Float
result' = CFloat -> Float
forall a b. (Real a, Fractional b) => a -> b
realToFrac CFloat
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Float -> IO Float
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Float
result'
#if defined(ENABLE_OVERLOADING)
data ActorGetXMethodInfo
instance (signature ~ (m Float), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetXMethodInfo a signature where
overloadedMethod = actorGetX
instance O.OverloadedMethodInfo ActorGetXMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetX",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetX"
})
#endif
foreign import ccall "clutter_actor_get_x_align" clutter_actor_get_x_align ::
Ptr Actor ->
IO CUInt
actorGetXAlign ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m Clutter.Enums.ActorAlign
actorGetXAlign :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m ActorAlign
actorGetXAlign a
self = IO ActorAlign -> m ActorAlign
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO ActorAlign -> m ActorAlign) -> IO ActorAlign -> m ActorAlign
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CUInt
result <- Ptr Actor -> IO CUInt
clutter_actor_get_x_align Ptr Actor
self'
let result' :: ActorAlign
result' = (Int -> ActorAlign
forall a. Enum a => Int -> a
toEnum (Int -> ActorAlign) -> (CUInt -> Int) -> CUInt -> ActorAlign
forall b c a. (b -> c) -> (a -> b) -> a -> c
. CUInt -> Int
forall a b. (Integral a, Num b) => a -> b
fromIntegral) CUInt
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
ActorAlign -> IO ActorAlign
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ActorAlign
result'
#if defined(ENABLE_OVERLOADING)
data ActorGetXAlignMethodInfo
instance (signature ~ (m Clutter.Enums.ActorAlign), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetXAlignMethodInfo a signature where
overloadedMethod = actorGetXAlign
instance O.OverloadedMethodInfo ActorGetXAlignMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetXAlign",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetXAlign"
})
#endif
foreign import ccall "clutter_actor_get_x_expand" clutter_actor_get_x_expand ::
Ptr Actor ->
IO CInt
actorGetXExpand ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m Bool
actorGetXExpand :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m Bool
actorGetXExpand a
self = IO Bool -> m Bool
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CInt
result <- Ptr Actor -> IO CInt
clutter_actor_get_x_expand Ptr Actor
self'
let result' :: Bool
result' = (CInt -> CInt -> Bool
forall a. Eq a => a -> a -> Bool
/= CInt
0) CInt
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Bool -> IO Bool
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Bool
result'
#if defined(ENABLE_OVERLOADING)
data ActorGetXExpandMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetXExpandMethodInfo a signature where
overloadedMethod = actorGetXExpand
instance O.OverloadedMethodInfo ActorGetXExpandMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetXExpand",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetXExpand"
})
#endif
foreign import ccall "clutter_actor_get_y" clutter_actor_get_y ::
Ptr Actor ->
IO CFloat
actorGetY ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m Float
actorGetY :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m Float
actorGetY a
self = IO Float -> m Float
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Float -> m Float) -> IO Float -> m Float
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CFloat
result <- Ptr Actor -> IO CFloat
clutter_actor_get_y Ptr Actor
self'
let result' :: Float
result' = CFloat -> Float
forall a b. (Real a, Fractional b) => a -> b
realToFrac CFloat
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Float -> IO Float
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Float
result'
#if defined(ENABLE_OVERLOADING)
data ActorGetYMethodInfo
instance (signature ~ (m Float), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetYMethodInfo a signature where
overloadedMethod = actorGetY
instance O.OverloadedMethodInfo ActorGetYMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetY",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetY"
})
#endif
foreign import ccall "clutter_actor_get_y_align" clutter_actor_get_y_align ::
Ptr Actor ->
IO CUInt
actorGetYAlign ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m Clutter.Enums.ActorAlign
actorGetYAlign :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m ActorAlign
actorGetYAlign a
self = IO ActorAlign -> m ActorAlign
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO ActorAlign -> m ActorAlign) -> IO ActorAlign -> m ActorAlign
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CUInt
result <- Ptr Actor -> IO CUInt
clutter_actor_get_y_align Ptr Actor
self'
let result' :: ActorAlign
result' = (Int -> ActorAlign
forall a. Enum a => Int -> a
toEnum (Int -> ActorAlign) -> (CUInt -> Int) -> CUInt -> ActorAlign
forall b c a. (b -> c) -> (a -> b) -> a -> c
. CUInt -> Int
forall a b. (Integral a, Num b) => a -> b
fromIntegral) CUInt
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
ActorAlign -> IO ActorAlign
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ActorAlign
result'
#if defined(ENABLE_OVERLOADING)
data ActorGetYAlignMethodInfo
instance (signature ~ (m Clutter.Enums.ActorAlign), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetYAlignMethodInfo a signature where
overloadedMethod = actorGetYAlign
instance O.OverloadedMethodInfo ActorGetYAlignMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetYAlign",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetYAlign"
})
#endif
foreign import ccall "clutter_actor_get_y_expand" clutter_actor_get_y_expand ::
Ptr Actor ->
IO CInt
actorGetYExpand ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m Bool
actorGetYExpand :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m Bool
actorGetYExpand a
self = IO Bool -> m Bool
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CInt
result <- Ptr Actor -> IO CInt
clutter_actor_get_y_expand Ptr Actor
self'
let result' :: Bool
result' = (CInt -> CInt -> Bool
forall a. Eq a => a -> a -> Bool
/= CInt
0) CInt
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Bool -> IO Bool
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Bool
result'
#if defined(ENABLE_OVERLOADING)
data ActorGetYExpandMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetYExpandMethodInfo a signature where
overloadedMethod = actorGetYExpand
instance O.OverloadedMethodInfo ActorGetYExpandMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetYExpand",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetYExpand"
})
#endif
foreign import ccall "clutter_actor_get_z_position" clutter_actor_get_z_position ::
Ptr Actor ->
IO CFloat
actorGetZPosition ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m Float
actorGetZPosition :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m Float
actorGetZPosition a
self = IO Float -> m Float
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Float -> m Float) -> IO Float -> m Float
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CFloat
result <- Ptr Actor -> IO CFloat
clutter_actor_get_z_position Ptr Actor
self'
let result' :: Float
result' = CFloat -> Float
forall a b. (Real a, Fractional b) => a -> b
realToFrac CFloat
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Float -> IO Float
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Float
result'
#if defined(ENABLE_OVERLOADING)
data ActorGetZPositionMethodInfo
instance (signature ~ (m Float), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetZPositionMethodInfo a signature where
overloadedMethod = actorGetZPosition
instance O.OverloadedMethodInfo ActorGetZPositionMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetZPosition",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetZPosition"
})
#endif
foreign import ccall "clutter_actor_get_z_rotation_gravity" clutter_actor_get_z_rotation_gravity ::
Ptr Actor ->
IO CUInt
{-# DEPRECATED actorGetZRotationGravity ["(Since version 1.12)","Use the [Actor:pivotPoint](\"GI.Clutter.Objects.Actor#g:attr:pivotPoint\") instead of"," a t'GI.Clutter.Enums.Gravity'"] #-}
actorGetZRotationGravity ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m Clutter.Enums.Gravity
actorGetZRotationGravity :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m Gravity
actorGetZRotationGravity a
self = IO Gravity -> m Gravity
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Gravity -> m Gravity) -> IO Gravity -> m Gravity
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CUInt
result <- Ptr Actor -> IO CUInt
clutter_actor_get_z_rotation_gravity Ptr Actor
self'
let result' :: Gravity
result' = (Int -> Gravity
forall a. Enum a => Int -> a
toEnum (Int -> Gravity) -> (CUInt -> Int) -> CUInt -> Gravity
forall b c a. (b -> c) -> (a -> b) -> a -> c
. CUInt -> Int
forall a b. (Integral a, Num b) => a -> b
fromIntegral) CUInt
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Gravity -> IO Gravity
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Gravity
result'
#if defined(ENABLE_OVERLOADING)
data ActorGetZRotationGravityMethodInfo
instance (signature ~ (m Clutter.Enums.Gravity), MonadIO m, IsActor a) => O.OverloadedMethod ActorGetZRotationGravityMethodInfo a signature where
overloadedMethod = actorGetZRotationGravity
instance O.OverloadedMethodInfo ActorGetZRotationGravityMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGetZRotationGravity",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGetZRotationGravity"
})
#endif
foreign import ccall "clutter_actor_grab_key_focus" clutter_actor_grab_key_focus ::
Ptr Actor ->
IO ()
actorGrabKeyFocus ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m ()
actorGrabKeyFocus :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m ()
actorGrabKeyFocus a
self = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Actor -> IO ()
clutter_actor_grab_key_focus Ptr Actor
self'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorGrabKeyFocusMethodInfo
instance (signature ~ (m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorGrabKeyFocusMethodInfo a signature where
overloadedMethod = actorGrabKeyFocus
instance O.OverloadedMethodInfo ActorGrabKeyFocusMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorGrabKeyFocus",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorGrabKeyFocus"
})
#endif
foreign import ccall "clutter_actor_has_actions" clutter_actor_has_actions ::
Ptr Actor ->
IO CInt
actorHasActions ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m Bool
actorHasActions :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m Bool
actorHasActions a
self = IO Bool -> m Bool
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CInt
result <- Ptr Actor -> IO CInt
clutter_actor_has_actions Ptr Actor
self'
let result' :: Bool
result' = (CInt -> CInt -> Bool
forall a. Eq a => a -> a -> Bool
/= CInt
0) CInt
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Bool -> IO Bool
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Bool
result'
#if defined(ENABLE_OVERLOADING)
data ActorHasActionsMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsActor a) => O.OverloadedMethod ActorHasActionsMethodInfo a signature where
overloadedMethod = actorHasActions
instance O.OverloadedMethodInfo ActorHasActionsMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorHasActions",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorHasActions"
})
#endif
foreign import ccall "clutter_actor_has_allocation" clutter_actor_has_allocation ::
Ptr Actor ->
IO CInt
actorHasAllocation ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m Bool
actorHasAllocation :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m Bool
actorHasAllocation a
self = IO Bool -> m Bool
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CInt
result <- Ptr Actor -> IO CInt
clutter_actor_has_allocation Ptr Actor
self'
let result' :: Bool
result' = (CInt -> CInt -> Bool
forall a. Eq a => a -> a -> Bool
/= CInt
0) CInt
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Bool -> IO Bool
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Bool
result'
#if defined(ENABLE_OVERLOADING)
data ActorHasAllocationMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsActor a) => O.OverloadedMethod ActorHasAllocationMethodInfo a signature where
overloadedMethod = actorHasAllocation
instance O.OverloadedMethodInfo ActorHasAllocationMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorHasAllocation",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorHasAllocation"
})
#endif
foreign import ccall "clutter_actor_has_clip" clutter_actor_has_clip ::
Ptr Actor ->
IO CInt
actorHasClip ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m Bool
actorHasClip :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m Bool
actorHasClip a
self = IO Bool -> m Bool
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CInt
result <- Ptr Actor -> IO CInt
clutter_actor_has_clip Ptr Actor
self'
let result' :: Bool
result' = (CInt -> CInt -> Bool
forall a. Eq a => a -> a -> Bool
/= CInt
0) CInt
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Bool -> IO Bool
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Bool
result'
#if defined(ENABLE_OVERLOADING)
data ActorHasClipMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsActor a) => O.OverloadedMethod ActorHasClipMethodInfo a signature where
overloadedMethod = actorHasClip
instance O.OverloadedMethodInfo ActorHasClipMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorHasClip",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorHasClip"
})
#endif
foreign import ccall "clutter_actor_has_constraints" clutter_actor_has_constraints ::
Ptr Actor ->
IO CInt
actorHasConstraints ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m Bool
actorHasConstraints :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m Bool
actorHasConstraints a
self = IO Bool -> m Bool
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CInt
result <- Ptr Actor -> IO CInt
clutter_actor_has_constraints Ptr Actor
self'
let result' :: Bool
result' = (CInt -> CInt -> Bool
forall a. Eq a => a -> a -> Bool
/= CInt
0) CInt
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Bool -> IO Bool
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Bool
result'
#if defined(ENABLE_OVERLOADING)
data ActorHasConstraintsMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsActor a) => O.OverloadedMethod ActorHasConstraintsMethodInfo a signature where
overloadedMethod = actorHasConstraints
instance O.OverloadedMethodInfo ActorHasConstraintsMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorHasConstraints",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorHasConstraints"
})
#endif
foreign import ccall "clutter_actor_has_effects" clutter_actor_has_effects ::
Ptr Actor ->
IO CInt
actorHasEffects ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m Bool
actorHasEffects :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m Bool
actorHasEffects a
self = IO Bool -> m Bool
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CInt
result <- Ptr Actor -> IO CInt
clutter_actor_has_effects Ptr Actor
self'
let result' :: Bool
result' = (CInt -> CInt -> Bool
forall a. Eq a => a -> a -> Bool
/= CInt
0) CInt
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Bool -> IO Bool
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Bool
result'
#if defined(ENABLE_OVERLOADING)
data ActorHasEffectsMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsActor a) => O.OverloadedMethod ActorHasEffectsMethodInfo a signature where
overloadedMethod = actorHasEffects
instance O.OverloadedMethodInfo ActorHasEffectsMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorHasEffects",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorHasEffects"
})
#endif
foreign import ccall "clutter_actor_has_key_focus" clutter_actor_has_key_focus ::
Ptr Actor ->
IO CInt
actorHasKeyFocus ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m Bool
actorHasKeyFocus :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m Bool
actorHasKeyFocus a
self = IO Bool -> m Bool
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CInt
result <- Ptr Actor -> IO CInt
clutter_actor_has_key_focus Ptr Actor
self'
let result' :: Bool
result' = (CInt -> CInt -> Bool
forall a. Eq a => a -> a -> Bool
/= CInt
0) CInt
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Bool -> IO Bool
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Bool
result'
#if defined(ENABLE_OVERLOADING)
data ActorHasKeyFocusMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsActor a) => O.OverloadedMethod ActorHasKeyFocusMethodInfo a signature where
overloadedMethod = actorHasKeyFocus
instance O.OverloadedMethodInfo ActorHasKeyFocusMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorHasKeyFocus",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorHasKeyFocus"
})
#endif
foreign import ccall "clutter_actor_has_overlaps" clutter_actor_has_overlaps ::
Ptr Actor ->
IO CInt
actorHasOverlaps ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m Bool
actorHasOverlaps :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m Bool
actorHasOverlaps a
self = IO Bool -> m Bool
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CInt
result <- Ptr Actor -> IO CInt
clutter_actor_has_overlaps Ptr Actor
self'
let result' :: Bool
result' = (CInt -> CInt -> Bool
forall a. Eq a => a -> a -> Bool
/= CInt
0) CInt
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Bool -> IO Bool
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Bool
result'
#if defined(ENABLE_OVERLOADING)
data ActorHasOverlapsMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsActor a) => O.OverloadedMethod ActorHasOverlapsMethodInfo a signature where
overloadedMethod = actorHasOverlaps
instance O.OverloadedMethodInfo ActorHasOverlapsMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorHasOverlaps",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorHasOverlaps"
})
#endif
foreign import ccall "clutter_actor_has_pointer" clutter_actor_has_pointer ::
Ptr Actor ->
IO CInt
actorHasPointer ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m Bool
actorHasPointer :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m Bool
actorHasPointer a
self = IO Bool -> m Bool
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CInt
result <- Ptr Actor -> IO CInt
clutter_actor_has_pointer Ptr Actor
self'
let result' :: Bool
result' = (CInt -> CInt -> Bool
forall a. Eq a => a -> a -> Bool
/= CInt
0) CInt
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Bool -> IO Bool
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Bool
result'
#if defined(ENABLE_OVERLOADING)
data ActorHasPointerMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsActor a) => O.OverloadedMethod ActorHasPointerMethodInfo a signature where
overloadedMethod = actorHasPointer
instance O.OverloadedMethodInfo ActorHasPointerMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorHasPointer",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorHasPointer"
})
#endif
foreign import ccall "clutter_actor_hide" clutter_actor_hide ::
Ptr Actor ->
IO ()
actorHide ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m ()
actorHide :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m ()
actorHide a
self = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Actor -> IO ()
clutter_actor_hide Ptr Actor
self'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorHideMethodInfo
instance (signature ~ (m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorHideMethodInfo a signature where
overloadedMethod = actorHide
instance O.OverloadedMethodInfo ActorHideMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorHide",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorHide"
})
#endif
foreign import ccall "clutter_actor_hide_all" clutter_actor_hide_all ::
Ptr Actor ->
IO ()
{-# DEPRECATED actorHideAll ["(Since version 1.10)","Using 'GI.Clutter.Objects.Actor.actorHide' on the actor will"," prevent its children from being painted as well."] #-}
actorHideAll ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m ()
actorHideAll :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m ()
actorHideAll a
self = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Actor -> IO ()
clutter_actor_hide_all Ptr Actor
self'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorHideAllMethodInfo
instance (signature ~ (m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorHideAllMethodInfo a signature where
overloadedMethod = actorHideAll
instance O.OverloadedMethodInfo ActorHideAllMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorHideAll",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorHideAll"
})
#endif
foreign import ccall "clutter_actor_insert_child_above" clutter_actor_insert_child_above ::
Ptr Actor ->
Ptr Actor ->
Ptr Actor ->
IO ()
actorInsertChildAbove ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a, IsActor b, IsActor c) =>
a
-> b
-> Maybe (c)
-> m ()
actorInsertChildAbove :: forall (m :: * -> *) a b c.
(HasCallStack, MonadIO m, IsActor a, IsActor b, IsActor c) =>
a -> b -> Maybe c -> m ()
actorInsertChildAbove a
self b
child Maybe c
sibling = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Actor
child' <- b -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr b
child
Ptr Actor
maybeSibling <- case Maybe c
sibling of
Maybe c
Nothing -> Ptr Actor -> IO (Ptr Actor)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Ptr Actor
forall a. Ptr a
nullPtr
Just c
jSibling -> do
Ptr Actor
jSibling' <- c -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr c
jSibling
Ptr Actor -> IO (Ptr Actor)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Ptr Actor
jSibling'
Ptr Actor -> Ptr Actor -> Ptr Actor -> IO ()
clutter_actor_insert_child_above Ptr Actor
self' Ptr Actor
child' Ptr Actor
maybeSibling
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
b -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr b
child
Maybe c -> (c -> IO ()) -> IO ()
forall (m :: * -> *) a. Monad m => Maybe a -> (a -> m ()) -> m ()
whenJust Maybe c
sibling c -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorInsertChildAboveMethodInfo
instance (signature ~ (b -> Maybe (c) -> m ()), MonadIO m, IsActor a, IsActor b, IsActor c) => O.OverloadedMethod ActorInsertChildAboveMethodInfo a signature where
overloadedMethod = actorInsertChildAbove
instance O.OverloadedMethodInfo ActorInsertChildAboveMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorInsertChildAbove",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorInsertChildAbove"
})
#endif
foreign import ccall "clutter_actor_insert_child_at_index" clutter_actor_insert_child_at_index ::
Ptr Actor ->
Ptr Actor ->
Int32 ->
IO ()
actorInsertChildAtIndex ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a, IsActor b) =>
a
-> b
-> Int32
-> m ()
actorInsertChildAtIndex :: forall (m :: * -> *) a b.
(HasCallStack, MonadIO m, IsActor a, IsActor b) =>
a -> b -> Int32 -> m ()
actorInsertChildAtIndex a
self b
child Int32
index_ = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Actor
child' <- b -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr b
child
Ptr Actor -> Ptr Actor -> Int32 -> IO ()
clutter_actor_insert_child_at_index Ptr Actor
self' Ptr Actor
child' Int32
index_
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
b -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr b
child
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorInsertChildAtIndexMethodInfo
instance (signature ~ (b -> Int32 -> m ()), MonadIO m, IsActor a, IsActor b) => O.OverloadedMethod ActorInsertChildAtIndexMethodInfo a signature where
overloadedMethod = actorInsertChildAtIndex
instance O.OverloadedMethodInfo ActorInsertChildAtIndexMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorInsertChildAtIndex",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorInsertChildAtIndex"
})
#endif
foreign import ccall "clutter_actor_insert_child_below" clutter_actor_insert_child_below ::
Ptr Actor ->
Ptr Actor ->
Ptr Actor ->
IO ()
actorInsertChildBelow ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a, IsActor b, IsActor c) =>
a
-> b
-> Maybe (c)
-> m ()
actorInsertChildBelow :: forall (m :: * -> *) a b c.
(HasCallStack, MonadIO m, IsActor a, IsActor b, IsActor c) =>
a -> b -> Maybe c -> m ()
actorInsertChildBelow a
self b
child Maybe c
sibling = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Actor
child' <- b -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr b
child
Ptr Actor
maybeSibling <- case Maybe c
sibling of
Maybe c
Nothing -> Ptr Actor -> IO (Ptr Actor)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Ptr Actor
forall a. Ptr a
nullPtr
Just c
jSibling -> do
Ptr Actor
jSibling' <- c -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr c
jSibling
Ptr Actor -> IO (Ptr Actor)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Ptr Actor
jSibling'
Ptr Actor -> Ptr Actor -> Ptr Actor -> IO ()
clutter_actor_insert_child_below Ptr Actor
self' Ptr Actor
child' Ptr Actor
maybeSibling
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
b -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr b
child
Maybe c -> (c -> IO ()) -> IO ()
forall (m :: * -> *) a. Monad m => Maybe a -> (a -> m ()) -> m ()
whenJust Maybe c
sibling c -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorInsertChildBelowMethodInfo
instance (signature ~ (b -> Maybe (c) -> m ()), MonadIO m, IsActor a, IsActor b, IsActor c) => O.OverloadedMethod ActorInsertChildBelowMethodInfo a signature where
overloadedMethod = actorInsertChildBelow
instance O.OverloadedMethodInfo ActorInsertChildBelowMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorInsertChildBelow",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorInsertChildBelow"
})
#endif
foreign import ccall "clutter_actor_is_in_clone_paint" clutter_actor_is_in_clone_paint ::
Ptr Actor ->
IO CInt
actorIsInClonePaint ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m Bool
actorIsInClonePaint :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m Bool
actorIsInClonePaint a
self = IO Bool -> m Bool
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CInt
result <- Ptr Actor -> IO CInt
clutter_actor_is_in_clone_paint Ptr Actor
self'
let result' :: Bool
result' = (CInt -> CInt -> Bool
forall a. Eq a => a -> a -> Bool
/= CInt
0) CInt
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Bool -> IO Bool
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Bool
result'
#if defined(ENABLE_OVERLOADING)
data ActorIsInClonePaintMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsActor a) => O.OverloadedMethod ActorIsInClonePaintMethodInfo a signature where
overloadedMethod = actorIsInClonePaint
instance O.OverloadedMethodInfo ActorIsInClonePaintMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorIsInClonePaint",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorIsInClonePaint"
})
#endif
foreign import ccall "clutter_actor_is_mapped" clutter_actor_is_mapped ::
Ptr Actor ->
IO CInt
actorIsMapped ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m Bool
actorIsMapped :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m Bool
actorIsMapped a
self = IO Bool -> m Bool
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CInt
result <- Ptr Actor -> IO CInt
clutter_actor_is_mapped Ptr Actor
self'
let result' :: Bool
result' = (CInt -> CInt -> Bool
forall a. Eq a => a -> a -> Bool
/= CInt
0) CInt
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Bool -> IO Bool
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Bool
result'
#if defined(ENABLE_OVERLOADING)
data ActorIsMappedMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsActor a) => O.OverloadedMethod ActorIsMappedMethodInfo a signature where
overloadedMethod = actorIsMapped
instance O.OverloadedMethodInfo ActorIsMappedMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorIsMapped",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorIsMapped"
})
#endif
foreign import ccall "clutter_actor_is_realized" clutter_actor_is_realized ::
Ptr Actor ->
IO CInt
actorIsRealized ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m Bool
actorIsRealized :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m Bool
actorIsRealized a
self = IO Bool -> m Bool
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CInt
result <- Ptr Actor -> IO CInt
clutter_actor_is_realized Ptr Actor
self'
let result' :: Bool
result' = (CInt -> CInt -> Bool
forall a. Eq a => a -> a -> Bool
/= CInt
0) CInt
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Bool -> IO Bool
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Bool
result'
#if defined(ENABLE_OVERLOADING)
data ActorIsRealizedMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsActor a) => O.OverloadedMethod ActorIsRealizedMethodInfo a signature where
overloadedMethod = actorIsRealized
instance O.OverloadedMethodInfo ActorIsRealizedMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorIsRealized",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorIsRealized"
})
#endif
foreign import ccall "clutter_actor_is_rotated" clutter_actor_is_rotated ::
Ptr Actor ->
IO CInt
actorIsRotated ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m Bool
actorIsRotated :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m Bool
actorIsRotated a
self = IO Bool -> m Bool
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CInt
result <- Ptr Actor -> IO CInt
clutter_actor_is_rotated Ptr Actor
self'
let result' :: Bool
result' = (CInt -> CInt -> Bool
forall a. Eq a => a -> a -> Bool
/= CInt
0) CInt
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Bool -> IO Bool
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Bool
result'
#if defined(ENABLE_OVERLOADING)
data ActorIsRotatedMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsActor a) => O.OverloadedMethod ActorIsRotatedMethodInfo a signature where
overloadedMethod = actorIsRotated
instance O.OverloadedMethodInfo ActorIsRotatedMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorIsRotated",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorIsRotated"
})
#endif
foreign import ccall "clutter_actor_is_scaled" clutter_actor_is_scaled ::
Ptr Actor ->
IO CInt
actorIsScaled ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m Bool
actorIsScaled :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m Bool
actorIsScaled a
self = IO Bool -> m Bool
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CInt
result <- Ptr Actor -> IO CInt
clutter_actor_is_scaled Ptr Actor
self'
let result' :: Bool
result' = (CInt -> CInt -> Bool
forall a. Eq a => a -> a -> Bool
/= CInt
0) CInt
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Bool -> IO Bool
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Bool
result'
#if defined(ENABLE_OVERLOADING)
data ActorIsScaledMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsActor a) => O.OverloadedMethod ActorIsScaledMethodInfo a signature where
overloadedMethod = actorIsScaled
instance O.OverloadedMethodInfo ActorIsScaledMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorIsScaled",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorIsScaled"
})
#endif
foreign import ccall "clutter_actor_is_visible" clutter_actor_is_visible ::
Ptr Actor ->
IO CInt
actorIsVisible ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m Bool
actorIsVisible :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m Bool
actorIsVisible a
self = IO Bool -> m Bool
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CInt
result <- Ptr Actor -> IO CInt
clutter_actor_is_visible Ptr Actor
self'
let result' :: Bool
result' = (CInt -> CInt -> Bool
forall a. Eq a => a -> a -> Bool
/= CInt
0) CInt
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Bool -> IO Bool
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Bool
result'
#if defined(ENABLE_OVERLOADING)
data ActorIsVisibleMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsActor a) => O.OverloadedMethod ActorIsVisibleMethodInfo a signature where
overloadedMethod = actorIsVisible
instance O.OverloadedMethodInfo ActorIsVisibleMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorIsVisible",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorIsVisible"
})
#endif
foreign import ccall "clutter_actor_lower" clutter_actor_lower ::
Ptr Actor ->
Ptr Actor ->
IO ()
{-# DEPRECATED actorLower ["(Since version 1.10)","Use 'GI.Clutter.Objects.Actor.actorSetChildBelowSibling' instead."] #-}
actorLower ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a, IsActor b) =>
a
-> Maybe (b)
-> m ()
actorLower :: forall (m :: * -> *) a b.
(HasCallStack, MonadIO m, IsActor a, IsActor b) =>
a -> Maybe b -> m ()
actorLower a
self Maybe b
above = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Actor
maybeAbove <- case Maybe b
above of
Maybe b
Nothing -> Ptr Actor -> IO (Ptr Actor)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Ptr Actor
forall a. Ptr a
nullPtr
Just b
jAbove -> do
Ptr Actor
jAbove' <- b -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr b
jAbove
Ptr Actor -> IO (Ptr Actor)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Ptr Actor
jAbove'
Ptr Actor -> Ptr Actor -> IO ()
clutter_actor_lower Ptr Actor
self' Ptr Actor
maybeAbove
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Maybe b -> (b -> IO ()) -> IO ()
forall (m :: * -> *) a. Monad m => Maybe a -> (a -> m ()) -> m ()
whenJust Maybe b
above b -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorLowerMethodInfo
instance (signature ~ (Maybe (b) -> m ()), MonadIO m, IsActor a, IsActor b) => O.OverloadedMethod ActorLowerMethodInfo a signature where
overloadedMethod = actorLower
instance O.OverloadedMethodInfo ActorLowerMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorLower",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorLower"
})
#endif
foreign import ccall "clutter_actor_lower_bottom" clutter_actor_lower_bottom ::
Ptr Actor ->
IO ()
{-# DEPRECATED actorLowerBottom ["(Since version 1.10)","Use 'GI.Clutter.Objects.Actor.actorSetChildBelowSibling' with"," a 'P.Nothing' sibling, instead."] #-}
actorLowerBottom ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m ()
actorLowerBottom :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m ()
actorLowerBottom a
self = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Actor -> IO ()
clutter_actor_lower_bottom Ptr Actor
self'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorLowerBottomMethodInfo
instance (signature ~ (m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorLowerBottomMethodInfo a signature where
overloadedMethod = actorLowerBottom
instance O.OverloadedMethodInfo ActorLowerBottomMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorLowerBottom",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorLowerBottom"
})
#endif
foreign import ccall "clutter_actor_map" clutter_actor_map ::
Ptr Actor ->
IO ()
actorMap ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m ()
actorMap :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m ()
actorMap a
self = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Actor -> IO ()
clutter_actor_map Ptr Actor
self'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorMapMethodInfo
instance (signature ~ (m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorMapMethodInfo a signature where
overloadedMethod = actorMap
instance O.OverloadedMethodInfo ActorMapMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorMap",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorMap"
})
#endif
foreign import ccall "clutter_actor_move_anchor_point" clutter_actor_move_anchor_point ::
Ptr Actor ->
CFloat ->
CFloat ->
IO ()
{-# DEPRECATED actorMoveAnchorPoint ["(Since version 1.12)","Use [Actor:pivotPoint](\"GI.Clutter.Objects.Actor#g:attr:pivotPoint\") and","'GI.Clutter.Objects.Actor.actorSetTranslation' instead."] #-}
actorMoveAnchorPoint ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> Float
-> Float
-> m ()
actorMoveAnchorPoint :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> Float -> Float -> m ()
actorMoveAnchorPoint a
self Float
anchorX Float
anchorY = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
let anchorX' :: CFloat
anchorX' = Float -> CFloat
forall a b. (Real a, Fractional b) => a -> b
realToFrac Float
anchorX
let anchorY' :: CFloat
anchorY' = Float -> CFloat
forall a b. (Real a, Fractional b) => a -> b
realToFrac Float
anchorY
Ptr Actor -> CFloat -> CFloat -> IO ()
clutter_actor_move_anchor_point Ptr Actor
self' CFloat
anchorX' CFloat
anchorY'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorMoveAnchorPointMethodInfo
instance (signature ~ (Float -> Float -> m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorMoveAnchorPointMethodInfo a signature where
overloadedMethod = actorMoveAnchorPoint
instance O.OverloadedMethodInfo ActorMoveAnchorPointMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorMoveAnchorPoint",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorMoveAnchorPoint"
})
#endif
foreign import ccall "clutter_actor_move_anchor_point_from_gravity" clutter_actor_move_anchor_point_from_gravity ::
Ptr Actor ->
CUInt ->
IO ()
{-# DEPRECATED actorMoveAnchorPointFromGravity ["(Since version 1.12)","Use [Actor:pivotPoint](\"GI.Clutter.Objects.Actor#g:attr:pivotPoint\") and","'GI.Clutter.Objects.Actor.actorSetTranslation' instead."] #-}
actorMoveAnchorPointFromGravity ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> Clutter.Enums.Gravity
-> m ()
actorMoveAnchorPointFromGravity :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> Gravity -> m ()
actorMoveAnchorPointFromGravity a
self Gravity
gravity = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
let gravity' :: CUInt
gravity' = (Int -> CUInt
forall a b. (Integral a, Num b) => a -> b
fromIntegral (Int -> CUInt) -> (Gravity -> Int) -> Gravity -> CUInt
forall b c a. (b -> c) -> (a -> b) -> a -> c
. Gravity -> Int
forall a. Enum a => a -> Int
fromEnum) Gravity
gravity
Ptr Actor -> CUInt -> IO ()
clutter_actor_move_anchor_point_from_gravity Ptr Actor
self' CUInt
gravity'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorMoveAnchorPointFromGravityMethodInfo
instance (signature ~ (Clutter.Enums.Gravity -> m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorMoveAnchorPointFromGravityMethodInfo a signature where
overloadedMethod = actorMoveAnchorPointFromGravity
instance O.OverloadedMethodInfo ActorMoveAnchorPointFromGravityMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorMoveAnchorPointFromGravity",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorMoveAnchorPointFromGravity"
})
#endif
foreign import ccall "clutter_actor_move_by" clutter_actor_move_by ::
Ptr Actor ->
CFloat ->
CFloat ->
IO ()
actorMoveBy ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> Float
-> Float
-> m ()
actorMoveBy :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> Float -> Float -> m ()
actorMoveBy a
self Float
dx Float
dy = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
let dx' :: CFloat
dx' = Float -> CFloat
forall a b. (Real a, Fractional b) => a -> b
realToFrac Float
dx
let dy' :: CFloat
dy' = Float -> CFloat
forall a b. (Real a, Fractional b) => a -> b
realToFrac Float
dy
Ptr Actor -> CFloat -> CFloat -> IO ()
clutter_actor_move_by Ptr Actor
self' CFloat
dx' CFloat
dy'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorMoveByMethodInfo
instance (signature ~ (Float -> Float -> m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorMoveByMethodInfo a signature where
overloadedMethod = actorMoveBy
instance O.OverloadedMethodInfo ActorMoveByMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorMoveBy",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorMoveBy"
})
#endif
foreign import ccall "clutter_actor_needs_expand" clutter_actor_needs_expand ::
Ptr Actor ->
CUInt ->
IO CInt
actorNeedsExpand ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> Clutter.Enums.Orientation
-> m Bool
actorNeedsExpand :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> Orientation -> m Bool
actorNeedsExpand a
self Orientation
orientation = IO Bool -> m Bool
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
let orientation' :: CUInt
orientation' = (Int -> CUInt
forall a b. (Integral a, Num b) => a -> b
fromIntegral (Int -> CUInt) -> (Orientation -> Int) -> Orientation -> CUInt
forall b c a. (b -> c) -> (a -> b) -> a -> c
. Orientation -> Int
forall a. Enum a => a -> Int
fromEnum) Orientation
orientation
CInt
result <- Ptr Actor -> CUInt -> IO CInt
clutter_actor_needs_expand Ptr Actor
self' CUInt
orientation'
let result' :: Bool
result' = (CInt -> CInt -> Bool
forall a. Eq a => a -> a -> Bool
/= CInt
0) CInt
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Bool -> IO Bool
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Bool
result'
#if defined(ENABLE_OVERLOADING)
data ActorNeedsExpandMethodInfo
instance (signature ~ (Clutter.Enums.Orientation -> m Bool), MonadIO m, IsActor a) => O.OverloadedMethod ActorNeedsExpandMethodInfo a signature where
overloadedMethod = actorNeedsExpand
instance O.OverloadedMethodInfo ActorNeedsExpandMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorNeedsExpand",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorNeedsExpand"
})
#endif
foreign import ccall "clutter_actor_paint" clutter_actor_paint ::
Ptr Actor ->
IO ()
actorPaint ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m ()
actorPaint :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m ()
actorPaint a
self = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Actor -> IO ()
clutter_actor_paint Ptr Actor
self'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorPaintMethodInfo
instance (signature ~ (m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorPaintMethodInfo a signature where
overloadedMethod = actorPaint
instance O.OverloadedMethodInfo ActorPaintMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorPaint",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorPaint"
})
#endif
foreign import ccall "clutter_actor_pop_internal" clutter_actor_pop_internal ::
Ptr Actor ->
IO ()
{-# DEPRECATED actorPopInternal ["(Since version 1.10)","All children of an actor are accessible through"," the t'GI.Clutter.Objects.Actor.Actor' API. This function is only useful for legacy"," containers overriding the default implementation of the"," t'GI.Clutter.Interfaces.Container.Container' interface."] #-}
actorPopInternal ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m ()
actorPopInternal :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m ()
actorPopInternal a
self = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Actor -> IO ()
clutter_actor_pop_internal Ptr Actor
self'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorPopInternalMethodInfo
instance (signature ~ (m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorPopInternalMethodInfo a signature where
overloadedMethod = actorPopInternal
instance O.OverloadedMethodInfo ActorPopInternalMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorPopInternal",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorPopInternal"
})
#endif
foreign import ccall "clutter_actor_push_internal" clutter_actor_push_internal ::
Ptr Actor ->
IO ()
{-# DEPRECATED actorPushInternal ["(Since version 1.10)","All children of an actor are accessible through"," the t'GI.Clutter.Objects.Actor.Actor' API, and t'GI.Clutter.Objects.Actor.Actor' implements the"," t'GI.Clutter.Interfaces.Container.Container' interface, so this function is only useful"," for legacy containers overriding the default implementation."] #-}
actorPushInternal ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m ()
actorPushInternal :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m ()
actorPushInternal a
self = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Actor -> IO ()
clutter_actor_push_internal Ptr Actor
self'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorPushInternalMethodInfo
instance (signature ~ (m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorPushInternalMethodInfo a signature where
overloadedMethod = actorPushInternal
instance O.OverloadedMethodInfo ActorPushInternalMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorPushInternal",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorPushInternal"
})
#endif
foreign import ccall "clutter_actor_queue_redraw" clutter_actor_queue_redraw ::
Ptr Actor ->
IO ()
actorQueueRedraw ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m ()
actorQueueRedraw :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m ()
actorQueueRedraw a
self = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Actor -> IO ()
clutter_actor_queue_redraw Ptr Actor
self'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorQueueRedrawMethodInfo
instance (signature ~ (m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorQueueRedrawMethodInfo a signature where
overloadedMethod = actorQueueRedraw
instance O.OverloadedMethodInfo ActorQueueRedrawMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorQueueRedraw",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorQueueRedraw"
})
#endif
foreign import ccall "clutter_actor_queue_redraw_with_clip" clutter_actor_queue_redraw_with_clip ::
Ptr Actor ->
Ptr Cairo.RectangleInt.RectangleInt ->
IO ()
actorQueueRedrawWithClip ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> Maybe (Cairo.RectangleInt.RectangleInt)
-> m ()
actorQueueRedrawWithClip :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> Maybe RectangleInt -> m ()
actorQueueRedrawWithClip a
self Maybe RectangleInt
clip = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr RectangleInt
maybeClip <- case Maybe RectangleInt
clip of
Maybe RectangleInt
Nothing -> Ptr RectangleInt -> IO (Ptr RectangleInt)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Ptr RectangleInt
forall a. Ptr a
nullPtr
Just RectangleInt
jClip -> do
Ptr RectangleInt
jClip' <- RectangleInt -> IO (Ptr RectangleInt)
forall a. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr a)
unsafeManagedPtrGetPtr RectangleInt
jClip
Ptr RectangleInt -> IO (Ptr RectangleInt)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Ptr RectangleInt
jClip'
Ptr Actor -> Ptr RectangleInt -> IO ()
clutter_actor_queue_redraw_with_clip Ptr Actor
self' Ptr RectangleInt
maybeClip
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Maybe RectangleInt -> (RectangleInt -> IO ()) -> IO ()
forall (m :: * -> *) a. Monad m => Maybe a -> (a -> m ()) -> m ()
whenJust Maybe RectangleInt
clip RectangleInt -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorQueueRedrawWithClipMethodInfo
instance (signature ~ (Maybe (Cairo.RectangleInt.RectangleInt) -> m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorQueueRedrawWithClipMethodInfo a signature where
overloadedMethod = actorQueueRedrawWithClip
instance O.OverloadedMethodInfo ActorQueueRedrawWithClipMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorQueueRedrawWithClip",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorQueueRedrawWithClip"
})
#endif
foreign import ccall "clutter_actor_queue_relayout" clutter_actor_queue_relayout ::
Ptr Actor ->
IO ()
actorQueueRelayout ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m ()
actorQueueRelayout :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m ()
actorQueueRelayout a
self = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Actor -> IO ()
clutter_actor_queue_relayout Ptr Actor
self'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorQueueRelayoutMethodInfo
instance (signature ~ (m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorQueueRelayoutMethodInfo a signature where
overloadedMethod = actorQueueRelayout
instance O.OverloadedMethodInfo ActorQueueRelayoutMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorQueueRelayout",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorQueueRelayout"
})
#endif
foreign import ccall "clutter_actor_raise" clutter_actor_raise ::
Ptr Actor ->
Ptr Actor ->
IO ()
{-# DEPRECATED actorRaise ["(Since version 1.10)","Use 'GI.Clutter.Objects.Actor.actorSetChildAboveSibling' instead."] #-}
actorRaise ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a, IsActor b) =>
a
-> Maybe (b)
-> m ()
actorRaise :: forall (m :: * -> *) a b.
(HasCallStack, MonadIO m, IsActor a, IsActor b) =>
a -> Maybe b -> m ()
actorRaise a
self Maybe b
below = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Actor
maybeBelow <- case Maybe b
below of
Maybe b
Nothing -> Ptr Actor -> IO (Ptr Actor)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Ptr Actor
forall a. Ptr a
nullPtr
Just b
jBelow -> do
Ptr Actor
jBelow' <- b -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr b
jBelow
Ptr Actor -> IO (Ptr Actor)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Ptr Actor
jBelow'
Ptr Actor -> Ptr Actor -> IO ()
clutter_actor_raise Ptr Actor
self' Ptr Actor
maybeBelow
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Maybe b -> (b -> IO ()) -> IO ()
forall (m :: * -> *) a. Monad m => Maybe a -> (a -> m ()) -> m ()
whenJust Maybe b
below b -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorRaiseMethodInfo
instance (signature ~ (Maybe (b) -> m ()), MonadIO m, IsActor a, IsActor b) => O.OverloadedMethod ActorRaiseMethodInfo a signature where
overloadedMethod = actorRaise
instance O.OverloadedMethodInfo ActorRaiseMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorRaise",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorRaise"
})
#endif
foreign import ccall "clutter_actor_raise_top" clutter_actor_raise_top ::
Ptr Actor ->
IO ()
{-# DEPRECATED actorRaiseTop ["(Since version 1.10)","Use 'GI.Clutter.Objects.Actor.actorSetChildAboveSibling' with"," a 'P.Nothing' sibling, instead."] #-}
actorRaiseTop ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m ()
actorRaiseTop :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m ()
actorRaiseTop a
self = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Actor -> IO ()
clutter_actor_raise_top Ptr Actor
self'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorRaiseTopMethodInfo
instance (signature ~ (m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorRaiseTopMethodInfo a signature where
overloadedMethod = actorRaiseTop
instance O.OverloadedMethodInfo ActorRaiseTopMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorRaiseTop",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorRaiseTop"
})
#endif
foreign import ccall "clutter_actor_realize" clutter_actor_realize ::
Ptr Actor ->
IO ()
{-# DEPRECATED actorRealize ["(Since version 1.16)","Actors are automatically realized, and nothing"," requires explicit realization."] #-}
actorRealize ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m ()
actorRealize :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m ()
actorRealize a
self = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Actor -> IO ()
clutter_actor_realize Ptr Actor
self'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorRealizeMethodInfo
instance (signature ~ (m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorRealizeMethodInfo a signature where
overloadedMethod = actorRealize
instance O.OverloadedMethodInfo ActorRealizeMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorRealize",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorRealize"
})
#endif
foreign import ccall "clutter_actor_remove_action" clutter_actor_remove_action ::
Ptr Actor ->
Ptr Clutter.Action.Action ->
IO ()
actorRemoveAction ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a, Clutter.Action.IsAction b) =>
a
-> b
-> m ()
actorRemoveAction :: forall (m :: * -> *) a b.
(HasCallStack, MonadIO m, IsActor a, IsAction b) =>
a -> b -> m ()
actorRemoveAction a
self b
action = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Action
action' <- b -> IO (Ptr Action)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr b
action
Ptr Actor -> Ptr Action -> IO ()
clutter_actor_remove_action Ptr Actor
self' Ptr Action
action'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
b -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr b
action
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorRemoveActionMethodInfo
instance (signature ~ (b -> m ()), MonadIO m, IsActor a, Clutter.Action.IsAction b) => O.OverloadedMethod ActorRemoveActionMethodInfo a signature where
overloadedMethod = actorRemoveAction
instance O.OverloadedMethodInfo ActorRemoveActionMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorRemoveAction",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorRemoveAction"
})
#endif
foreign import ccall "clutter_actor_remove_action_by_name" clutter_actor_remove_action_by_name ::
Ptr Actor ->
CString ->
IO ()
actorRemoveActionByName ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> T.Text
-> m ()
actorRemoveActionByName :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> Text -> m ()
actorRemoveActionByName a
self Text
name = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CString
name' <- Text -> IO CString
textToCString Text
name
Ptr Actor -> CString -> IO ()
clutter_actor_remove_action_by_name Ptr Actor
self' CString
name'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
CString -> IO ()
forall a. Ptr a -> IO ()
freeMem CString
name'
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorRemoveActionByNameMethodInfo
instance (signature ~ (T.Text -> m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorRemoveActionByNameMethodInfo a signature where
overloadedMethod = actorRemoveActionByName
instance O.OverloadedMethodInfo ActorRemoveActionByNameMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorRemoveActionByName",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorRemoveActionByName"
})
#endif
foreign import ccall "clutter_actor_remove_all_children" clutter_actor_remove_all_children ::
Ptr Actor ->
IO ()
actorRemoveAllChildren ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m ()
actorRemoveAllChildren :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m ()
actorRemoveAllChildren a
self = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Actor -> IO ()
clutter_actor_remove_all_children Ptr Actor
self'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorRemoveAllChildrenMethodInfo
instance (signature ~ (m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorRemoveAllChildrenMethodInfo a signature where
overloadedMethod = actorRemoveAllChildren
instance O.OverloadedMethodInfo ActorRemoveAllChildrenMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorRemoveAllChildren",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorRemoveAllChildren"
})
#endif
foreign import ccall "clutter_actor_remove_all_transitions" clutter_actor_remove_all_transitions ::
Ptr Actor ->
IO ()
actorRemoveAllTransitions ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m ()
actorRemoveAllTransitions :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m ()
actorRemoveAllTransitions a
self = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Actor -> IO ()
clutter_actor_remove_all_transitions Ptr Actor
self'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorRemoveAllTransitionsMethodInfo
instance (signature ~ (m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorRemoveAllTransitionsMethodInfo a signature where
overloadedMethod = actorRemoveAllTransitions
instance O.OverloadedMethodInfo ActorRemoveAllTransitionsMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorRemoveAllTransitions",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorRemoveAllTransitions"
})
#endif
foreign import ccall "clutter_actor_remove_child" clutter_actor_remove_child ::
Ptr Actor ->
Ptr Actor ->
IO ()
actorRemoveChild ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a, IsActor b) =>
a
-> b
-> m ()
actorRemoveChild :: forall (m :: * -> *) a b.
(HasCallStack, MonadIO m, IsActor a, IsActor b) =>
a -> b -> m ()
actorRemoveChild a
self b
child = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Actor
child' <- b -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr b
child
Ptr Actor -> Ptr Actor -> IO ()
clutter_actor_remove_child Ptr Actor
self' Ptr Actor
child'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
b -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr b
child
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorRemoveChildMethodInfo
instance (signature ~ (b -> m ()), MonadIO m, IsActor a, IsActor b) => O.OverloadedMethod ActorRemoveChildMethodInfo a signature where
overloadedMethod = actorRemoveChild
instance O.OverloadedMethodInfo ActorRemoveChildMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorRemoveChild",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorRemoveChild"
})
#endif
foreign import ccall "clutter_actor_remove_clip" clutter_actor_remove_clip ::
Ptr Actor ->
IO ()
actorRemoveClip ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m ()
actorRemoveClip :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m ()
actorRemoveClip a
self = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Actor -> IO ()
clutter_actor_remove_clip Ptr Actor
self'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorRemoveClipMethodInfo
instance (signature ~ (m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorRemoveClipMethodInfo a signature where
overloadedMethod = actorRemoveClip
instance O.OverloadedMethodInfo ActorRemoveClipMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorRemoveClip",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorRemoveClip"
})
#endif
foreign import ccall "clutter_actor_remove_constraint" clutter_actor_remove_constraint ::
Ptr Actor ->
Ptr Clutter.Constraint.Constraint ->
IO ()
actorRemoveConstraint ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a, Clutter.Constraint.IsConstraint b) =>
a
-> b
-> m ()
actorRemoveConstraint :: forall (m :: * -> *) a b.
(HasCallStack, MonadIO m, IsActor a, IsConstraint b) =>
a -> b -> m ()
actorRemoveConstraint a
self b
constraint = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Constraint
constraint' <- b -> IO (Ptr Constraint)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr b
constraint
Ptr Actor -> Ptr Constraint -> IO ()
clutter_actor_remove_constraint Ptr Actor
self' Ptr Constraint
constraint'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
b -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr b
constraint
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorRemoveConstraintMethodInfo
instance (signature ~ (b -> m ()), MonadIO m, IsActor a, Clutter.Constraint.IsConstraint b) => O.OverloadedMethod ActorRemoveConstraintMethodInfo a signature where
overloadedMethod = actorRemoveConstraint
instance O.OverloadedMethodInfo ActorRemoveConstraintMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorRemoveConstraint",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorRemoveConstraint"
})
#endif
foreign import ccall "clutter_actor_remove_constraint_by_name" clutter_actor_remove_constraint_by_name ::
Ptr Actor ->
CString ->
IO ()
actorRemoveConstraintByName ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> T.Text
-> m ()
actorRemoveConstraintByName :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> Text -> m ()
actorRemoveConstraintByName a
self Text
name = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CString
name' <- Text -> IO CString
textToCString Text
name
Ptr Actor -> CString -> IO ()
clutter_actor_remove_constraint_by_name Ptr Actor
self' CString
name'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
CString -> IO ()
forall a. Ptr a -> IO ()
freeMem CString
name'
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorRemoveConstraintByNameMethodInfo
instance (signature ~ (T.Text -> m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorRemoveConstraintByNameMethodInfo a signature where
overloadedMethod = actorRemoveConstraintByName
instance O.OverloadedMethodInfo ActorRemoveConstraintByNameMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorRemoveConstraintByName",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorRemoveConstraintByName"
})
#endif
foreign import ccall "clutter_actor_remove_effect" clutter_actor_remove_effect ::
Ptr Actor ->
Ptr Clutter.Effect.Effect ->
IO ()
actorRemoveEffect ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a, Clutter.Effect.IsEffect b) =>
a
-> b
-> m ()
actorRemoveEffect :: forall (m :: * -> *) a b.
(HasCallStack, MonadIO m, IsActor a, IsEffect b) =>
a -> b -> m ()
actorRemoveEffect a
self b
effect = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Effect
effect' <- b -> IO (Ptr Effect)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr b
effect
Ptr Actor -> Ptr Effect -> IO ()
clutter_actor_remove_effect Ptr Actor
self' Ptr Effect
effect'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
b -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr b
effect
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorRemoveEffectMethodInfo
instance (signature ~ (b -> m ()), MonadIO m, IsActor a, Clutter.Effect.IsEffect b) => O.OverloadedMethod ActorRemoveEffectMethodInfo a signature where
overloadedMethod = actorRemoveEffect
instance O.OverloadedMethodInfo ActorRemoveEffectMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorRemoveEffect",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorRemoveEffect"
})
#endif
foreign import ccall "clutter_actor_remove_effect_by_name" clutter_actor_remove_effect_by_name ::
Ptr Actor ->
CString ->
IO ()
actorRemoveEffectByName ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> T.Text
-> m ()
actorRemoveEffectByName :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> Text -> m ()
actorRemoveEffectByName a
self Text
name = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CString
name' <- Text -> IO CString
textToCString Text
name
Ptr Actor -> CString -> IO ()
clutter_actor_remove_effect_by_name Ptr Actor
self' CString
name'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
CString -> IO ()
forall a. Ptr a -> IO ()
freeMem CString
name'
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorRemoveEffectByNameMethodInfo
instance (signature ~ (T.Text -> m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorRemoveEffectByNameMethodInfo a signature where
overloadedMethod = actorRemoveEffectByName
instance O.OverloadedMethodInfo ActorRemoveEffectByNameMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorRemoveEffectByName",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorRemoveEffectByName"
})
#endif
foreign import ccall "clutter_actor_remove_transition" clutter_actor_remove_transition ::
Ptr Actor ->
CString ->
IO ()
actorRemoveTransition ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> T.Text
-> m ()
actorRemoveTransition :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> Text -> m ()
actorRemoveTransition a
self Text
name = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CString
name' <- Text -> IO CString
textToCString Text
name
Ptr Actor -> CString -> IO ()
clutter_actor_remove_transition Ptr Actor
self' CString
name'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
CString -> IO ()
forall a. Ptr a -> IO ()
freeMem CString
name'
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorRemoveTransitionMethodInfo
instance (signature ~ (T.Text -> m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorRemoveTransitionMethodInfo a signature where
overloadedMethod = actorRemoveTransition
instance O.OverloadedMethodInfo ActorRemoveTransitionMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorRemoveTransition",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorRemoveTransition"
})
#endif
foreign import ccall "clutter_actor_reparent" clutter_actor_reparent ::
Ptr Actor ->
Ptr Actor ->
IO ()
{-# DEPRECATED actorReparent ["(Since version 1.10)","Use 'GI.Clutter.Objects.Actor.actorRemoveChild' and"," 'GI.Clutter.Objects.Actor.actorAddChild' instead; remember to take a reference on"," the actor being removed before calling 'GI.Clutter.Objects.Actor.actorRemoveChild'"," to avoid the reference count dropping to zero and the actor being"," destroyed."] #-}
actorReparent ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a, IsActor b) =>
a
-> b
-> m ()
actorReparent :: forall (m :: * -> *) a b.
(HasCallStack, MonadIO m, IsActor a, IsActor b) =>
a -> b -> m ()
actorReparent a
self b
newParent = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Actor
newParent' <- b -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr b
newParent
Ptr Actor -> Ptr Actor -> IO ()
clutter_actor_reparent Ptr Actor
self' Ptr Actor
newParent'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
b -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr b
newParent
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorReparentMethodInfo
instance (signature ~ (b -> m ()), MonadIO m, IsActor a, IsActor b) => O.OverloadedMethod ActorReparentMethodInfo a signature where
overloadedMethod = actorReparent
instance O.OverloadedMethodInfo ActorReparentMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorReparent",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorReparent"
})
#endif
foreign import ccall "clutter_actor_replace_child" clutter_actor_replace_child ::
Ptr Actor ->
Ptr Actor ->
Ptr Actor ->
IO ()
actorReplaceChild ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a, IsActor b, IsActor c) =>
a
-> b
-> c
-> m ()
actorReplaceChild :: forall (m :: * -> *) a b c.
(HasCallStack, MonadIO m, IsActor a, IsActor b, IsActor c) =>
a -> b -> c -> m ()
actorReplaceChild a
self b
oldChild c
newChild = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Actor
oldChild' <- b -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr b
oldChild
Ptr Actor
newChild' <- c -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr c
newChild
Ptr Actor -> Ptr Actor -> Ptr Actor -> IO ()
clutter_actor_replace_child Ptr Actor
self' Ptr Actor
oldChild' Ptr Actor
newChild'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
b -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr b
oldChild
c -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr c
newChild
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorReplaceChildMethodInfo
instance (signature ~ (b -> c -> m ()), MonadIO m, IsActor a, IsActor b, IsActor c) => O.OverloadedMethod ActorReplaceChildMethodInfo a signature where
overloadedMethod = actorReplaceChild
instance O.OverloadedMethodInfo ActorReplaceChildMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorReplaceChild",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorReplaceChild"
})
#endif
foreign import ccall "clutter_actor_restore_easing_state" clutter_actor_restore_easing_state ::
Ptr Actor ->
IO ()
actorRestoreEasingState ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m ()
actorRestoreEasingState :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m ()
actorRestoreEasingState a
self = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Actor -> IO ()
clutter_actor_restore_easing_state Ptr Actor
self'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorRestoreEasingStateMethodInfo
instance (signature ~ (m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorRestoreEasingStateMethodInfo a signature where
overloadedMethod = actorRestoreEasingState
instance O.OverloadedMethodInfo ActorRestoreEasingStateMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorRestoreEasingState",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorRestoreEasingState"
})
#endif
foreign import ccall "clutter_actor_save_easing_state" clutter_actor_save_easing_state ::
Ptr Actor ->
IO ()
actorSaveEasingState ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m ()
actorSaveEasingState :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m ()
actorSaveEasingState a
self = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Actor -> IO ()
clutter_actor_save_easing_state Ptr Actor
self'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorSaveEasingStateMethodInfo
instance (signature ~ (m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorSaveEasingStateMethodInfo a signature where
overloadedMethod = actorSaveEasingState
instance O.OverloadedMethodInfo ActorSaveEasingStateMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorSaveEasingState",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorSaveEasingState"
})
#endif
foreign import ccall "clutter_actor_set_allocation" clutter_actor_set_allocation ::
Ptr Actor ->
Ptr Clutter.ActorBox.ActorBox ->
CUInt ->
IO ()
actorSetAllocation ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> Clutter.ActorBox.ActorBox
-> [Clutter.Flags.AllocationFlags]
-> m ()
actorSetAllocation :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> ActorBox -> [AllocationFlags] -> m ()
actorSetAllocation a
self ActorBox
box [AllocationFlags]
flags = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr ActorBox
box' <- ActorBox -> IO (Ptr ActorBox)
forall a. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr a)
unsafeManagedPtrGetPtr ActorBox
box
let flags' :: CUInt
flags' = [AllocationFlags] -> CUInt
forall b a. (Num b, IsGFlag a) => [a] -> b
gflagsToWord [AllocationFlags]
flags
Ptr Actor -> Ptr ActorBox -> CUInt -> IO ()
clutter_actor_set_allocation Ptr Actor
self' Ptr ActorBox
box' CUInt
flags'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
ActorBox -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr ActorBox
box
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorSetAllocationMethodInfo
instance (signature ~ (Clutter.ActorBox.ActorBox -> [Clutter.Flags.AllocationFlags] -> m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorSetAllocationMethodInfo a signature where
overloadedMethod = actorSetAllocation
instance O.OverloadedMethodInfo ActorSetAllocationMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorSetAllocation",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorSetAllocation"
})
#endif
foreign import ccall "clutter_actor_set_anchor_point" clutter_actor_set_anchor_point ::
Ptr Actor ->
CFloat ->
CFloat ->
IO ()
{-# DEPRECATED actorSetAnchorPoint ["(Since version 1.12)","Use [Actor:pivotPoint](\"GI.Clutter.Objects.Actor#g:attr:pivotPoint\") instead."] #-}
actorSetAnchorPoint ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> Float
-> Float
-> m ()
actorSetAnchorPoint :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> Float -> Float -> m ()
actorSetAnchorPoint a
self Float
anchorX Float
anchorY = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
let anchorX' :: CFloat
anchorX' = Float -> CFloat
forall a b. (Real a, Fractional b) => a -> b
realToFrac Float
anchorX
let anchorY' :: CFloat
anchorY' = Float -> CFloat
forall a b. (Real a, Fractional b) => a -> b
realToFrac Float
anchorY
Ptr Actor -> CFloat -> CFloat -> IO ()
clutter_actor_set_anchor_point Ptr Actor
self' CFloat
anchorX' CFloat
anchorY'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorSetAnchorPointMethodInfo
instance (signature ~ (Float -> Float -> m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorSetAnchorPointMethodInfo a signature where
overloadedMethod = actorSetAnchorPoint
instance O.OverloadedMethodInfo ActorSetAnchorPointMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorSetAnchorPoint",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorSetAnchorPoint"
})
#endif
foreign import ccall "clutter_actor_set_anchor_point_from_gravity" clutter_actor_set_anchor_point_from_gravity ::
Ptr Actor ->
CUInt ->
IO ()
{-# DEPRECATED actorSetAnchorPointFromGravity ["(Since version 1.12)","Use [Actor:pivotPoint](\"GI.Clutter.Objects.Actor#g:attr:pivotPoint\") and","'GI.Clutter.Objects.Actor.actorSetTranslation' instead. E.g. For 'GI.Clutter.Enums.GravityCenter' set","pivot_point to (0.5,0.5) and the translation to (width\\/2,height\\/2)."] #-}
actorSetAnchorPointFromGravity ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> Clutter.Enums.Gravity
-> m ()
actorSetAnchorPointFromGravity :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> Gravity -> m ()
actorSetAnchorPointFromGravity a
self Gravity
gravity = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
let gravity' :: CUInt
gravity' = (Int -> CUInt
forall a b. (Integral a, Num b) => a -> b
fromIntegral (Int -> CUInt) -> (Gravity -> Int) -> Gravity -> CUInt
forall b c a. (b -> c) -> (a -> b) -> a -> c
. Gravity -> Int
forall a. Enum a => a -> Int
fromEnum) Gravity
gravity
Ptr Actor -> CUInt -> IO ()
clutter_actor_set_anchor_point_from_gravity Ptr Actor
self' CUInt
gravity'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorSetAnchorPointFromGravityMethodInfo
instance (signature ~ (Clutter.Enums.Gravity -> m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorSetAnchorPointFromGravityMethodInfo a signature where
overloadedMethod = actorSetAnchorPointFromGravity
instance O.OverloadedMethodInfo ActorSetAnchorPointFromGravityMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorSetAnchorPointFromGravity",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorSetAnchorPointFromGravity"
})
#endif
foreign import ccall "clutter_actor_set_background_color" clutter_actor_set_background_color ::
Ptr Actor ->
Ptr Clutter.Color.Color ->
IO ()
actorSetBackgroundColor ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> Maybe (Clutter.Color.Color)
-> m ()
actorSetBackgroundColor :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> Maybe Color -> m ()
actorSetBackgroundColor a
self Maybe Color
color = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Color
maybeColor <- case Maybe Color
color of
Maybe Color
Nothing -> Ptr Color -> IO (Ptr Color)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Ptr Color
forall a. Ptr a
nullPtr
Just Color
jColor -> do
Ptr Color
jColor' <- Color -> IO (Ptr Color)
forall a. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr a)
unsafeManagedPtrGetPtr Color
jColor
Ptr Color -> IO (Ptr Color)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Ptr Color
jColor'
Ptr Actor -> Ptr Color -> IO ()
clutter_actor_set_background_color Ptr Actor
self' Ptr Color
maybeColor
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Maybe Color -> ActorPickCallback -> IO ()
forall (m :: * -> *) a. Monad m => Maybe a -> (a -> m ()) -> m ()
whenJust Maybe Color
color ActorPickCallback
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorSetBackgroundColorMethodInfo
instance (signature ~ (Maybe (Clutter.Color.Color) -> m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorSetBackgroundColorMethodInfo a signature where
overloadedMethod = actorSetBackgroundColor
instance O.OverloadedMethodInfo ActorSetBackgroundColorMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorSetBackgroundColor",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorSetBackgroundColor"
})
#endif
foreign import ccall "clutter_actor_set_child_above_sibling" clutter_actor_set_child_above_sibling ::
Ptr Actor ->
Ptr Actor ->
Ptr Actor ->
IO ()
actorSetChildAboveSibling ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a, IsActor b, IsActor c) =>
a
-> b
-> Maybe (c)
-> m ()
actorSetChildAboveSibling :: forall (m :: * -> *) a b c.
(HasCallStack, MonadIO m, IsActor a, IsActor b, IsActor c) =>
a -> b -> Maybe c -> m ()
actorSetChildAboveSibling a
self b
child Maybe c
sibling = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Actor
child' <- b -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr b
child
Ptr Actor
maybeSibling <- case Maybe c
sibling of
Maybe c
Nothing -> Ptr Actor -> IO (Ptr Actor)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Ptr Actor
forall a. Ptr a
nullPtr
Just c
jSibling -> do
Ptr Actor
jSibling' <- c -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr c
jSibling
Ptr Actor -> IO (Ptr Actor)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Ptr Actor
jSibling'
Ptr Actor -> Ptr Actor -> Ptr Actor -> IO ()
clutter_actor_set_child_above_sibling Ptr Actor
self' Ptr Actor
child' Ptr Actor
maybeSibling
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
b -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr b
child
Maybe c -> (c -> IO ()) -> IO ()
forall (m :: * -> *) a. Monad m => Maybe a -> (a -> m ()) -> m ()
whenJust Maybe c
sibling c -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorSetChildAboveSiblingMethodInfo
instance (signature ~ (b -> Maybe (c) -> m ()), MonadIO m, IsActor a, IsActor b, IsActor c) => O.OverloadedMethod ActorSetChildAboveSiblingMethodInfo a signature where
overloadedMethod = actorSetChildAboveSibling
instance O.OverloadedMethodInfo ActorSetChildAboveSiblingMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorSetChildAboveSibling",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorSetChildAboveSibling"
})
#endif
foreign import ccall "clutter_actor_set_child_at_index" clutter_actor_set_child_at_index ::
Ptr Actor ->
Ptr Actor ->
Int32 ->
IO ()
actorSetChildAtIndex ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a, IsActor b) =>
a
-> b
-> Int32
-> m ()
actorSetChildAtIndex :: forall (m :: * -> *) a b.
(HasCallStack, MonadIO m, IsActor a, IsActor b) =>
a -> b -> Int32 -> m ()
actorSetChildAtIndex a
self b
child Int32
index_ = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Actor
child' <- b -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr b
child
Ptr Actor -> Ptr Actor -> Int32 -> IO ()
clutter_actor_set_child_at_index Ptr Actor
self' Ptr Actor
child' Int32
index_
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
b -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr b
child
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorSetChildAtIndexMethodInfo
instance (signature ~ (b -> Int32 -> m ()), MonadIO m, IsActor a, IsActor b) => O.OverloadedMethod ActorSetChildAtIndexMethodInfo a signature where
overloadedMethod = actorSetChildAtIndex
instance O.OverloadedMethodInfo ActorSetChildAtIndexMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorSetChildAtIndex",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorSetChildAtIndex"
})
#endif
foreign import ccall "clutter_actor_set_child_below_sibling" clutter_actor_set_child_below_sibling ::
Ptr Actor ->
Ptr Actor ->
Ptr Actor ->
IO ()
actorSetChildBelowSibling ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a, IsActor b, IsActor c) =>
a
-> b
-> Maybe (c)
-> m ()
actorSetChildBelowSibling :: forall (m :: * -> *) a b c.
(HasCallStack, MonadIO m, IsActor a, IsActor b, IsActor c) =>
a -> b -> Maybe c -> m ()
actorSetChildBelowSibling a
self b
child Maybe c
sibling = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Actor
child' <- b -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr b
child
Ptr Actor
maybeSibling <- case Maybe c
sibling of
Maybe c
Nothing -> Ptr Actor -> IO (Ptr Actor)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Ptr Actor
forall a. Ptr a
nullPtr
Just c
jSibling -> do
Ptr Actor
jSibling' <- c -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr c
jSibling
Ptr Actor -> IO (Ptr Actor)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Ptr Actor
jSibling'
Ptr Actor -> Ptr Actor -> Ptr Actor -> IO ()
clutter_actor_set_child_below_sibling Ptr Actor
self' Ptr Actor
child' Ptr Actor
maybeSibling
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
b -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr b
child
Maybe c -> (c -> IO ()) -> IO ()
forall (m :: * -> *) a. Monad m => Maybe a -> (a -> m ()) -> m ()
whenJust Maybe c
sibling c -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorSetChildBelowSiblingMethodInfo
instance (signature ~ (b -> Maybe (c) -> m ()), MonadIO m, IsActor a, IsActor b, IsActor c) => O.OverloadedMethod ActorSetChildBelowSiblingMethodInfo a signature where
overloadedMethod = actorSetChildBelowSibling
instance O.OverloadedMethodInfo ActorSetChildBelowSiblingMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorSetChildBelowSibling",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorSetChildBelowSibling"
})
#endif
foreign import ccall "clutter_actor_set_child_transform" clutter_actor_set_child_transform ::
Ptr Actor ->
Ptr Clutter.Matrix.Matrix ->
IO ()
actorSetChildTransform ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> Maybe (Clutter.Matrix.Matrix)
-> m ()
actorSetChildTransform :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> Maybe Matrix -> m ()
actorSetChildTransform a
self Maybe Matrix
transform = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Matrix
maybeTransform <- case Maybe Matrix
transform of
Maybe Matrix
Nothing -> Ptr Matrix -> IO (Ptr Matrix)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Ptr Matrix
forall a. Ptr a
nullPtr
Just Matrix
jTransform -> do
Ptr Matrix
jTransform' <- Matrix -> IO (Ptr Matrix)
forall a. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr a)
unsafeManagedPtrGetPtr Matrix
jTransform
Ptr Matrix -> IO (Ptr Matrix)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Ptr Matrix
jTransform'
Ptr Actor -> Ptr Matrix -> IO ()
clutter_actor_set_child_transform Ptr Actor
self' Ptr Matrix
maybeTransform
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Maybe Matrix -> (Matrix -> IO ()) -> IO ()
forall (m :: * -> *) a. Monad m => Maybe a -> (a -> m ()) -> m ()
whenJust Maybe Matrix
transform Matrix -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorSetChildTransformMethodInfo
instance (signature ~ (Maybe (Clutter.Matrix.Matrix) -> m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorSetChildTransformMethodInfo a signature where
overloadedMethod = actorSetChildTransform
instance O.OverloadedMethodInfo ActorSetChildTransformMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorSetChildTransform",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorSetChildTransform"
})
#endif
foreign import ccall "clutter_actor_set_clip" clutter_actor_set_clip ::
Ptr Actor ->
CFloat ->
CFloat ->
CFloat ->
CFloat ->
IO ()
actorSetClip ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> Float
-> Float
-> Float
-> Float
-> m ()
actorSetClip :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> Float -> Float -> Float -> Float -> m ()
actorSetClip a
self Float
xoff Float
yoff Float
width Float
height = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
let xoff' :: CFloat
xoff' = Float -> CFloat
forall a b. (Real a, Fractional b) => a -> b
realToFrac Float
xoff
let yoff' :: CFloat
yoff' = Float -> CFloat
forall a b. (Real a, Fractional b) => a -> b
realToFrac Float
yoff
let width' :: CFloat
width' = Float -> CFloat
forall a b. (Real a, Fractional b) => a -> b
realToFrac Float
width
let height' :: CFloat
height' = Float -> CFloat
forall a b. (Real a, Fractional b) => a -> b
realToFrac Float
height
Ptr Actor -> CFloat -> CFloat -> CFloat -> CFloat -> IO ()
clutter_actor_set_clip Ptr Actor
self' CFloat
xoff' CFloat
yoff' CFloat
width' CFloat
height'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorSetClipMethodInfo
instance (signature ~ (Float -> Float -> Float -> Float -> m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorSetClipMethodInfo a signature where
overloadedMethod = actorSetClip
instance O.OverloadedMethodInfo ActorSetClipMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorSetClip",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorSetClip"
})
#endif
foreign import ccall "clutter_actor_set_clip_to_allocation" clutter_actor_set_clip_to_allocation ::
Ptr Actor ->
CInt ->
IO ()
actorSetClipToAllocation ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> Bool
-> m ()
actorSetClipToAllocation :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> Bool -> m ()
actorSetClipToAllocation a
self Bool
clipSet = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
let clipSet' :: CInt
clipSet' = (Int -> CInt
forall a b. (Integral a, Num b) => a -> b
P.fromIntegral (Int -> CInt) -> (Bool -> Int) -> Bool -> CInt
forall b c a. (b -> c) -> (a -> b) -> a -> c
. Bool -> Int
forall a. Enum a => a -> Int
P.fromEnum) Bool
clipSet
Ptr Actor -> CInt -> IO ()
clutter_actor_set_clip_to_allocation Ptr Actor
self' CInt
clipSet'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorSetClipToAllocationMethodInfo
instance (signature ~ (Bool -> m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorSetClipToAllocationMethodInfo a signature where
overloadedMethod = actorSetClipToAllocation
instance O.OverloadedMethodInfo ActorSetClipToAllocationMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorSetClipToAllocation",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorSetClipToAllocation"
})
#endif
foreign import ccall "clutter_actor_set_content" clutter_actor_set_content ::
Ptr Actor ->
Ptr Clutter.Content.Content ->
IO ()
actorSetContent ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a, Clutter.Content.IsContent b) =>
a
-> Maybe (b)
-> m ()
actorSetContent :: forall (m :: * -> *) a b.
(HasCallStack, MonadIO m, IsActor a, IsContent b) =>
a -> Maybe b -> m ()
actorSetContent a
self Maybe b
content = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Content
maybeContent <- case Maybe b
content of
Maybe b
Nothing -> Ptr Content -> IO (Ptr Content)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Ptr Content
forall a. Ptr a
nullPtr
Just b
jContent -> do
Ptr Content
jContent' <- b -> IO (Ptr Content)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr b
jContent
Ptr Content -> IO (Ptr Content)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Ptr Content
jContent'
Ptr Actor -> Ptr Content -> IO ()
clutter_actor_set_content Ptr Actor
self' Ptr Content
maybeContent
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Maybe b -> (b -> IO ()) -> IO ()
forall (m :: * -> *) a. Monad m => Maybe a -> (a -> m ()) -> m ()
whenJust Maybe b
content b -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorSetContentMethodInfo
instance (signature ~ (Maybe (b) -> m ()), MonadIO m, IsActor a, Clutter.Content.IsContent b) => O.OverloadedMethod ActorSetContentMethodInfo a signature where
overloadedMethod = actorSetContent
instance O.OverloadedMethodInfo ActorSetContentMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorSetContent",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorSetContent"
})
#endif
foreign import ccall "clutter_actor_set_content_gravity" clutter_actor_set_content_gravity ::
Ptr Actor ->
CUInt ->
IO ()
actorSetContentGravity ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> Clutter.Enums.ContentGravity
-> m ()
actorSetContentGravity :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> ContentGravity -> m ()
actorSetContentGravity a
self ContentGravity
gravity = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
let gravity' :: CUInt
gravity' = (Int -> CUInt
forall a b. (Integral a, Num b) => a -> b
fromIntegral (Int -> CUInt)
-> (ContentGravity -> Int) -> ContentGravity -> CUInt
forall b c a. (b -> c) -> (a -> b) -> a -> c
. ContentGravity -> Int
forall a. Enum a => a -> Int
fromEnum) ContentGravity
gravity
Ptr Actor -> CUInt -> IO ()
clutter_actor_set_content_gravity Ptr Actor
self' CUInt
gravity'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorSetContentGravityMethodInfo
instance (signature ~ (Clutter.Enums.ContentGravity -> m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorSetContentGravityMethodInfo a signature where
overloadedMethod = actorSetContentGravity
instance O.OverloadedMethodInfo ActorSetContentGravityMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorSetContentGravity",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorSetContentGravity"
})
#endif
foreign import ccall "clutter_actor_set_content_repeat" clutter_actor_set_content_repeat ::
Ptr Actor ->
CUInt ->
IO ()
actorSetContentRepeat ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> [Clutter.Flags.ContentRepeat]
-> m ()
actorSetContentRepeat :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> [ContentRepeat] -> m ()
actorSetContentRepeat a
self [ContentRepeat]
repeat = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
let repeat' :: CUInt
repeat' = [ContentRepeat] -> CUInt
forall b a. (Num b, IsGFlag a) => [a] -> b
gflagsToWord [ContentRepeat]
repeat
Ptr Actor -> CUInt -> IO ()
clutter_actor_set_content_repeat Ptr Actor
self' CUInt
repeat'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorSetContentRepeatMethodInfo
instance (signature ~ ([Clutter.Flags.ContentRepeat] -> m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorSetContentRepeatMethodInfo a signature where
overloadedMethod = actorSetContentRepeat
instance O.OverloadedMethodInfo ActorSetContentRepeatMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorSetContentRepeat",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorSetContentRepeat"
})
#endif
foreign import ccall "clutter_actor_set_content_scaling_filters" clutter_actor_set_content_scaling_filters ::
Ptr Actor ->
CUInt ->
CUInt ->
IO ()
actorSetContentScalingFilters ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> Clutter.Enums.ScalingFilter
-> Clutter.Enums.ScalingFilter
-> m ()
actorSetContentScalingFilters :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> ScalingFilter -> ScalingFilter -> m ()
actorSetContentScalingFilters a
self ScalingFilter
minFilter ScalingFilter
magFilter = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
let minFilter' :: CUInt
minFilter' = (Int -> CUInt
forall a b. (Integral a, Num b) => a -> b
fromIntegral (Int -> CUInt) -> (ScalingFilter -> Int) -> ScalingFilter -> CUInt
forall b c a. (b -> c) -> (a -> b) -> a -> c
. ScalingFilter -> Int
forall a. Enum a => a -> Int
fromEnum) ScalingFilter
minFilter
let magFilter' :: CUInt
magFilter' = (Int -> CUInt
forall a b. (Integral a, Num b) => a -> b
fromIntegral (Int -> CUInt) -> (ScalingFilter -> Int) -> ScalingFilter -> CUInt
forall b c a. (b -> c) -> (a -> b) -> a -> c
. ScalingFilter -> Int
forall a. Enum a => a -> Int
fromEnum) ScalingFilter
magFilter
Ptr Actor -> CUInt -> CUInt -> IO ()
clutter_actor_set_content_scaling_filters Ptr Actor
self' CUInt
minFilter' CUInt
magFilter'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorSetContentScalingFiltersMethodInfo
instance (signature ~ (Clutter.Enums.ScalingFilter -> Clutter.Enums.ScalingFilter -> m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorSetContentScalingFiltersMethodInfo a signature where
overloadedMethod = actorSetContentScalingFilters
instance O.OverloadedMethodInfo ActorSetContentScalingFiltersMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorSetContentScalingFilters",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorSetContentScalingFilters"
})
#endif
foreign import ccall "clutter_actor_set_depth" clutter_actor_set_depth ::
Ptr Actor ->
CFloat ->
IO ()
{-# DEPRECATED actorSetDepth ["(Since version 1.12)","Use 'GI.Clutter.Objects.Actor.actorSetZPosition' instead."] #-}
actorSetDepth ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> Float
-> m ()
actorSetDepth :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> Float -> m ()
actorSetDepth a
self Float
depth = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
let depth' :: CFloat
depth' = Float -> CFloat
forall a b. (Real a, Fractional b) => a -> b
realToFrac Float
depth
Ptr Actor -> CFloat -> IO ()
clutter_actor_set_depth Ptr Actor
self' CFloat
depth'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorSetDepthMethodInfo
instance (signature ~ (Float -> m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorSetDepthMethodInfo a signature where
overloadedMethod = actorSetDepth
instance O.OverloadedMethodInfo ActorSetDepthMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorSetDepth",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorSetDepth"
})
#endif
foreign import ccall "clutter_actor_set_easing_delay" clutter_actor_set_easing_delay ::
Ptr Actor ->
Word32 ->
IO ()
actorSetEasingDelay ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> Word32
-> m ()
actorSetEasingDelay :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> Word32 -> m ()
actorSetEasingDelay a
self Word32
msecs = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Actor -> Word32 -> IO ()
clutter_actor_set_easing_delay Ptr Actor
self' Word32
msecs
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorSetEasingDelayMethodInfo
instance (signature ~ (Word32 -> m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorSetEasingDelayMethodInfo a signature where
overloadedMethod = actorSetEasingDelay
instance O.OverloadedMethodInfo ActorSetEasingDelayMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorSetEasingDelay",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorSetEasingDelay"
})
#endif
foreign import ccall "clutter_actor_set_easing_duration" clutter_actor_set_easing_duration ::
Ptr Actor ->
Word32 ->
IO ()
actorSetEasingDuration ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> Word32
-> m ()
actorSetEasingDuration :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> Word32 -> m ()
actorSetEasingDuration a
self Word32
msecs = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Actor -> Word32 -> IO ()
clutter_actor_set_easing_duration Ptr Actor
self' Word32
msecs
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorSetEasingDurationMethodInfo
instance (signature ~ (Word32 -> m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorSetEasingDurationMethodInfo a signature where
overloadedMethod = actorSetEasingDuration
instance O.OverloadedMethodInfo ActorSetEasingDurationMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorSetEasingDuration",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorSetEasingDuration"
})
#endif
foreign import ccall "clutter_actor_set_easing_mode" clutter_actor_set_easing_mode ::
Ptr Actor ->
CUInt ->
IO ()
actorSetEasingMode ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> Clutter.Enums.AnimationMode
-> m ()
actorSetEasingMode :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> AnimationMode -> m ()
actorSetEasingMode a
self AnimationMode
mode = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
let mode' :: CUInt
mode' = (Int -> CUInt
forall a b. (Integral a, Num b) => a -> b
fromIntegral (Int -> CUInt) -> (AnimationMode -> Int) -> AnimationMode -> CUInt
forall b c a. (b -> c) -> (a -> b) -> a -> c
. AnimationMode -> Int
forall a. Enum a => a -> Int
fromEnum) AnimationMode
mode
Ptr Actor -> CUInt -> IO ()
clutter_actor_set_easing_mode Ptr Actor
self' CUInt
mode'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorSetEasingModeMethodInfo
instance (signature ~ (Clutter.Enums.AnimationMode -> m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorSetEasingModeMethodInfo a signature where
overloadedMethod = actorSetEasingMode
instance O.OverloadedMethodInfo ActorSetEasingModeMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorSetEasingMode",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorSetEasingMode"
})
#endif
foreign import ccall "clutter_actor_set_fixed_position_set" clutter_actor_set_fixed_position_set ::
Ptr Actor ->
CInt ->
IO ()
actorSetFixedPositionSet ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> Bool
-> m ()
actorSetFixedPositionSet :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> Bool -> m ()
actorSetFixedPositionSet a
self Bool
isSet = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
let isSet' :: CInt
isSet' = (Int -> CInt
forall a b. (Integral a, Num b) => a -> b
P.fromIntegral (Int -> CInt) -> (Bool -> Int) -> Bool -> CInt
forall b c a. (b -> c) -> (a -> b) -> a -> c
. Bool -> Int
forall a. Enum a => a -> Int
P.fromEnum) Bool
isSet
Ptr Actor -> CInt -> IO ()
clutter_actor_set_fixed_position_set Ptr Actor
self' CInt
isSet'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorSetFixedPositionSetMethodInfo
instance (signature ~ (Bool -> m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorSetFixedPositionSetMethodInfo a signature where
overloadedMethod = actorSetFixedPositionSet
instance O.OverloadedMethodInfo ActorSetFixedPositionSetMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorSetFixedPositionSet",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorSetFixedPositionSet"
})
#endif
foreign import ccall "clutter_actor_set_flags" clutter_actor_set_flags ::
Ptr Actor ->
CUInt ->
IO ()
actorSetFlags ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> [Clutter.Flags.ActorFlags]
-> m ()
actorSetFlags :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> [ActorFlags] -> m ()
actorSetFlags a
self [ActorFlags]
flags = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
let flags' :: CUInt
flags' = [ActorFlags] -> CUInt
forall b a. (Num b, IsGFlag a) => [a] -> b
gflagsToWord [ActorFlags]
flags
Ptr Actor -> CUInt -> IO ()
clutter_actor_set_flags Ptr Actor
self' CUInt
flags'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorSetFlagsMethodInfo
instance (signature ~ ([Clutter.Flags.ActorFlags] -> m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorSetFlagsMethodInfo a signature where
overloadedMethod = actorSetFlags
instance O.OverloadedMethodInfo ActorSetFlagsMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorSetFlags",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorSetFlags"
})
#endif
foreign import ccall "clutter_actor_set_geometry" clutter_actor_set_geometry ::
Ptr Actor ->
Ptr Clutter.Geometry.Geometry ->
IO ()
{-# DEPRECATED actorSetGeometry ["(Since version 1.10)","Use 'GI.Clutter.Objects.Actor.actorSetPosition' and"," 'GI.Clutter.Objects.Actor.actorSetSize' instead."] #-}
actorSetGeometry ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> Clutter.Geometry.Geometry
-> m ()
actorSetGeometry :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> Geometry -> m ()
actorSetGeometry a
self Geometry
geometry = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Geometry
geometry' <- Geometry -> IO (Ptr Geometry)
forall a. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr a)
unsafeManagedPtrGetPtr Geometry
geometry
Ptr Actor -> Ptr Geometry -> IO ()
clutter_actor_set_geometry Ptr Actor
self' Ptr Geometry
geometry'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Geometry -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr Geometry
geometry
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorSetGeometryMethodInfo
instance (signature ~ (Clutter.Geometry.Geometry -> m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorSetGeometryMethodInfo a signature where
overloadedMethod = actorSetGeometry
instance O.OverloadedMethodInfo ActorSetGeometryMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorSetGeometry",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorSetGeometry"
})
#endif
foreign import ccall "clutter_actor_set_height" clutter_actor_set_height ::
Ptr Actor ->
CFloat ->
IO ()
actorSetHeight ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> Float
-> m ()
actorSetHeight :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> Float -> m ()
actorSetHeight a
self Float
height = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
let height' :: CFloat
height' = Float -> CFloat
forall a b. (Real a, Fractional b) => a -> b
realToFrac Float
height
Ptr Actor -> CFloat -> IO ()
clutter_actor_set_height Ptr Actor
self' CFloat
height'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorSetHeightMethodInfo
instance (signature ~ (Float -> m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorSetHeightMethodInfo a signature where
overloadedMethod = actorSetHeight
instance O.OverloadedMethodInfo ActorSetHeightMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorSetHeight",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorSetHeight"
})
#endif
foreign import ccall "clutter_actor_set_layout_manager" clutter_actor_set_layout_manager ::
Ptr Actor ->
Ptr Clutter.LayoutManager.LayoutManager ->
IO ()
actorSetLayoutManager ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a, Clutter.LayoutManager.IsLayoutManager b) =>
a
-> Maybe (b)
-> m ()
actorSetLayoutManager :: forall (m :: * -> *) a b.
(HasCallStack, MonadIO m, IsActor a, IsLayoutManager b) =>
a -> Maybe b -> m ()
actorSetLayoutManager a
self Maybe b
manager = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr LayoutManager
maybeManager <- case Maybe b
manager of
Maybe b
Nothing -> Ptr LayoutManager -> IO (Ptr LayoutManager)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Ptr LayoutManager
forall a. Ptr a
nullPtr
Just b
jManager -> do
Ptr LayoutManager
jManager' <- b -> IO (Ptr LayoutManager)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr b
jManager
Ptr LayoutManager -> IO (Ptr LayoutManager)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Ptr LayoutManager
jManager'
Ptr Actor -> Ptr LayoutManager -> IO ()
clutter_actor_set_layout_manager Ptr Actor
self' Ptr LayoutManager
maybeManager
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Maybe b -> (b -> IO ()) -> IO ()
forall (m :: * -> *) a. Monad m => Maybe a -> (a -> m ()) -> m ()
whenJust Maybe b
manager b -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorSetLayoutManagerMethodInfo
instance (signature ~ (Maybe (b) -> m ()), MonadIO m, IsActor a, Clutter.LayoutManager.IsLayoutManager b) => O.OverloadedMethod ActorSetLayoutManagerMethodInfo a signature where
overloadedMethod = actorSetLayoutManager
instance O.OverloadedMethodInfo ActorSetLayoutManagerMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorSetLayoutManager",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorSetLayoutManager"
})
#endif
foreign import ccall "clutter_actor_set_margin" clutter_actor_set_margin ::
Ptr Actor ->
Ptr Clutter.Margin.Margin ->
IO ()
actorSetMargin ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> Clutter.Margin.Margin
-> m ()
actorSetMargin :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> Margin -> m ()
actorSetMargin a
self Margin
margin = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Margin
margin' <- Margin -> IO (Ptr Margin)
forall a. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr a)
unsafeManagedPtrGetPtr Margin
margin
Ptr Actor -> Ptr Margin -> IO ()
clutter_actor_set_margin Ptr Actor
self' Ptr Margin
margin'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Margin -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr Margin
margin
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorSetMarginMethodInfo
instance (signature ~ (Clutter.Margin.Margin -> m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorSetMarginMethodInfo a signature where
overloadedMethod = actorSetMargin
instance O.OverloadedMethodInfo ActorSetMarginMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorSetMargin",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorSetMargin"
})
#endif
foreign import ccall "clutter_actor_set_margin_bottom" clutter_actor_set_margin_bottom ::
Ptr Actor ->
CFloat ->
IO ()
actorSetMarginBottom ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> Float
-> m ()
actorSetMarginBottom :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> Float -> m ()
actorSetMarginBottom a
self Float
margin = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
let margin' :: CFloat
margin' = Float -> CFloat
forall a b. (Real a, Fractional b) => a -> b
realToFrac Float
margin
Ptr Actor -> CFloat -> IO ()
clutter_actor_set_margin_bottom Ptr Actor
self' CFloat
margin'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorSetMarginBottomMethodInfo
instance (signature ~ (Float -> m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorSetMarginBottomMethodInfo a signature where
overloadedMethod = actorSetMarginBottom
instance O.OverloadedMethodInfo ActorSetMarginBottomMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorSetMarginBottom",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorSetMarginBottom"
})
#endif
foreign import ccall "clutter_actor_set_margin_left" clutter_actor_set_margin_left ::
Ptr Actor ->
CFloat ->
IO ()
actorSetMarginLeft ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> Float
-> m ()
actorSetMarginLeft :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> Float -> m ()
actorSetMarginLeft a
self Float
margin = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
let margin' :: CFloat
margin' = Float -> CFloat
forall a b. (Real a, Fractional b) => a -> b
realToFrac Float
margin
Ptr Actor -> CFloat -> IO ()
clutter_actor_set_margin_left Ptr Actor
self' CFloat
margin'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorSetMarginLeftMethodInfo
instance (signature ~ (Float -> m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorSetMarginLeftMethodInfo a signature where
overloadedMethod = actorSetMarginLeft
instance O.OverloadedMethodInfo ActorSetMarginLeftMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorSetMarginLeft",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorSetMarginLeft"
})
#endif
foreign import ccall "clutter_actor_set_margin_right" clutter_actor_set_margin_right ::
Ptr Actor ->
CFloat ->
IO ()
actorSetMarginRight ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> Float
-> m ()
actorSetMarginRight :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> Float -> m ()
actorSetMarginRight a
self Float
margin = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
let margin' :: CFloat
margin' = Float -> CFloat
forall a b. (Real a, Fractional b) => a -> b
realToFrac Float
margin
Ptr Actor -> CFloat -> IO ()
clutter_actor_set_margin_right Ptr Actor
self' CFloat
margin'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorSetMarginRightMethodInfo
instance (signature ~ (Float -> m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorSetMarginRightMethodInfo a signature where
overloadedMethod = actorSetMarginRight
instance O.OverloadedMethodInfo ActorSetMarginRightMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorSetMarginRight",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorSetMarginRight"
})
#endif
foreign import ccall "clutter_actor_set_margin_top" clutter_actor_set_margin_top ::
Ptr Actor ->
CFloat ->
IO ()
actorSetMarginTop ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> Float
-> m ()
actorSetMarginTop :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> Float -> m ()
actorSetMarginTop a
self Float
margin = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
let margin' :: CFloat
margin' = Float -> CFloat
forall a b. (Real a, Fractional b) => a -> b
realToFrac Float
margin
Ptr Actor -> CFloat -> IO ()
clutter_actor_set_margin_top Ptr Actor
self' CFloat
margin'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorSetMarginTopMethodInfo
instance (signature ~ (Float -> m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorSetMarginTopMethodInfo a signature where
overloadedMethod = actorSetMarginTop
instance O.OverloadedMethodInfo ActorSetMarginTopMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorSetMarginTop",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorSetMarginTop"
})
#endif
foreign import ccall "clutter_actor_set_name" clutter_actor_set_name ::
Ptr Actor ->
CString ->
IO ()
actorSetName ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> T.Text
-> m ()
actorSetName :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> Text -> m ()
actorSetName a
self Text
name = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CString
name' <- Text -> IO CString
textToCString Text
name
Ptr Actor -> CString -> IO ()
clutter_actor_set_name Ptr Actor
self' CString
name'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
CString -> IO ()
forall a. Ptr a -> IO ()
freeMem CString
name'
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorSetNameMethodInfo
instance (signature ~ (T.Text -> m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorSetNameMethodInfo a signature where
overloadedMethod = actorSetName
instance O.OverloadedMethodInfo ActorSetNameMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorSetName",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorSetName"
})
#endif
foreign import ccall "clutter_actor_set_offscreen_redirect" clutter_actor_set_offscreen_redirect ::
Ptr Actor ->
CUInt ->
IO ()
actorSetOffscreenRedirect ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> [Clutter.Flags.OffscreenRedirect]
-> m ()
actorSetOffscreenRedirect :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> [OffscreenRedirect] -> m ()
actorSetOffscreenRedirect a
self [OffscreenRedirect]
redirect = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
let redirect' :: CUInt
redirect' = [OffscreenRedirect] -> CUInt
forall b a. (Num b, IsGFlag a) => [a] -> b
gflagsToWord [OffscreenRedirect]
redirect
Ptr Actor -> CUInt -> IO ()
clutter_actor_set_offscreen_redirect Ptr Actor
self' CUInt
redirect'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorSetOffscreenRedirectMethodInfo
instance (signature ~ ([Clutter.Flags.OffscreenRedirect] -> m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorSetOffscreenRedirectMethodInfo a signature where
overloadedMethod = actorSetOffscreenRedirect
instance O.OverloadedMethodInfo ActorSetOffscreenRedirectMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorSetOffscreenRedirect",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorSetOffscreenRedirect"
})
#endif
foreign import ccall "clutter_actor_set_opacity" clutter_actor_set_opacity ::
Ptr Actor ->
Word8 ->
IO ()
actorSetOpacity ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> Word8
-> m ()
actorSetOpacity :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> Word8 -> m ()
actorSetOpacity a
self Word8
opacity = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Actor -> Word8 -> IO ()
clutter_actor_set_opacity Ptr Actor
self' Word8
opacity
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorSetOpacityMethodInfo
instance (signature ~ (Word8 -> m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorSetOpacityMethodInfo a signature where
overloadedMethod = actorSetOpacity
instance O.OverloadedMethodInfo ActorSetOpacityMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorSetOpacity",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorSetOpacity"
})
#endif
foreign import ccall "clutter_actor_set_parent" clutter_actor_set_parent ::
Ptr Actor ->
Ptr Actor ->
IO ()
{-# DEPRECATED actorSetParent ["(Since version 1.10)","Use 'GI.Clutter.Objects.Actor.actorAddChild' instead."] #-}
actorSetParent ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a, IsActor b) =>
a
-> b
-> m ()
actorSetParent :: forall (m :: * -> *) a b.
(HasCallStack, MonadIO m, IsActor a, IsActor b) =>
a -> b -> m ()
actorSetParent a
self b
parent = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Actor
parent' <- b -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr b
parent
Ptr Actor -> Ptr Actor -> IO ()
clutter_actor_set_parent Ptr Actor
self' Ptr Actor
parent'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
b -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr b
parent
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorSetParentMethodInfo
instance (signature ~ (b -> m ()), MonadIO m, IsActor a, IsActor b) => O.OverloadedMethod ActorSetParentMethodInfo a signature where
overloadedMethod = actorSetParent
instance O.OverloadedMethodInfo ActorSetParentMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorSetParent",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorSetParent"
})
#endif
foreign import ccall "clutter_actor_set_pivot_point" clutter_actor_set_pivot_point ::
Ptr Actor ->
CFloat ->
CFloat ->
IO ()
actorSetPivotPoint ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> Float
-> Float
-> m ()
actorSetPivotPoint :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> Float -> Float -> m ()
actorSetPivotPoint a
self Float
pivotX Float
pivotY = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
let pivotX' :: CFloat
pivotX' = Float -> CFloat
forall a b. (Real a, Fractional b) => a -> b
realToFrac Float
pivotX
let pivotY' :: CFloat
pivotY' = Float -> CFloat
forall a b. (Real a, Fractional b) => a -> b
realToFrac Float
pivotY
Ptr Actor -> CFloat -> CFloat -> IO ()
clutter_actor_set_pivot_point Ptr Actor
self' CFloat
pivotX' CFloat
pivotY'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorSetPivotPointMethodInfo
instance (signature ~ (Float -> Float -> m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorSetPivotPointMethodInfo a signature where
overloadedMethod = actorSetPivotPoint
instance O.OverloadedMethodInfo ActorSetPivotPointMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorSetPivotPoint",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorSetPivotPoint"
})
#endif
foreign import ccall "clutter_actor_set_pivot_point_z" clutter_actor_set_pivot_point_z ::
Ptr Actor ->
CFloat ->
IO ()
actorSetPivotPointZ ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> Float
-> m ()
actorSetPivotPointZ :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> Float -> m ()
actorSetPivotPointZ a
self Float
pivotZ = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
let pivotZ' :: CFloat
pivotZ' = Float -> CFloat
forall a b. (Real a, Fractional b) => a -> b
realToFrac Float
pivotZ
Ptr Actor -> CFloat -> IO ()
clutter_actor_set_pivot_point_z Ptr Actor
self' CFloat
pivotZ'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorSetPivotPointZMethodInfo
instance (signature ~ (Float -> m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorSetPivotPointZMethodInfo a signature where
overloadedMethod = actorSetPivotPointZ
instance O.OverloadedMethodInfo ActorSetPivotPointZMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorSetPivotPointZ",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorSetPivotPointZ"
})
#endif
foreign import ccall "clutter_actor_set_position" clutter_actor_set_position ::
Ptr Actor ->
CFloat ->
CFloat ->
IO ()
actorSetPosition ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> Float
-> Float
-> m ()
actorSetPosition :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> Float -> Float -> m ()
actorSetPosition a
self Float
x Float
y = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
let x' :: CFloat
x' = Float -> CFloat
forall a b. (Real a, Fractional b) => a -> b
realToFrac Float
x
let y' :: CFloat
y' = Float -> CFloat
forall a b. (Real a, Fractional b) => a -> b
realToFrac Float
y
Ptr Actor -> CFloat -> CFloat -> IO ()
clutter_actor_set_position Ptr Actor
self' CFloat
x' CFloat
y'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorSetPositionMethodInfo
instance (signature ~ (Float -> Float -> m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorSetPositionMethodInfo a signature where
overloadedMethod = actorSetPosition
instance O.OverloadedMethodInfo ActorSetPositionMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorSetPosition",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorSetPosition"
})
#endif
foreign import ccall "clutter_actor_set_reactive" clutter_actor_set_reactive ::
Ptr Actor ->
CInt ->
IO ()
actorSetReactive ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> Bool
-> m ()
actorSetReactive :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> Bool -> m ()
actorSetReactive a
actor Bool
reactive = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
actor' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
actor
let reactive' :: CInt
reactive' = (Int -> CInt
forall a b. (Integral a, Num b) => a -> b
P.fromIntegral (Int -> CInt) -> (Bool -> Int) -> Bool -> CInt
forall b c a. (b -> c) -> (a -> b) -> a -> c
. Bool -> Int
forall a. Enum a => a -> Int
P.fromEnum) Bool
reactive
Ptr Actor -> CInt -> IO ()
clutter_actor_set_reactive Ptr Actor
actor' CInt
reactive'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
actor
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorSetReactiveMethodInfo
instance (signature ~ (Bool -> m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorSetReactiveMethodInfo a signature where
overloadedMethod = actorSetReactive
instance O.OverloadedMethodInfo ActorSetReactiveMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorSetReactive",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorSetReactive"
})
#endif
foreign import ccall "clutter_actor_set_request_mode" clutter_actor_set_request_mode ::
Ptr Actor ->
CUInt ->
IO ()
actorSetRequestMode ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> Clutter.Enums.RequestMode
-> m ()
actorSetRequestMode :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> RequestMode -> m ()
actorSetRequestMode a
self RequestMode
mode = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
let mode' :: CUInt
mode' = (Int -> CUInt
forall a b. (Integral a, Num b) => a -> b
fromIntegral (Int -> CUInt) -> (RequestMode -> Int) -> RequestMode -> CUInt
forall b c a. (b -> c) -> (a -> b) -> a -> c
. RequestMode -> Int
forall a. Enum a => a -> Int
fromEnum) RequestMode
mode
Ptr Actor -> CUInt -> IO ()
clutter_actor_set_request_mode Ptr Actor
self' CUInt
mode'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorSetRequestModeMethodInfo
instance (signature ~ (Clutter.Enums.RequestMode -> m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorSetRequestModeMethodInfo a signature where
overloadedMethod = actorSetRequestMode
instance O.OverloadedMethodInfo ActorSetRequestModeMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorSetRequestMode",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorSetRequestMode"
})
#endif
foreign import ccall "clutter_actor_set_rotation" clutter_actor_set_rotation ::
Ptr Actor ->
CUInt ->
CDouble ->
CFloat ->
CFloat ->
CFloat ->
IO ()
{-# DEPRECATED actorSetRotation ["(Since version 1.12)","Use 'GI.Clutter.Objects.Actor.actorSetRotationAngle' and"," 'GI.Clutter.Objects.Actor.actorSetPivotPoint' instead."] #-}
actorSetRotation ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> Clutter.Enums.RotateAxis
-> Double
-> Float
-> Float
-> Float
-> m ()
actorSetRotation :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> RotateAxis -> Double -> Float -> Float -> Float -> m ()
actorSetRotation a
self RotateAxis
axis Double
angle Float
x Float
y Float
z = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
let axis' :: CUInt
axis' = (Int -> CUInt
forall a b. (Integral a, Num b) => a -> b
fromIntegral (Int -> CUInt) -> (RotateAxis -> Int) -> RotateAxis -> CUInt
forall b c a. (b -> c) -> (a -> b) -> a -> c
. RotateAxis -> Int
forall a. Enum a => a -> Int
fromEnum) RotateAxis
axis
let angle' :: CDouble
angle' = Double -> CDouble
forall a b. (Real a, Fractional b) => a -> b
realToFrac Double
angle
let x' :: CFloat
x' = Float -> CFloat
forall a b. (Real a, Fractional b) => a -> b
realToFrac Float
x
let y' :: CFloat
y' = Float -> CFloat
forall a b. (Real a, Fractional b) => a -> b
realToFrac Float
y
let z' :: CFloat
z' = Float -> CFloat
forall a b. (Real a, Fractional b) => a -> b
realToFrac Float
z
Ptr Actor
-> CUInt -> CDouble -> CFloat -> CFloat -> CFloat -> IO ()
clutter_actor_set_rotation Ptr Actor
self' CUInt
axis' CDouble
angle' CFloat
x' CFloat
y' CFloat
z'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorSetRotationMethodInfo
instance (signature ~ (Clutter.Enums.RotateAxis -> Double -> Float -> Float -> Float -> m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorSetRotationMethodInfo a signature where
overloadedMethod = actorSetRotation
instance O.OverloadedMethodInfo ActorSetRotationMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorSetRotation",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorSetRotation"
})
#endif
foreign import ccall "clutter_actor_set_rotation_angle" clutter_actor_set_rotation_angle ::
Ptr Actor ->
CUInt ->
CDouble ->
IO ()
actorSetRotationAngle ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> Clutter.Enums.RotateAxis
-> Double
-> m ()
actorSetRotationAngle :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> RotateAxis -> Double -> m ()
actorSetRotationAngle a
self RotateAxis
axis Double
angle = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
let axis' :: CUInt
axis' = (Int -> CUInt
forall a b. (Integral a, Num b) => a -> b
fromIntegral (Int -> CUInt) -> (RotateAxis -> Int) -> RotateAxis -> CUInt
forall b c a. (b -> c) -> (a -> b) -> a -> c
. RotateAxis -> Int
forall a. Enum a => a -> Int
fromEnum) RotateAxis
axis
let angle' :: CDouble
angle' = Double -> CDouble
forall a b. (Real a, Fractional b) => a -> b
realToFrac Double
angle
Ptr Actor -> CUInt -> CDouble -> IO ()
clutter_actor_set_rotation_angle Ptr Actor
self' CUInt
axis' CDouble
angle'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorSetRotationAngleMethodInfo
instance (signature ~ (Clutter.Enums.RotateAxis -> Double -> m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorSetRotationAngleMethodInfo a signature where
overloadedMethod = actorSetRotationAngle
instance O.OverloadedMethodInfo ActorSetRotationAngleMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorSetRotationAngle",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorSetRotationAngle"
})
#endif
foreign import ccall "clutter_actor_set_scale" clutter_actor_set_scale ::
Ptr Actor ->
CDouble ->
CDouble ->
IO ()
actorSetScale ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> Double
-> Double
-> m ()
actorSetScale :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> Double -> Double -> m ()
actorSetScale a
self Double
scaleX Double
scaleY = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
let scaleX' :: CDouble
scaleX' = Double -> CDouble
forall a b. (Real a, Fractional b) => a -> b
realToFrac Double
scaleX
let scaleY' :: CDouble
scaleY' = Double -> CDouble
forall a b. (Real a, Fractional b) => a -> b
realToFrac Double
scaleY
Ptr Actor -> CDouble -> CDouble -> IO ()
clutter_actor_set_scale Ptr Actor
self' CDouble
scaleX' CDouble
scaleY'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorSetScaleMethodInfo
instance (signature ~ (Double -> Double -> m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorSetScaleMethodInfo a signature where
overloadedMethod = actorSetScale
instance O.OverloadedMethodInfo ActorSetScaleMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorSetScale",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorSetScale"
})
#endif
foreign import ccall "clutter_actor_set_scale_full" clutter_actor_set_scale_full ::
Ptr Actor ->
CDouble ->
CDouble ->
CFloat ->
CFloat ->
IO ()
{-# DEPRECATED actorSetScaleFull ["(Since version 1.12)","Use 'GI.Clutter.Objects.Actor.actorSetPivotPoint' to control"," the scale center"] #-}
actorSetScaleFull ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> Double
-> Double
-> Float
-> Float
-> m ()
actorSetScaleFull :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> Double -> Double -> Float -> Float -> m ()
actorSetScaleFull a
self Double
scaleX Double
scaleY Float
centerX Float
centerY = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
let scaleX' :: CDouble
scaleX' = Double -> CDouble
forall a b. (Real a, Fractional b) => a -> b
realToFrac Double
scaleX
let scaleY' :: CDouble
scaleY' = Double -> CDouble
forall a b. (Real a, Fractional b) => a -> b
realToFrac Double
scaleY
let centerX' :: CFloat
centerX' = Float -> CFloat
forall a b. (Real a, Fractional b) => a -> b
realToFrac Float
centerX
let centerY' :: CFloat
centerY' = Float -> CFloat
forall a b. (Real a, Fractional b) => a -> b
realToFrac Float
centerY
Ptr Actor -> CDouble -> CDouble -> CFloat -> CFloat -> IO ()
clutter_actor_set_scale_full Ptr Actor
self' CDouble
scaleX' CDouble
scaleY' CFloat
centerX' CFloat
centerY'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorSetScaleFullMethodInfo
instance (signature ~ (Double -> Double -> Float -> Float -> m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorSetScaleFullMethodInfo a signature where
overloadedMethod = actorSetScaleFull
instance O.OverloadedMethodInfo ActorSetScaleFullMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorSetScaleFull",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorSetScaleFull"
})
#endif
foreign import ccall "clutter_actor_set_scale_with_gravity" clutter_actor_set_scale_with_gravity ::
Ptr Actor ->
CDouble ->
CDouble ->
CUInt ->
IO ()
{-# DEPRECATED actorSetScaleWithGravity ["(Since version 1.12)","Use 'GI.Clutter.Objects.Actor.actorSetPivotPoint' to set the"," scale center using normalized coordinates instead."] #-}
actorSetScaleWithGravity ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> Double
-> Double
-> Clutter.Enums.Gravity
-> m ()
actorSetScaleWithGravity :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> Double -> Double -> Gravity -> m ()
actorSetScaleWithGravity a
self Double
scaleX Double
scaleY Gravity
gravity = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
let scaleX' :: CDouble
scaleX' = Double -> CDouble
forall a b. (Real a, Fractional b) => a -> b
realToFrac Double
scaleX
let scaleY' :: CDouble
scaleY' = Double -> CDouble
forall a b. (Real a, Fractional b) => a -> b
realToFrac Double
scaleY
let gravity' :: CUInt
gravity' = (Int -> CUInt
forall a b. (Integral a, Num b) => a -> b
fromIntegral (Int -> CUInt) -> (Gravity -> Int) -> Gravity -> CUInt
forall b c a. (b -> c) -> (a -> b) -> a -> c
. Gravity -> Int
forall a. Enum a => a -> Int
fromEnum) Gravity
gravity
Ptr Actor -> CDouble -> CDouble -> CUInt -> IO ()
clutter_actor_set_scale_with_gravity Ptr Actor
self' CDouble
scaleX' CDouble
scaleY' CUInt
gravity'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorSetScaleWithGravityMethodInfo
instance (signature ~ (Double -> Double -> Clutter.Enums.Gravity -> m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorSetScaleWithGravityMethodInfo a signature where
overloadedMethod = actorSetScaleWithGravity
instance O.OverloadedMethodInfo ActorSetScaleWithGravityMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorSetScaleWithGravity",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorSetScaleWithGravity"
})
#endif
foreign import ccall "clutter_actor_set_scale_z" clutter_actor_set_scale_z ::
Ptr Actor ->
CDouble ->
IO ()
actorSetScaleZ ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> Double
-> m ()
actorSetScaleZ :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> Double -> m ()
actorSetScaleZ a
self Double
scaleZ = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
let scaleZ' :: CDouble
scaleZ' = Double -> CDouble
forall a b. (Real a, Fractional b) => a -> b
realToFrac Double
scaleZ
Ptr Actor -> CDouble -> IO ()
clutter_actor_set_scale_z Ptr Actor
self' CDouble
scaleZ'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorSetScaleZMethodInfo
instance (signature ~ (Double -> m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorSetScaleZMethodInfo a signature where
overloadedMethod = actorSetScaleZ
instance O.OverloadedMethodInfo ActorSetScaleZMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorSetScaleZ",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorSetScaleZ"
})
#endif
foreign import ccall "clutter_actor_set_shader" clutter_actor_set_shader ::
Ptr Actor ->
Ptr Clutter.Shader.Shader ->
IO CInt
{-# DEPRECATED actorSetShader ["(Since version 1.8)","Use t'GI.Clutter.Objects.ShaderEffect.ShaderEffect' and"," 'GI.Clutter.Objects.Actor.actorAddEffect' instead."] #-}
actorSetShader ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a, Clutter.Shader.IsShader b) =>
a
-> Maybe (b)
-> m Bool
actorSetShader :: forall (m :: * -> *) a b.
(HasCallStack, MonadIO m, IsActor a, IsShader b) =>
a -> Maybe b -> m Bool
actorSetShader a
self Maybe b
shader = IO Bool -> m Bool
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Shader
maybeShader <- case Maybe b
shader of
Maybe b
Nothing -> Ptr Shader -> IO (Ptr Shader)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Ptr Shader
forall a. Ptr a
nullPtr
Just b
jShader -> do
Ptr Shader
jShader' <- b -> IO (Ptr Shader)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr b
jShader
Ptr Shader -> IO (Ptr Shader)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Ptr Shader
jShader'
CInt
result <- Ptr Actor -> Ptr Shader -> IO CInt
clutter_actor_set_shader Ptr Actor
self' Ptr Shader
maybeShader
let result' :: Bool
result' = (CInt -> CInt -> Bool
forall a. Eq a => a -> a -> Bool
/= CInt
0) CInt
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Maybe b -> (b -> IO ()) -> IO ()
forall (m :: * -> *) a. Monad m => Maybe a -> (a -> m ()) -> m ()
whenJust Maybe b
shader b -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr
Bool -> IO Bool
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Bool
result'
#if defined(ENABLE_OVERLOADING)
data ActorSetShaderMethodInfo
instance (signature ~ (Maybe (b) -> m Bool), MonadIO m, IsActor a, Clutter.Shader.IsShader b) => O.OverloadedMethod ActorSetShaderMethodInfo a signature where
overloadedMethod = actorSetShader
instance O.OverloadedMethodInfo ActorSetShaderMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorSetShader",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorSetShader"
})
#endif
foreign import ccall "clutter_actor_set_shader_param" clutter_actor_set_shader_param ::
Ptr Actor ->
CString ->
Ptr GValue ->
IO ()
{-# DEPRECATED actorSetShaderParam ["(Since version 1.8)","Use 'GI.Clutter.Objects.ShaderEffect.shaderEffectSetUniformValue' instead"] #-}
actorSetShaderParam ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> T.Text
-> GValue
-> m ()
actorSetShaderParam :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> Text -> GValue -> m ()
actorSetShaderParam a
self Text
param GValue
value = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CString
param' <- Text -> IO CString
textToCString Text
param
Ptr GValue
value' <- GValue -> IO (Ptr GValue)
forall a. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr a)
unsafeManagedPtrGetPtr GValue
value
Ptr Actor -> CString -> Ptr GValue -> IO ()
clutter_actor_set_shader_param Ptr Actor
self' CString
param' Ptr GValue
value'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
GValue -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr GValue
value
CString -> IO ()
forall a. Ptr a -> IO ()
freeMem CString
param'
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorSetShaderParamMethodInfo
instance (signature ~ (T.Text -> GValue -> m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorSetShaderParamMethodInfo a signature where
overloadedMethod = actorSetShaderParam
instance O.OverloadedMethodInfo ActorSetShaderParamMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorSetShaderParam",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorSetShaderParam"
})
#endif
foreign import ccall "clutter_actor_set_shader_param_float" clutter_actor_set_shader_param_float ::
Ptr Actor ->
CString ->
CFloat ->
IO ()
{-# DEPRECATED actorSetShaderParamFloat ["(Since version 1.8)","Use @/clutter_shader_effect_set_uniform()/@ instead"] #-}
actorSetShaderParamFloat ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> T.Text
-> Float
-> m ()
actorSetShaderParamFloat :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> Text -> Float -> m ()
actorSetShaderParamFloat a
self Text
param Float
value = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CString
param' <- Text -> IO CString
textToCString Text
param
let value' :: CFloat
value' = Float -> CFloat
forall a b. (Real a, Fractional b) => a -> b
realToFrac Float
value
Ptr Actor -> CString -> CFloat -> IO ()
clutter_actor_set_shader_param_float Ptr Actor
self' CString
param' CFloat
value'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
CString -> IO ()
forall a. Ptr a -> IO ()
freeMem CString
param'
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorSetShaderParamFloatMethodInfo
instance (signature ~ (T.Text -> Float -> m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorSetShaderParamFloatMethodInfo a signature where
overloadedMethod = actorSetShaderParamFloat
instance O.OverloadedMethodInfo ActorSetShaderParamFloatMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorSetShaderParamFloat",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorSetShaderParamFloat"
})
#endif
foreign import ccall "clutter_actor_set_shader_param_int" clutter_actor_set_shader_param_int ::
Ptr Actor ->
CString ->
Int32 ->
IO ()
{-# DEPRECATED actorSetShaderParamInt ["(Since version 1.8)","Use @/clutter_shader_effect_set_uniform()/@ instead"] #-}
actorSetShaderParamInt ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> T.Text
-> Int32
-> m ()
actorSetShaderParamInt :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> Text -> Int32 -> m ()
actorSetShaderParamInt a
self Text
param Int32
value = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CString
param' <- Text -> IO CString
textToCString Text
param
Ptr Actor -> CString -> Int32 -> IO ()
clutter_actor_set_shader_param_int Ptr Actor
self' CString
param' Int32
value
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
CString -> IO ()
forall a. Ptr a -> IO ()
freeMem CString
param'
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorSetShaderParamIntMethodInfo
instance (signature ~ (T.Text -> Int32 -> m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorSetShaderParamIntMethodInfo a signature where
overloadedMethod = actorSetShaderParamInt
instance O.OverloadedMethodInfo ActorSetShaderParamIntMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorSetShaderParamInt",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorSetShaderParamInt"
})
#endif
foreign import ccall "clutter_actor_set_size" clutter_actor_set_size ::
Ptr Actor ->
CFloat ->
CFloat ->
IO ()
actorSetSize ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> Float
-> Float
-> m ()
actorSetSize :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> Float -> Float -> m ()
actorSetSize a
self Float
width Float
height = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
let width' :: CFloat
width' = Float -> CFloat
forall a b. (Real a, Fractional b) => a -> b
realToFrac Float
width
let height' :: CFloat
height' = Float -> CFloat
forall a b. (Real a, Fractional b) => a -> b
realToFrac Float
height
Ptr Actor -> CFloat -> CFloat -> IO ()
clutter_actor_set_size Ptr Actor
self' CFloat
width' CFloat
height'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorSetSizeMethodInfo
instance (signature ~ (Float -> Float -> m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorSetSizeMethodInfo a signature where
overloadedMethod = actorSetSize
instance O.OverloadedMethodInfo ActorSetSizeMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorSetSize",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorSetSize"
})
#endif
foreign import ccall "clutter_actor_set_text_direction" clutter_actor_set_text_direction ::
Ptr Actor ->
CUInt ->
IO ()
actorSetTextDirection ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> Clutter.Enums.TextDirection
-> m ()
actorSetTextDirection :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> TextDirection -> m ()
actorSetTextDirection a
self TextDirection
textDir = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
let textDir' :: CUInt
textDir' = (Int -> CUInt
forall a b. (Integral a, Num b) => a -> b
fromIntegral (Int -> CUInt) -> (TextDirection -> Int) -> TextDirection -> CUInt
forall b c a. (b -> c) -> (a -> b) -> a -> c
. TextDirection -> Int
forall a. Enum a => a -> Int
fromEnum) TextDirection
textDir
Ptr Actor -> CUInt -> IO ()
clutter_actor_set_text_direction Ptr Actor
self' CUInt
textDir'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorSetTextDirectionMethodInfo
instance (signature ~ (Clutter.Enums.TextDirection -> m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorSetTextDirectionMethodInfo a signature where
overloadedMethod = actorSetTextDirection
instance O.OverloadedMethodInfo ActorSetTextDirectionMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorSetTextDirection",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorSetTextDirection"
})
#endif
foreign import ccall "clutter_actor_set_transform" clutter_actor_set_transform ::
Ptr Actor ->
Ptr Clutter.Matrix.Matrix ->
IO ()
actorSetTransform ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> Maybe (Clutter.Matrix.Matrix)
-> m ()
actorSetTransform :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> Maybe Matrix -> m ()
actorSetTransform a
self Maybe Matrix
transform = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Matrix
maybeTransform <- case Maybe Matrix
transform of
Maybe Matrix
Nothing -> Ptr Matrix -> IO (Ptr Matrix)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Ptr Matrix
forall a. Ptr a
nullPtr
Just Matrix
jTransform -> do
Ptr Matrix
jTransform' <- Matrix -> IO (Ptr Matrix)
forall a. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr a)
unsafeManagedPtrGetPtr Matrix
jTransform
Ptr Matrix -> IO (Ptr Matrix)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Ptr Matrix
jTransform'
Ptr Actor -> Ptr Matrix -> IO ()
clutter_actor_set_transform Ptr Actor
self' Ptr Matrix
maybeTransform
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Maybe Matrix -> (Matrix -> IO ()) -> IO ()
forall (m :: * -> *) a. Monad m => Maybe a -> (a -> m ()) -> m ()
whenJust Maybe Matrix
transform Matrix -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorSetTransformMethodInfo
instance (signature ~ (Maybe (Clutter.Matrix.Matrix) -> m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorSetTransformMethodInfo a signature where
overloadedMethod = actorSetTransform
instance O.OverloadedMethodInfo ActorSetTransformMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorSetTransform",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorSetTransform"
})
#endif
foreign import ccall "clutter_actor_set_translation" clutter_actor_set_translation ::
Ptr Actor ->
CFloat ->
CFloat ->
CFloat ->
IO ()
actorSetTranslation ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> Float
-> Float
-> Float
-> m ()
actorSetTranslation :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> Float -> Float -> Float -> m ()
actorSetTranslation a
self Float
translateX Float
translateY Float
translateZ = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
let translateX' :: CFloat
translateX' = Float -> CFloat
forall a b. (Real a, Fractional b) => a -> b
realToFrac Float
translateX
let translateY' :: CFloat
translateY' = Float -> CFloat
forall a b. (Real a, Fractional b) => a -> b
realToFrac Float
translateY
let translateZ' :: CFloat
translateZ' = Float -> CFloat
forall a b. (Real a, Fractional b) => a -> b
realToFrac Float
translateZ
Ptr Actor -> CFloat -> CFloat -> CFloat -> IO ()
clutter_actor_set_translation Ptr Actor
self' CFloat
translateX' CFloat
translateY' CFloat
translateZ'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorSetTranslationMethodInfo
instance (signature ~ (Float -> Float -> Float -> m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorSetTranslationMethodInfo a signature where
overloadedMethod = actorSetTranslation
instance O.OverloadedMethodInfo ActorSetTranslationMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorSetTranslation",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorSetTranslation"
})
#endif
foreign import ccall "clutter_actor_set_width" clutter_actor_set_width ::
Ptr Actor ->
CFloat ->
IO ()
actorSetWidth ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> Float
-> m ()
actorSetWidth :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> Float -> m ()
actorSetWidth a
self Float
width = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
let width' :: CFloat
width' = Float -> CFloat
forall a b. (Real a, Fractional b) => a -> b
realToFrac Float
width
Ptr Actor -> CFloat -> IO ()
clutter_actor_set_width Ptr Actor
self' CFloat
width'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorSetWidthMethodInfo
instance (signature ~ (Float -> m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorSetWidthMethodInfo a signature where
overloadedMethod = actorSetWidth
instance O.OverloadedMethodInfo ActorSetWidthMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorSetWidth",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorSetWidth"
})
#endif
foreign import ccall "clutter_actor_set_x" clutter_actor_set_x ::
Ptr Actor ->
CFloat ->
IO ()
actorSetX ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> Float
-> m ()
actorSetX :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> Float -> m ()
actorSetX a
self Float
x = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
let x' :: CFloat
x' = Float -> CFloat
forall a b. (Real a, Fractional b) => a -> b
realToFrac Float
x
Ptr Actor -> CFloat -> IO ()
clutter_actor_set_x Ptr Actor
self' CFloat
x'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorSetXMethodInfo
instance (signature ~ (Float -> m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorSetXMethodInfo a signature where
overloadedMethod = actorSetX
instance O.OverloadedMethodInfo ActorSetXMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorSetX",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorSetX"
})
#endif
foreign import ccall "clutter_actor_set_x_align" clutter_actor_set_x_align ::
Ptr Actor ->
CUInt ->
IO ()
actorSetXAlign ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> Clutter.Enums.ActorAlign
-> m ()
actorSetXAlign :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> ActorAlign -> m ()
actorSetXAlign a
self ActorAlign
xAlign = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
let xAlign' :: CUInt
xAlign' = (Int -> CUInt
forall a b. (Integral a, Num b) => a -> b
fromIntegral (Int -> CUInt) -> (ActorAlign -> Int) -> ActorAlign -> CUInt
forall b c a. (b -> c) -> (a -> b) -> a -> c
. ActorAlign -> Int
forall a. Enum a => a -> Int
fromEnum) ActorAlign
xAlign
Ptr Actor -> CUInt -> IO ()
clutter_actor_set_x_align Ptr Actor
self' CUInt
xAlign'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorSetXAlignMethodInfo
instance (signature ~ (Clutter.Enums.ActorAlign -> m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorSetXAlignMethodInfo a signature where
overloadedMethod = actorSetXAlign
instance O.OverloadedMethodInfo ActorSetXAlignMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorSetXAlign",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorSetXAlign"
})
#endif
foreign import ccall "clutter_actor_set_x_expand" clutter_actor_set_x_expand ::
Ptr Actor ->
CInt ->
IO ()
actorSetXExpand ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> Bool
-> m ()
actorSetXExpand :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> Bool -> m ()
actorSetXExpand a
self Bool
expand = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
let expand' :: CInt
expand' = (Int -> CInt
forall a b. (Integral a, Num b) => a -> b
P.fromIntegral (Int -> CInt) -> (Bool -> Int) -> Bool -> CInt
forall b c a. (b -> c) -> (a -> b) -> a -> c
. Bool -> Int
forall a. Enum a => a -> Int
P.fromEnum) Bool
expand
Ptr Actor -> CInt -> IO ()
clutter_actor_set_x_expand Ptr Actor
self' CInt
expand'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorSetXExpandMethodInfo
instance (signature ~ (Bool -> m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorSetXExpandMethodInfo a signature where
overloadedMethod = actorSetXExpand
instance O.OverloadedMethodInfo ActorSetXExpandMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorSetXExpand",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorSetXExpand"
})
#endif
foreign import ccall "clutter_actor_set_y" clutter_actor_set_y ::
Ptr Actor ->
CFloat ->
IO ()
actorSetY ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> Float
-> m ()
actorSetY :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> Float -> m ()
actorSetY a
self Float
y = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
let y' :: CFloat
y' = Float -> CFloat
forall a b. (Real a, Fractional b) => a -> b
realToFrac Float
y
Ptr Actor -> CFloat -> IO ()
clutter_actor_set_y Ptr Actor
self' CFloat
y'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorSetYMethodInfo
instance (signature ~ (Float -> m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorSetYMethodInfo a signature where
overloadedMethod = actorSetY
instance O.OverloadedMethodInfo ActorSetYMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorSetY",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorSetY"
})
#endif
foreign import ccall "clutter_actor_set_y_align" clutter_actor_set_y_align ::
Ptr Actor ->
CUInt ->
IO ()
actorSetYAlign ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> Clutter.Enums.ActorAlign
-> m ()
actorSetYAlign :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> ActorAlign -> m ()
actorSetYAlign a
self ActorAlign
yAlign = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
let yAlign' :: CUInt
yAlign' = (Int -> CUInt
forall a b. (Integral a, Num b) => a -> b
fromIntegral (Int -> CUInt) -> (ActorAlign -> Int) -> ActorAlign -> CUInt
forall b c a. (b -> c) -> (a -> b) -> a -> c
. ActorAlign -> Int
forall a. Enum a => a -> Int
fromEnum) ActorAlign
yAlign
Ptr Actor -> CUInt -> IO ()
clutter_actor_set_y_align Ptr Actor
self' CUInt
yAlign'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorSetYAlignMethodInfo
instance (signature ~ (Clutter.Enums.ActorAlign -> m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorSetYAlignMethodInfo a signature where
overloadedMethod = actorSetYAlign
instance O.OverloadedMethodInfo ActorSetYAlignMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorSetYAlign",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorSetYAlign"
})
#endif
foreign import ccall "clutter_actor_set_y_expand" clutter_actor_set_y_expand ::
Ptr Actor ->
CInt ->
IO ()
actorSetYExpand ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> Bool
-> m ()
actorSetYExpand :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> Bool -> m ()
actorSetYExpand a
self Bool
expand = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
let expand' :: CInt
expand' = (Int -> CInt
forall a b. (Integral a, Num b) => a -> b
P.fromIntegral (Int -> CInt) -> (Bool -> Int) -> Bool -> CInt
forall b c a. (b -> c) -> (a -> b) -> a -> c
. Bool -> Int
forall a. Enum a => a -> Int
P.fromEnum) Bool
expand
Ptr Actor -> CInt -> IO ()
clutter_actor_set_y_expand Ptr Actor
self' CInt
expand'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorSetYExpandMethodInfo
instance (signature ~ (Bool -> m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorSetYExpandMethodInfo a signature where
overloadedMethod = actorSetYExpand
instance O.OverloadedMethodInfo ActorSetYExpandMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorSetYExpand",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorSetYExpand"
})
#endif
foreign import ccall "clutter_actor_set_z_position" clutter_actor_set_z_position ::
Ptr Actor ->
CFloat ->
IO ()
actorSetZPosition ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> Float
-> m ()
actorSetZPosition :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> Float -> m ()
actorSetZPosition a
self Float
zPosition = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
let zPosition' :: CFloat
zPosition' = Float -> CFloat
forall a b. (Real a, Fractional b) => a -> b
realToFrac Float
zPosition
Ptr Actor -> CFloat -> IO ()
clutter_actor_set_z_position Ptr Actor
self' CFloat
zPosition'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorSetZPositionMethodInfo
instance (signature ~ (Float -> m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorSetZPositionMethodInfo a signature where
overloadedMethod = actorSetZPosition
instance O.OverloadedMethodInfo ActorSetZPositionMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorSetZPosition",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorSetZPosition"
})
#endif
foreign import ccall "clutter_actor_set_z_rotation_from_gravity" clutter_actor_set_z_rotation_from_gravity ::
Ptr Actor ->
CDouble ->
CUInt ->
IO ()
{-# DEPRECATED actorSetZRotationFromGravity ["(Since version 1.12)","Use 'GI.Clutter.Objects.Actor.actorSetRotationAngle' and"," 'GI.Clutter.Objects.Actor.actorSetPivotPoint' instead."] #-}
actorSetZRotationFromGravity ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> Double
-> Clutter.Enums.Gravity
-> m ()
actorSetZRotationFromGravity :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> Double -> Gravity -> m ()
actorSetZRotationFromGravity a
self Double
angle Gravity
gravity = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
let angle' :: CDouble
angle' = Double -> CDouble
forall a b. (Real a, Fractional b) => a -> b
realToFrac Double
angle
let gravity' :: CUInt
gravity' = (Int -> CUInt
forall a b. (Integral a, Num b) => a -> b
fromIntegral (Int -> CUInt) -> (Gravity -> Int) -> Gravity -> CUInt
forall b c a. (b -> c) -> (a -> b) -> a -> c
. Gravity -> Int
forall a. Enum a => a -> Int
fromEnum) Gravity
gravity
Ptr Actor -> CDouble -> CUInt -> IO ()
clutter_actor_set_z_rotation_from_gravity Ptr Actor
self' CDouble
angle' CUInt
gravity'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorSetZRotationFromGravityMethodInfo
instance (signature ~ (Double -> Clutter.Enums.Gravity -> m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorSetZRotationFromGravityMethodInfo a signature where
overloadedMethod = actorSetZRotationFromGravity
instance O.OverloadedMethodInfo ActorSetZRotationFromGravityMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorSetZRotationFromGravity",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorSetZRotationFromGravity"
})
#endif
foreign import ccall "clutter_actor_should_pick_paint" clutter_actor_should_pick_paint ::
Ptr Actor ->
IO CInt
actorShouldPickPaint ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m Bool
actorShouldPickPaint :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m Bool
actorShouldPickPaint a
self = IO Bool -> m Bool
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CInt
result <- Ptr Actor -> IO CInt
clutter_actor_should_pick_paint Ptr Actor
self'
let result' :: Bool
result' = (CInt -> CInt -> Bool
forall a. Eq a => a -> a -> Bool
/= CInt
0) CInt
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Bool -> IO Bool
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Bool
result'
#if defined(ENABLE_OVERLOADING)
data ActorShouldPickPaintMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsActor a) => O.OverloadedMethod ActorShouldPickPaintMethodInfo a signature where
overloadedMethod = actorShouldPickPaint
instance O.OverloadedMethodInfo ActorShouldPickPaintMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorShouldPickPaint",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorShouldPickPaint"
})
#endif
foreign import ccall "clutter_actor_show" clutter_actor_show ::
Ptr Actor ->
IO ()
actorShow ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m ()
actorShow :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m ()
actorShow a
self = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Actor -> IO ()
clutter_actor_show Ptr Actor
self'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorShowMethodInfo
instance (signature ~ (m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorShowMethodInfo a signature where
overloadedMethod = actorShow
instance O.OverloadedMethodInfo ActorShowMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorShow",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorShow"
})
#endif
foreign import ccall "clutter_actor_show_all" clutter_actor_show_all ::
Ptr Actor ->
IO ()
{-# DEPRECATED actorShowAll ["(Since version 1.10)","Actors are visible by default"] #-}
actorShowAll ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m ()
actorShowAll :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m ()
actorShowAll a
self = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Actor -> IO ()
clutter_actor_show_all Ptr Actor
self'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorShowAllMethodInfo
instance (signature ~ (m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorShowAllMethodInfo a signature where
overloadedMethod = actorShowAll
instance O.OverloadedMethodInfo ActorShowAllMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorShowAll",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorShowAll"
})
#endif
foreign import ccall "clutter_actor_transform_stage_point" clutter_actor_transform_stage_point ::
Ptr Actor ->
CFloat ->
CFloat ->
Ptr CFloat ->
Ptr CFloat ->
IO CInt
actorTransformStagePoint ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> Float
-> Float
-> m ((Bool, Float, Float))
actorTransformStagePoint :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> Float -> Float -> m (Bool, Float, Float)
actorTransformStagePoint a
self Float
x Float
y = IO (Bool, Float, Float) -> m (Bool, Float, Float)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO (Bool, Float, Float) -> m (Bool, Float, Float))
-> IO (Bool, Float, Float) -> m (Bool, Float, Float)
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
let x' :: CFloat
x' = Float -> CFloat
forall a b. (Real a, Fractional b) => a -> b
realToFrac Float
x
let y' :: CFloat
y' = Float -> CFloat
forall a b. (Real a, Fractional b) => a -> b
realToFrac Float
y
Ptr CFloat
xOut <- IO (Ptr CFloat)
forall a. Storable a => IO (Ptr a)
allocMem :: IO (Ptr CFloat)
Ptr CFloat
yOut <- IO (Ptr CFloat)
forall a. Storable a => IO (Ptr a)
allocMem :: IO (Ptr CFloat)
CInt
result <- Ptr Actor
-> CFloat -> CFloat -> Ptr CFloat -> Ptr CFloat -> IO CInt
clutter_actor_transform_stage_point Ptr Actor
self' CFloat
x' CFloat
y' Ptr CFloat
xOut Ptr CFloat
yOut
let result' :: Bool
result' = (CInt -> CInt -> Bool
forall a. Eq a => a -> a -> Bool
/= CInt
0) CInt
result
CFloat
xOut' <- Ptr CFloat -> IO CFloat
forall a. Storable a => Ptr a -> IO a
peek Ptr CFloat
xOut
let xOut'' :: Float
xOut'' = CFloat -> Float
forall a b. (Real a, Fractional b) => a -> b
realToFrac CFloat
xOut'
CFloat
yOut' <- Ptr CFloat -> IO CFloat
forall a. Storable a => Ptr a -> IO a
peek Ptr CFloat
yOut
let yOut'' :: Float
yOut'' = CFloat -> Float
forall a b. (Real a, Fractional b) => a -> b
realToFrac CFloat
yOut'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Ptr CFloat -> IO ()
forall a. Ptr a -> IO ()
freeMem Ptr CFloat
xOut
Ptr CFloat -> IO ()
forall a. Ptr a -> IO ()
freeMem Ptr CFloat
yOut
(Bool, Float, Float) -> IO (Bool, Float, Float)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return (Bool
result', Float
xOut'', Float
yOut'')
#if defined(ENABLE_OVERLOADING)
data ActorTransformStagePointMethodInfo
instance (signature ~ (Float -> Float -> m ((Bool, Float, Float))), MonadIO m, IsActor a) => O.OverloadedMethod ActorTransformStagePointMethodInfo a signature where
overloadedMethod = actorTransformStagePoint
instance O.OverloadedMethodInfo ActorTransformStagePointMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorTransformStagePoint",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorTransformStagePoint"
})
#endif
foreign import ccall "clutter_actor_unmap" clutter_actor_unmap ::
Ptr Actor ->
IO ()
actorUnmap ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m ()
actorUnmap :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m ()
actorUnmap a
self = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Actor -> IO ()
clutter_actor_unmap Ptr Actor
self'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorUnmapMethodInfo
instance (signature ~ (m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorUnmapMethodInfo a signature where
overloadedMethod = actorUnmap
instance O.OverloadedMethodInfo ActorUnmapMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorUnmap",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorUnmap"
})
#endif
foreign import ccall "clutter_actor_unparent" clutter_actor_unparent ::
Ptr Actor ->
IO ()
{-# DEPRECATED actorUnparent ["(Since version 1.10)","Use 'GI.Clutter.Objects.Actor.actorRemoveChild' instead."] #-}
actorUnparent ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m ()
actorUnparent :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m ()
actorUnparent a
self = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Actor -> IO ()
clutter_actor_unparent Ptr Actor
self'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorUnparentMethodInfo
instance (signature ~ (m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorUnparentMethodInfo a signature where
overloadedMethod = actorUnparent
instance O.OverloadedMethodInfo ActorUnparentMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorUnparent",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorUnparent"
})
#endif
foreign import ccall "clutter_actor_unrealize" clutter_actor_unrealize ::
Ptr Actor ->
IO ()
{-# DEPRECATED actorUnrealize ["(Since version 1.16)","Actors are automatically unrealized, and nothing"," requires explicit realization."] #-}
actorUnrealize ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> m ()
actorUnrealize :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> m ()
actorUnrealize a
self = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Actor -> IO ()
clutter_actor_unrealize Ptr Actor
self'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorUnrealizeMethodInfo
instance (signature ~ (m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorUnrealizeMethodInfo a signature where
overloadedMethod = actorUnrealize
instance O.OverloadedMethodInfo ActorUnrealizeMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorUnrealize",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorUnrealize"
})
#endif
foreign import ccall "clutter_actor_unset_flags" clutter_actor_unset_flags ::
Ptr Actor ->
CUInt ->
IO ()
actorUnsetFlags ::
(B.CallStack.HasCallStack, MonadIO m, IsActor a) =>
a
-> [Clutter.Flags.ActorFlags]
-> m ()
actorUnsetFlags :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActor a) =>
a -> [ActorFlags] -> m ()
actorUnsetFlags a
self [ActorFlags]
flags = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Actor
self' <- a -> IO (Ptr Actor)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
let flags' :: CUInt
flags' = [ActorFlags] -> CUInt
forall b a. (Num b, IsGFlag a) => [a] -> b
gflagsToWord [ActorFlags]
flags
Ptr Actor -> CUInt -> IO ()
clutter_actor_unset_flags Ptr Actor
self' CUInt
flags'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActorUnsetFlagsMethodInfo
instance (signature ~ ([Clutter.Flags.ActorFlags] -> m ()), MonadIO m, IsActor a) => O.OverloadedMethod ActorUnsetFlagsMethodInfo a signature where
overloadedMethod = actorUnsetFlags
instance O.OverloadedMethodInfo ActorUnsetFlagsMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Clutter.Objects.Actor.actorUnsetFlags",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-clutter-1.0.6/docs/GI-Clutter-Objects-Actor.html#v:actorUnsetFlags"
})
#endif