{-# LANGUAGE TypeApplications #-}
#if (MIN_VERSION_haskell_gi_overloading(1,0,0) && !defined(__HADDOCK_VERSION__))
#define ENABLE_OVERLOADING
#endif
module GI.Gtk.Objects.Spinner
(
Spinner(..) ,
IsSpinner ,
toSpinner ,
#if defined(ENABLE_OVERLOADING)
ResolveSpinnerMethod ,
#endif
#if defined(ENABLE_OVERLOADING)
SpinnerGetSpinningMethodInfo ,
#endif
spinnerGetSpinning ,
spinnerNew ,
#if defined(ENABLE_OVERLOADING)
SpinnerSetSpinningMethodInfo ,
#endif
spinnerSetSpinning ,
#if defined(ENABLE_OVERLOADING)
SpinnerStartMethodInfo ,
#endif
spinnerStart ,
#if defined(ENABLE_OVERLOADING)
SpinnerStopMethodInfo ,
#endif
spinnerStop ,
#if defined(ENABLE_OVERLOADING)
SpinnerSpinningPropertyInfo ,
#endif
constructSpinnerSpinning ,
getSpinnerSpinning ,
setSpinnerSpinning ,
#if defined(ENABLE_OVERLOADING)
spinnerSpinning ,
#endif
) 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 GI.GObject.Objects.Object as GObject.Object
import {-# SOURCE #-} qualified GI.Gtk.Interfaces.Accessible as Gtk.Accessible
import {-# SOURCE #-} qualified GI.Gtk.Interfaces.Buildable as Gtk.Buildable
import {-# SOURCE #-} qualified GI.Gtk.Interfaces.ConstraintTarget as Gtk.ConstraintTarget
import {-# SOURCE #-} qualified GI.Gtk.Objects.Widget as Gtk.Widget
newtype Spinner = Spinner (SP.ManagedPtr Spinner)
deriving (Spinner -> Spinner -> Bool
(Spinner -> Spinner -> Bool)
-> (Spinner -> Spinner -> Bool) -> Eq Spinner
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: Spinner -> Spinner -> Bool
== :: Spinner -> Spinner -> Bool
$c/= :: Spinner -> Spinner -> Bool
/= :: Spinner -> Spinner -> Bool
Eq)
instance SP.ManagedPtrNewtype Spinner where
toManagedPtr :: Spinner -> ManagedPtr Spinner
toManagedPtr (Spinner ManagedPtr Spinner
p) = ManagedPtr Spinner
p
foreign import ccall "gtk_spinner_get_type"
c_gtk_spinner_get_type :: IO B.Types.GType
instance B.Types.TypedObject Spinner where
glibType :: IO GType
glibType = IO GType
c_gtk_spinner_get_type
instance B.Types.GObject Spinner
class (SP.GObject o, O.IsDescendantOf Spinner o) => IsSpinner o
instance (SP.GObject o, O.IsDescendantOf Spinner o) => IsSpinner o
instance O.HasParentTypes Spinner
type instance O.ParentTypes Spinner = '[Gtk.Widget.Widget, GObject.Object.Object, Gtk.Accessible.Accessible, Gtk.Buildable.Buildable, Gtk.ConstraintTarget.ConstraintTarget]
toSpinner :: (MIO.MonadIO m, IsSpinner o) => o -> m Spinner
toSpinner :: forall (m :: * -> *) o. (MonadIO m, IsSpinner o) => o -> m Spinner
toSpinner = IO Spinner -> m Spinner
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Spinner -> m Spinner) -> (o -> IO Spinner) -> o -> m Spinner
forall b c a. (b -> c) -> (a -> b) -> a -> c
. (ManagedPtr Spinner -> Spinner) -> o -> IO Spinner
forall o o'.
(HasCallStack, ManagedPtrNewtype o, TypedObject o,
ManagedPtrNewtype o', TypedObject o') =>
(ManagedPtr o' -> o') -> o -> IO o'
B.ManagedPtr.unsafeCastTo ManagedPtr Spinner -> Spinner
Spinner
instance B.GValue.IsGValue (Maybe Spinner) where
gvalueGType_ :: IO GType
gvalueGType_ = IO GType
c_gtk_spinner_get_type
gvalueSet_ :: Ptr GValue -> Maybe Spinner -> IO ()
gvalueSet_ Ptr GValue
gv Maybe Spinner
P.Nothing = Ptr GValue -> Ptr Spinner -> IO ()
forall a. GObject a => Ptr GValue -> Ptr a -> IO ()
B.GValue.set_object Ptr GValue
gv (Ptr Spinner
forall a. Ptr a
FP.nullPtr :: FP.Ptr Spinner)
gvalueSet_ Ptr GValue
gv (P.Just Spinner
obj) = Spinner -> (Ptr Spinner -> IO ()) -> IO ()
forall a c.
(HasCallStack, ManagedPtrNewtype a) =>
a -> (Ptr a -> IO c) -> IO c
B.ManagedPtr.withManagedPtr Spinner
obj (Ptr GValue -> Ptr Spinner -> IO ()
forall a. GObject a => Ptr GValue -> Ptr a -> IO ()
B.GValue.set_object Ptr GValue
gv)
gvalueGet_ :: Ptr GValue -> IO (Maybe Spinner)
gvalueGet_ Ptr GValue
gv = do
Ptr Spinner
ptr <- Ptr GValue -> IO (Ptr Spinner)
forall a. GObject a => Ptr GValue -> IO (Ptr a)
B.GValue.get_object Ptr GValue
gv :: IO (FP.Ptr Spinner)
if Ptr Spinner
ptr Ptr Spinner -> Ptr Spinner -> Bool
forall a. Eq a => a -> a -> Bool
/= Ptr Spinner
forall a. Ptr a
FP.nullPtr
then Spinner -> Maybe Spinner
forall a. a -> Maybe a
P.Just (Spinner -> Maybe Spinner) -> IO Spinner -> IO (Maybe Spinner)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> (ManagedPtr Spinner -> Spinner) -> Ptr Spinner -> IO Spinner
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
B.ManagedPtr.newObject ManagedPtr Spinner -> Spinner
Spinner Ptr Spinner
ptr
else Maybe Spinner -> IO (Maybe Spinner)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Maybe Spinner
forall a. Maybe a
P.Nothing
#if defined(ENABLE_OVERLOADING)
type family ResolveSpinnerMethod (t :: Symbol) (o :: DK.Type) :: DK.Type where
ResolveSpinnerMethod "actionSetEnabled" o = Gtk.Widget.WidgetActionSetEnabledMethodInfo
ResolveSpinnerMethod "activate" o = Gtk.Widget.WidgetActivateMethodInfo
ResolveSpinnerMethod "activateAction" o = Gtk.Widget.WidgetActivateActionMethodInfo
ResolveSpinnerMethod "activateDefault" o = Gtk.Widget.WidgetActivateDefaultMethodInfo
ResolveSpinnerMethod "addController" o = Gtk.Widget.WidgetAddControllerMethodInfo
ResolveSpinnerMethod "addCssClass" o = Gtk.Widget.WidgetAddCssClassMethodInfo
ResolveSpinnerMethod "addMnemonicLabel" o = Gtk.Widget.WidgetAddMnemonicLabelMethodInfo
ResolveSpinnerMethod "addTickCallback" o = Gtk.Widget.WidgetAddTickCallbackMethodInfo
ResolveSpinnerMethod "allocate" o = Gtk.Widget.WidgetAllocateMethodInfo
ResolveSpinnerMethod "bindProperty" o = GObject.Object.ObjectBindPropertyMethodInfo
ResolveSpinnerMethod "bindPropertyFull" o = GObject.Object.ObjectBindPropertyFullMethodInfo
ResolveSpinnerMethod "childFocus" o = Gtk.Widget.WidgetChildFocusMethodInfo
ResolveSpinnerMethod "computeBounds" o = Gtk.Widget.WidgetComputeBoundsMethodInfo
ResolveSpinnerMethod "computeExpand" o = Gtk.Widget.WidgetComputeExpandMethodInfo
ResolveSpinnerMethod "computePoint" o = Gtk.Widget.WidgetComputePointMethodInfo
ResolveSpinnerMethod "computeTransform" o = Gtk.Widget.WidgetComputeTransformMethodInfo
ResolveSpinnerMethod "contains" o = Gtk.Widget.WidgetContainsMethodInfo
ResolveSpinnerMethod "createPangoContext" o = Gtk.Widget.WidgetCreatePangoContextMethodInfo
ResolveSpinnerMethod "createPangoLayout" o = Gtk.Widget.WidgetCreatePangoLayoutMethodInfo
ResolveSpinnerMethod "disposeTemplate" o = Gtk.Widget.WidgetDisposeTemplateMethodInfo
ResolveSpinnerMethod "dragCheckThreshold" o = Gtk.Widget.WidgetDragCheckThresholdMethodInfo
ResolveSpinnerMethod "errorBell" o = Gtk.Widget.WidgetErrorBellMethodInfo
ResolveSpinnerMethod "forceFloating" o = GObject.Object.ObjectForceFloatingMethodInfo
ResolveSpinnerMethod "freezeNotify" o = GObject.Object.ObjectFreezeNotifyMethodInfo
ResolveSpinnerMethod "getv" o = GObject.Object.ObjectGetvMethodInfo
ResolveSpinnerMethod "grabFocus" o = Gtk.Widget.WidgetGrabFocusMethodInfo
ResolveSpinnerMethod "hasCssClass" o = Gtk.Widget.WidgetHasCssClassMethodInfo
ResolveSpinnerMethod "hasDefault" o = Gtk.Widget.WidgetHasDefaultMethodInfo
ResolveSpinnerMethod "hasFocus" o = Gtk.Widget.WidgetHasFocusMethodInfo
ResolveSpinnerMethod "hasVisibleFocus" o = Gtk.Widget.WidgetHasVisibleFocusMethodInfo
ResolveSpinnerMethod "hide" o = Gtk.Widget.WidgetHideMethodInfo
ResolveSpinnerMethod "inDestruction" o = Gtk.Widget.WidgetInDestructionMethodInfo
ResolveSpinnerMethod "initTemplate" o = Gtk.Widget.WidgetInitTemplateMethodInfo
ResolveSpinnerMethod "insertActionGroup" o = Gtk.Widget.WidgetInsertActionGroupMethodInfo
ResolveSpinnerMethod "insertAfter" o = Gtk.Widget.WidgetInsertAfterMethodInfo
ResolveSpinnerMethod "insertBefore" o = Gtk.Widget.WidgetInsertBeforeMethodInfo
ResolveSpinnerMethod "isAncestor" o = Gtk.Widget.WidgetIsAncestorMethodInfo
ResolveSpinnerMethod "isDrawable" o = Gtk.Widget.WidgetIsDrawableMethodInfo
ResolveSpinnerMethod "isFloating" o = GObject.Object.ObjectIsFloatingMethodInfo
ResolveSpinnerMethod "isFocus" o = Gtk.Widget.WidgetIsFocusMethodInfo
ResolveSpinnerMethod "isSensitive" o = Gtk.Widget.WidgetIsSensitiveMethodInfo
ResolveSpinnerMethod "isVisible" o = Gtk.Widget.WidgetIsVisibleMethodInfo
ResolveSpinnerMethod "keynavFailed" o = Gtk.Widget.WidgetKeynavFailedMethodInfo
ResolveSpinnerMethod "listMnemonicLabels" o = Gtk.Widget.WidgetListMnemonicLabelsMethodInfo
ResolveSpinnerMethod "map" o = Gtk.Widget.WidgetMapMethodInfo
ResolveSpinnerMethod "measure" o = Gtk.Widget.WidgetMeasureMethodInfo
ResolveSpinnerMethod "mnemonicActivate" o = Gtk.Widget.WidgetMnemonicActivateMethodInfo
ResolveSpinnerMethod "notify" o = GObject.Object.ObjectNotifyMethodInfo
ResolveSpinnerMethod "notifyByPspec" o = GObject.Object.ObjectNotifyByPspecMethodInfo
ResolveSpinnerMethod "observeChildren" o = Gtk.Widget.WidgetObserveChildrenMethodInfo
ResolveSpinnerMethod "observeControllers" o = Gtk.Widget.WidgetObserveControllersMethodInfo
ResolveSpinnerMethod "pick" o = Gtk.Widget.WidgetPickMethodInfo
ResolveSpinnerMethod "queueAllocate" o = Gtk.Widget.WidgetQueueAllocateMethodInfo
ResolveSpinnerMethod "queueDraw" o = Gtk.Widget.WidgetQueueDrawMethodInfo
ResolveSpinnerMethod "queueResize" o = Gtk.Widget.WidgetQueueResizeMethodInfo
ResolveSpinnerMethod "realize" o = Gtk.Widget.WidgetRealizeMethodInfo
ResolveSpinnerMethod "ref" o = GObject.Object.ObjectRefMethodInfo
ResolveSpinnerMethod "refSink" o = GObject.Object.ObjectRefSinkMethodInfo
ResolveSpinnerMethod "removeController" o = Gtk.Widget.WidgetRemoveControllerMethodInfo
ResolveSpinnerMethod "removeCssClass" o = Gtk.Widget.WidgetRemoveCssClassMethodInfo
ResolveSpinnerMethod "removeMnemonicLabel" o = Gtk.Widget.WidgetRemoveMnemonicLabelMethodInfo
ResolveSpinnerMethod "removeTickCallback" o = Gtk.Widget.WidgetRemoveTickCallbackMethodInfo
ResolveSpinnerMethod "resetProperty" o = Gtk.Accessible.AccessibleResetPropertyMethodInfo
ResolveSpinnerMethod "resetRelation" o = Gtk.Accessible.AccessibleResetRelationMethodInfo
ResolveSpinnerMethod "resetState" o = Gtk.Accessible.AccessibleResetStateMethodInfo
ResolveSpinnerMethod "runDispose" o = GObject.Object.ObjectRunDisposeMethodInfo
ResolveSpinnerMethod "shouldLayout" o = Gtk.Widget.WidgetShouldLayoutMethodInfo
ResolveSpinnerMethod "show" o = Gtk.Widget.WidgetShowMethodInfo
ResolveSpinnerMethod "sizeAllocate" o = Gtk.Widget.WidgetSizeAllocateMethodInfo
ResolveSpinnerMethod "snapshotChild" o = Gtk.Widget.WidgetSnapshotChildMethodInfo
ResolveSpinnerMethod "start" o = SpinnerStartMethodInfo
ResolveSpinnerMethod "stealData" o = GObject.Object.ObjectStealDataMethodInfo
ResolveSpinnerMethod "stealQdata" o = GObject.Object.ObjectStealQdataMethodInfo
ResolveSpinnerMethod "stop" o = SpinnerStopMethodInfo
ResolveSpinnerMethod "thawNotify" o = GObject.Object.ObjectThawNotifyMethodInfo
ResolveSpinnerMethod "translateCoordinates" o = Gtk.Widget.WidgetTranslateCoordinatesMethodInfo
ResolveSpinnerMethod "triggerTooltipQuery" o = Gtk.Widget.WidgetTriggerTooltipQueryMethodInfo
ResolveSpinnerMethod "unmap" o = Gtk.Widget.WidgetUnmapMethodInfo
ResolveSpinnerMethod "unparent" o = Gtk.Widget.WidgetUnparentMethodInfo
ResolveSpinnerMethod "unrealize" o = Gtk.Widget.WidgetUnrealizeMethodInfo
ResolveSpinnerMethod "unref" o = GObject.Object.ObjectUnrefMethodInfo
ResolveSpinnerMethod "unsetStateFlags" o = Gtk.Widget.WidgetUnsetStateFlagsMethodInfo
ResolveSpinnerMethod "updateNextAccessibleSibling" o = Gtk.Accessible.AccessibleUpdateNextAccessibleSiblingMethodInfo
ResolveSpinnerMethod "updateProperty" o = Gtk.Accessible.AccessibleUpdatePropertyMethodInfo
ResolveSpinnerMethod "updateRelation" o = Gtk.Accessible.AccessibleUpdateRelationMethodInfo
ResolveSpinnerMethod "updateState" o = Gtk.Accessible.AccessibleUpdateStateMethodInfo
ResolveSpinnerMethod "watchClosure" o = GObject.Object.ObjectWatchClosureMethodInfo
ResolveSpinnerMethod "getAccessibleParent" o = Gtk.Accessible.AccessibleGetAccessibleParentMethodInfo
ResolveSpinnerMethod "getAccessibleRole" o = Gtk.Accessible.AccessibleGetAccessibleRoleMethodInfo
ResolveSpinnerMethod "getAllocatedBaseline" o = Gtk.Widget.WidgetGetAllocatedBaselineMethodInfo
ResolveSpinnerMethod "getAllocatedHeight" o = Gtk.Widget.WidgetGetAllocatedHeightMethodInfo
ResolveSpinnerMethod "getAllocatedWidth" o = Gtk.Widget.WidgetGetAllocatedWidthMethodInfo
ResolveSpinnerMethod "getAllocation" o = Gtk.Widget.WidgetGetAllocationMethodInfo
ResolveSpinnerMethod "getAncestor" o = Gtk.Widget.WidgetGetAncestorMethodInfo
ResolveSpinnerMethod "getAtContext" o = Gtk.Accessible.AccessibleGetAtContextMethodInfo
ResolveSpinnerMethod "getBounds" o = Gtk.Accessible.AccessibleGetBoundsMethodInfo
ResolveSpinnerMethod "getBuildableId" o = Gtk.Buildable.BuildableGetBuildableIdMethodInfo
ResolveSpinnerMethod "getCanFocus" o = Gtk.Widget.WidgetGetCanFocusMethodInfo
ResolveSpinnerMethod "getCanTarget" o = Gtk.Widget.WidgetGetCanTargetMethodInfo
ResolveSpinnerMethod "getChildVisible" o = Gtk.Widget.WidgetGetChildVisibleMethodInfo
ResolveSpinnerMethod "getClipboard" o = Gtk.Widget.WidgetGetClipboardMethodInfo
ResolveSpinnerMethod "getColor" o = Gtk.Widget.WidgetGetColorMethodInfo
ResolveSpinnerMethod "getCssClasses" o = Gtk.Widget.WidgetGetCssClassesMethodInfo
ResolveSpinnerMethod "getCssName" o = Gtk.Widget.WidgetGetCssNameMethodInfo
ResolveSpinnerMethod "getCursor" o = Gtk.Widget.WidgetGetCursorMethodInfo
ResolveSpinnerMethod "getData" o = GObject.Object.ObjectGetDataMethodInfo
ResolveSpinnerMethod "getDirection" o = Gtk.Widget.WidgetGetDirectionMethodInfo
ResolveSpinnerMethod "getDisplay" o = Gtk.Widget.WidgetGetDisplayMethodInfo
ResolveSpinnerMethod "getFirstAccessibleChild" o = Gtk.Accessible.AccessibleGetFirstAccessibleChildMethodInfo
ResolveSpinnerMethod "getFirstChild" o = Gtk.Widget.WidgetGetFirstChildMethodInfo
ResolveSpinnerMethod "getFocusChild" o = Gtk.Widget.WidgetGetFocusChildMethodInfo
ResolveSpinnerMethod "getFocusOnClick" o = Gtk.Widget.WidgetGetFocusOnClickMethodInfo
ResolveSpinnerMethod "getFocusable" o = Gtk.Widget.WidgetGetFocusableMethodInfo
ResolveSpinnerMethod "getFontMap" o = Gtk.Widget.WidgetGetFontMapMethodInfo
ResolveSpinnerMethod "getFontOptions" o = Gtk.Widget.WidgetGetFontOptionsMethodInfo
ResolveSpinnerMethod "getFrameClock" o = Gtk.Widget.WidgetGetFrameClockMethodInfo
ResolveSpinnerMethod "getHalign" o = Gtk.Widget.WidgetGetHalignMethodInfo
ResolveSpinnerMethod "getHasTooltip" o = Gtk.Widget.WidgetGetHasTooltipMethodInfo
ResolveSpinnerMethod "getHeight" o = Gtk.Widget.WidgetGetHeightMethodInfo
ResolveSpinnerMethod "getHexpand" o = Gtk.Widget.WidgetGetHexpandMethodInfo
ResolveSpinnerMethod "getHexpandSet" o = Gtk.Widget.WidgetGetHexpandSetMethodInfo
ResolveSpinnerMethod "getLastChild" o = Gtk.Widget.WidgetGetLastChildMethodInfo
ResolveSpinnerMethod "getLayoutManager" o = Gtk.Widget.WidgetGetLayoutManagerMethodInfo
ResolveSpinnerMethod "getMapped" o = Gtk.Widget.WidgetGetMappedMethodInfo
ResolveSpinnerMethod "getMarginBottom" o = Gtk.Widget.WidgetGetMarginBottomMethodInfo
ResolveSpinnerMethod "getMarginEnd" o = Gtk.Widget.WidgetGetMarginEndMethodInfo
ResolveSpinnerMethod "getMarginStart" o = Gtk.Widget.WidgetGetMarginStartMethodInfo
ResolveSpinnerMethod "getMarginTop" o = Gtk.Widget.WidgetGetMarginTopMethodInfo
ResolveSpinnerMethod "getName" o = Gtk.Widget.WidgetGetNameMethodInfo
ResolveSpinnerMethod "getNative" o = Gtk.Widget.WidgetGetNativeMethodInfo
ResolveSpinnerMethod "getNextAccessibleSibling" o = Gtk.Accessible.AccessibleGetNextAccessibleSiblingMethodInfo
ResolveSpinnerMethod "getNextSibling" o = Gtk.Widget.WidgetGetNextSiblingMethodInfo
ResolveSpinnerMethod "getOpacity" o = Gtk.Widget.WidgetGetOpacityMethodInfo
ResolveSpinnerMethod "getOverflow" o = Gtk.Widget.WidgetGetOverflowMethodInfo
ResolveSpinnerMethod "getPangoContext" o = Gtk.Widget.WidgetGetPangoContextMethodInfo
ResolveSpinnerMethod "getParent" o = Gtk.Widget.WidgetGetParentMethodInfo
ResolveSpinnerMethod "getPlatformState" o = Gtk.Accessible.AccessibleGetPlatformStateMethodInfo
ResolveSpinnerMethod "getPreferredSize" o = Gtk.Widget.WidgetGetPreferredSizeMethodInfo
ResolveSpinnerMethod "getPrevSibling" o = Gtk.Widget.WidgetGetPrevSiblingMethodInfo
ResolveSpinnerMethod "getPrimaryClipboard" o = Gtk.Widget.WidgetGetPrimaryClipboardMethodInfo
ResolveSpinnerMethod "getProperty" o = GObject.Object.ObjectGetPropertyMethodInfo
ResolveSpinnerMethod "getQdata" o = GObject.Object.ObjectGetQdataMethodInfo
ResolveSpinnerMethod "getRealized" o = Gtk.Widget.WidgetGetRealizedMethodInfo
ResolveSpinnerMethod "getReceivesDefault" o = Gtk.Widget.WidgetGetReceivesDefaultMethodInfo
ResolveSpinnerMethod "getRequestMode" o = Gtk.Widget.WidgetGetRequestModeMethodInfo
ResolveSpinnerMethod "getRoot" o = Gtk.Widget.WidgetGetRootMethodInfo
ResolveSpinnerMethod "getScaleFactor" o = Gtk.Widget.WidgetGetScaleFactorMethodInfo
ResolveSpinnerMethod "getSensitive" o = Gtk.Widget.WidgetGetSensitiveMethodInfo
ResolveSpinnerMethod "getSettings" o = Gtk.Widget.WidgetGetSettingsMethodInfo
ResolveSpinnerMethod "getSize" o = Gtk.Widget.WidgetGetSizeMethodInfo
ResolveSpinnerMethod "getSizeRequest" o = Gtk.Widget.WidgetGetSizeRequestMethodInfo
ResolveSpinnerMethod "getSpinning" o = SpinnerGetSpinningMethodInfo
ResolveSpinnerMethod "getStateFlags" o = Gtk.Widget.WidgetGetStateFlagsMethodInfo
ResolveSpinnerMethod "getStyleContext" o = Gtk.Widget.WidgetGetStyleContextMethodInfo
ResolveSpinnerMethod "getTemplateChild" o = Gtk.Widget.WidgetGetTemplateChildMethodInfo
ResolveSpinnerMethod "getTooltipMarkup" o = Gtk.Widget.WidgetGetTooltipMarkupMethodInfo
ResolveSpinnerMethod "getTooltipText" o = Gtk.Widget.WidgetGetTooltipTextMethodInfo
ResolveSpinnerMethod "getValign" o = Gtk.Widget.WidgetGetValignMethodInfo
ResolveSpinnerMethod "getVexpand" o = Gtk.Widget.WidgetGetVexpandMethodInfo
ResolveSpinnerMethod "getVexpandSet" o = Gtk.Widget.WidgetGetVexpandSetMethodInfo
ResolveSpinnerMethod "getVisible" o = Gtk.Widget.WidgetGetVisibleMethodInfo
ResolveSpinnerMethod "getWidth" o = Gtk.Widget.WidgetGetWidthMethodInfo
ResolveSpinnerMethod "setAccessibleParent" o = Gtk.Accessible.AccessibleSetAccessibleParentMethodInfo
ResolveSpinnerMethod "setCanFocus" o = Gtk.Widget.WidgetSetCanFocusMethodInfo
ResolveSpinnerMethod "setCanTarget" o = Gtk.Widget.WidgetSetCanTargetMethodInfo
ResolveSpinnerMethod "setChildVisible" o = Gtk.Widget.WidgetSetChildVisibleMethodInfo
ResolveSpinnerMethod "setCssClasses" o = Gtk.Widget.WidgetSetCssClassesMethodInfo
ResolveSpinnerMethod "setCursor" o = Gtk.Widget.WidgetSetCursorMethodInfo
ResolveSpinnerMethod "setCursorFromName" o = Gtk.Widget.WidgetSetCursorFromNameMethodInfo
ResolveSpinnerMethod "setData" o = GObject.Object.ObjectSetDataMethodInfo
ResolveSpinnerMethod "setDataFull" o = GObject.Object.ObjectSetDataFullMethodInfo
ResolveSpinnerMethod "setDirection" o = Gtk.Widget.WidgetSetDirectionMethodInfo
ResolveSpinnerMethod "setFocusChild" o = Gtk.Widget.WidgetSetFocusChildMethodInfo
ResolveSpinnerMethod "setFocusOnClick" o = Gtk.Widget.WidgetSetFocusOnClickMethodInfo
ResolveSpinnerMethod "setFocusable" o = Gtk.Widget.WidgetSetFocusableMethodInfo
ResolveSpinnerMethod "setFontMap" o = Gtk.Widget.WidgetSetFontMapMethodInfo
ResolveSpinnerMethod "setFontOptions" o = Gtk.Widget.WidgetSetFontOptionsMethodInfo
ResolveSpinnerMethod "setHalign" o = Gtk.Widget.WidgetSetHalignMethodInfo
ResolveSpinnerMethod "setHasTooltip" o = Gtk.Widget.WidgetSetHasTooltipMethodInfo
ResolveSpinnerMethod "setHexpand" o = Gtk.Widget.WidgetSetHexpandMethodInfo
ResolveSpinnerMethod "setHexpandSet" o = Gtk.Widget.WidgetSetHexpandSetMethodInfo
ResolveSpinnerMethod "setLayoutManager" o = Gtk.Widget.WidgetSetLayoutManagerMethodInfo
ResolveSpinnerMethod "setMarginBottom" o = Gtk.Widget.WidgetSetMarginBottomMethodInfo
ResolveSpinnerMethod "setMarginEnd" o = Gtk.Widget.WidgetSetMarginEndMethodInfo
ResolveSpinnerMethod "setMarginStart" o = Gtk.Widget.WidgetSetMarginStartMethodInfo
ResolveSpinnerMethod "setMarginTop" o = Gtk.Widget.WidgetSetMarginTopMethodInfo
ResolveSpinnerMethod "setName" o = Gtk.Widget.WidgetSetNameMethodInfo
ResolveSpinnerMethod "setOpacity" o = Gtk.Widget.WidgetSetOpacityMethodInfo
ResolveSpinnerMethod "setOverflow" o = Gtk.Widget.WidgetSetOverflowMethodInfo
ResolveSpinnerMethod "setParent" o = Gtk.Widget.WidgetSetParentMethodInfo
ResolveSpinnerMethod "setProperty" o = GObject.Object.ObjectSetPropertyMethodInfo
ResolveSpinnerMethod "setReceivesDefault" o = Gtk.Widget.WidgetSetReceivesDefaultMethodInfo
ResolveSpinnerMethod "setSensitive" o = Gtk.Widget.WidgetSetSensitiveMethodInfo
ResolveSpinnerMethod "setSizeRequest" o = Gtk.Widget.WidgetSetSizeRequestMethodInfo
ResolveSpinnerMethod "setSpinning" o = SpinnerSetSpinningMethodInfo
ResolveSpinnerMethod "setStateFlags" o = Gtk.Widget.WidgetSetStateFlagsMethodInfo
ResolveSpinnerMethod "setTooltipMarkup" o = Gtk.Widget.WidgetSetTooltipMarkupMethodInfo
ResolveSpinnerMethod "setTooltipText" o = Gtk.Widget.WidgetSetTooltipTextMethodInfo
ResolveSpinnerMethod "setValign" o = Gtk.Widget.WidgetSetValignMethodInfo
ResolveSpinnerMethod "setVexpand" o = Gtk.Widget.WidgetSetVexpandMethodInfo
ResolveSpinnerMethod "setVexpandSet" o = Gtk.Widget.WidgetSetVexpandSetMethodInfo
ResolveSpinnerMethod "setVisible" o = Gtk.Widget.WidgetSetVisibleMethodInfo
ResolveSpinnerMethod l o = O.MethodResolutionFailed l o
instance (info ~ ResolveSpinnerMethod t Spinner, O.OverloadedMethod info Spinner p) => OL.IsLabel t (Spinner -> 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 ~ ResolveSpinnerMethod t Spinner, O.OverloadedMethod info Spinner p, R.HasField t Spinner p) => R.HasField t Spinner p where
getField = O.overloadedMethod @info
#endif
instance (info ~ ResolveSpinnerMethod t Spinner, O.OverloadedMethodInfo info Spinner) => OL.IsLabel t (O.MethodProxy info Spinner) where
#if MIN_VERSION_base(4,10,0)
fromLabel = O.MethodProxy
#else
fromLabel _ = O.MethodProxy
#endif
#endif
getSpinnerSpinning :: (MonadIO m, IsSpinner o) => o -> m Bool
getSpinnerSpinning :: forall (m :: * -> *) o. (MonadIO m, IsSpinner o) => o -> m Bool
getSpinnerSpinning 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
"spinning"
setSpinnerSpinning :: (MonadIO m, IsSpinner o) => o -> Bool -> m ()
setSpinnerSpinning :: forall (m :: * -> *) o.
(MonadIO m, IsSpinner o) =>
o -> Bool -> m ()
setSpinnerSpinning 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
"spinning" Bool
val
constructSpinnerSpinning :: (IsSpinner o, MIO.MonadIO m) => Bool -> m (GValueConstruct o)
constructSpinnerSpinning :: forall o (m :: * -> *).
(IsSpinner o, MonadIO m) =>
Bool -> m (GValueConstruct o)
constructSpinnerSpinning 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
"spinning" Bool
val
#if defined(ENABLE_OVERLOADING)
data SpinnerSpinningPropertyInfo
instance AttrInfo SpinnerSpinningPropertyInfo where
type AttrAllowedOps SpinnerSpinningPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint SpinnerSpinningPropertyInfo = IsSpinner
type AttrSetTypeConstraint SpinnerSpinningPropertyInfo = (~) Bool
type AttrTransferTypeConstraint SpinnerSpinningPropertyInfo = (~) Bool
type AttrTransferType SpinnerSpinningPropertyInfo = Bool
type AttrGetType SpinnerSpinningPropertyInfo = Bool
type AttrLabel SpinnerSpinningPropertyInfo = "spinning"
type AttrOrigin SpinnerSpinningPropertyInfo = Spinner
attrGet = getSpinnerSpinning
attrSet = setSpinnerSpinning
attrTransfer _ v = do
return v
attrConstruct = constructSpinnerSpinning
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Gtk.Objects.Spinner.spinning"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-gtk-4.0.8/docs/GI-Gtk-Objects-Spinner.html#g:attr:spinning"
})
#endif
#if defined(ENABLE_OVERLOADING)
instance O.HasAttributeList Spinner
type instance O.AttributeList Spinner = SpinnerAttributeList
type SpinnerAttributeList = ('[ '("accessibleRole", Gtk.Accessible.AccessibleAccessibleRolePropertyInfo), '("canFocus", Gtk.Widget.WidgetCanFocusPropertyInfo), '("canTarget", Gtk.Widget.WidgetCanTargetPropertyInfo), '("cssClasses", Gtk.Widget.WidgetCssClassesPropertyInfo), '("cssName", Gtk.Widget.WidgetCssNamePropertyInfo), '("cursor", Gtk.Widget.WidgetCursorPropertyInfo), '("focusOnClick", Gtk.Widget.WidgetFocusOnClickPropertyInfo), '("focusable", Gtk.Widget.WidgetFocusablePropertyInfo), '("halign", Gtk.Widget.WidgetHalignPropertyInfo), '("hasDefault", Gtk.Widget.WidgetHasDefaultPropertyInfo), '("hasFocus", Gtk.Widget.WidgetHasFocusPropertyInfo), '("hasTooltip", Gtk.Widget.WidgetHasTooltipPropertyInfo), '("heightRequest", Gtk.Widget.WidgetHeightRequestPropertyInfo), '("hexpand", Gtk.Widget.WidgetHexpandPropertyInfo), '("hexpandSet", Gtk.Widget.WidgetHexpandSetPropertyInfo), '("layoutManager", Gtk.Widget.WidgetLayoutManagerPropertyInfo), '("marginBottom", Gtk.Widget.WidgetMarginBottomPropertyInfo), '("marginEnd", Gtk.Widget.WidgetMarginEndPropertyInfo), '("marginStart", Gtk.Widget.WidgetMarginStartPropertyInfo), '("marginTop", Gtk.Widget.WidgetMarginTopPropertyInfo), '("name", Gtk.Widget.WidgetNamePropertyInfo), '("opacity", Gtk.Widget.WidgetOpacityPropertyInfo), '("overflow", Gtk.Widget.WidgetOverflowPropertyInfo), '("parent", Gtk.Widget.WidgetParentPropertyInfo), '("receivesDefault", Gtk.Widget.WidgetReceivesDefaultPropertyInfo), '("root", Gtk.Widget.WidgetRootPropertyInfo), '("scaleFactor", Gtk.Widget.WidgetScaleFactorPropertyInfo), '("sensitive", Gtk.Widget.WidgetSensitivePropertyInfo), '("spinning", SpinnerSpinningPropertyInfo), '("tooltipMarkup", Gtk.Widget.WidgetTooltipMarkupPropertyInfo), '("tooltipText", Gtk.Widget.WidgetTooltipTextPropertyInfo), '("valign", Gtk.Widget.WidgetValignPropertyInfo), '("vexpand", Gtk.Widget.WidgetVexpandPropertyInfo), '("vexpandSet", Gtk.Widget.WidgetVexpandSetPropertyInfo), '("visible", Gtk.Widget.WidgetVisiblePropertyInfo), '("widthRequest", Gtk.Widget.WidgetWidthRequestPropertyInfo)] :: [(Symbol, DK.Type)])
#endif
#if defined(ENABLE_OVERLOADING)
spinnerSpinning :: AttrLabelProxy "spinning"
spinnerSpinning = AttrLabelProxy
#endif
#if defined(ENABLE_OVERLOADING)
type instance O.SignalList Spinner = SpinnerSignalList
type SpinnerSignalList = ('[ '("destroy", Gtk.Widget.WidgetDestroySignalInfo), '("directionChanged", Gtk.Widget.WidgetDirectionChangedSignalInfo), '("hide", Gtk.Widget.WidgetHideSignalInfo), '("keynavFailed", Gtk.Widget.WidgetKeynavFailedSignalInfo), '("map", Gtk.Widget.WidgetMapSignalInfo), '("mnemonicActivate", Gtk.Widget.WidgetMnemonicActivateSignalInfo), '("moveFocus", Gtk.Widget.WidgetMoveFocusSignalInfo), '("notify", GObject.Object.ObjectNotifySignalInfo), '("queryTooltip", Gtk.Widget.WidgetQueryTooltipSignalInfo), '("realize", Gtk.Widget.WidgetRealizeSignalInfo), '("show", Gtk.Widget.WidgetShowSignalInfo), '("stateFlagsChanged", Gtk.Widget.WidgetStateFlagsChangedSignalInfo), '("unmap", Gtk.Widget.WidgetUnmapSignalInfo), '("unrealize", Gtk.Widget.WidgetUnrealizeSignalInfo)] :: [(Symbol, DK.Type)])
#endif
foreign import ccall "gtk_spinner_new" gtk_spinner_new ::
IO (Ptr Spinner)
spinnerNew ::
(B.CallStack.HasCallStack, MonadIO m) =>
m Spinner
spinnerNew :: forall (m :: * -> *). (HasCallStack, MonadIO m) => m Spinner
spinnerNew = IO Spinner -> m Spinner
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Spinner -> m Spinner) -> IO Spinner -> m Spinner
forall a b. (a -> b) -> a -> b
$ do
Ptr Spinner
result <- IO (Ptr Spinner)
gtk_spinner_new
Text -> Ptr Spinner -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"spinnerNew" Ptr Spinner
result
Spinner
result' <- ((ManagedPtr Spinner -> Spinner) -> Ptr Spinner -> IO Spinner
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
newObject ManagedPtr Spinner -> Spinner
Spinner) Ptr Spinner
result
Spinner -> IO Spinner
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Spinner
result'
#if defined(ENABLE_OVERLOADING)
#endif
foreign import ccall "gtk_spinner_get_spinning" gtk_spinner_get_spinning ::
Ptr Spinner ->
IO CInt
spinnerGetSpinning ::
(B.CallStack.HasCallStack, MonadIO m, IsSpinner a) =>
a
-> m Bool
spinnerGetSpinning :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsSpinner a) =>
a -> m Bool
spinnerGetSpinning a
spinner = 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 Spinner
spinner' <- a -> IO (Ptr Spinner)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
spinner
CInt
result <- Ptr Spinner -> IO CInt
gtk_spinner_get_spinning Ptr Spinner
spinner'
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
spinner
Bool -> IO Bool
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Bool
result'
#if defined(ENABLE_OVERLOADING)
data SpinnerGetSpinningMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsSpinner a) => O.OverloadedMethod SpinnerGetSpinningMethodInfo a signature where
overloadedMethod = spinnerGetSpinning
instance O.OverloadedMethodInfo SpinnerGetSpinningMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Gtk.Objects.Spinner.spinnerGetSpinning",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-gtk-4.0.8/docs/GI-Gtk-Objects-Spinner.html#v:spinnerGetSpinning"
})
#endif
foreign import ccall "gtk_spinner_set_spinning" gtk_spinner_set_spinning ::
Ptr Spinner ->
CInt ->
IO ()
spinnerSetSpinning ::
(B.CallStack.HasCallStack, MonadIO m, IsSpinner a) =>
a
-> Bool
-> m ()
spinnerSetSpinning :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsSpinner a) =>
a -> Bool -> m ()
spinnerSetSpinning a
spinner Bool
spinning = 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 Spinner
spinner' <- a -> IO (Ptr Spinner)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
spinner
let spinning' :: CInt
spinning' = (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
spinning
Ptr Spinner -> CInt -> IO ()
gtk_spinner_set_spinning Ptr Spinner
spinner' CInt
spinning'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
spinner
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data SpinnerSetSpinningMethodInfo
instance (signature ~ (Bool -> m ()), MonadIO m, IsSpinner a) => O.OverloadedMethod SpinnerSetSpinningMethodInfo a signature where
overloadedMethod = spinnerSetSpinning
instance O.OverloadedMethodInfo SpinnerSetSpinningMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Gtk.Objects.Spinner.spinnerSetSpinning",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-gtk-4.0.8/docs/GI-Gtk-Objects-Spinner.html#v:spinnerSetSpinning"
})
#endif
foreign import ccall "gtk_spinner_start" gtk_spinner_start ::
Ptr Spinner ->
IO ()
spinnerStart ::
(B.CallStack.HasCallStack, MonadIO m, IsSpinner a) =>
a
-> m ()
spinnerStart :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsSpinner a) =>
a -> m ()
spinnerStart a
spinner = 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 Spinner
spinner' <- a -> IO (Ptr Spinner)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
spinner
Ptr Spinner -> IO ()
gtk_spinner_start Ptr Spinner
spinner'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
spinner
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data SpinnerStartMethodInfo
instance (signature ~ (m ()), MonadIO m, IsSpinner a) => O.OverloadedMethod SpinnerStartMethodInfo a signature where
overloadedMethod = spinnerStart
instance O.OverloadedMethodInfo SpinnerStartMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Gtk.Objects.Spinner.spinnerStart",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-gtk-4.0.8/docs/GI-Gtk-Objects-Spinner.html#v:spinnerStart"
})
#endif
foreign import ccall "gtk_spinner_stop" gtk_spinner_stop ::
Ptr Spinner ->
IO ()
spinnerStop ::
(B.CallStack.HasCallStack, MonadIO m, IsSpinner a) =>
a
-> m ()
spinnerStop :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsSpinner a) =>
a -> m ()
spinnerStop a
spinner = 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 Spinner
spinner' <- a -> IO (Ptr Spinner)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
spinner
Ptr Spinner -> IO ()
gtk_spinner_stop Ptr Spinner
spinner'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
spinner
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data SpinnerStopMethodInfo
instance (signature ~ (m ()), MonadIO m, IsSpinner a) => O.OverloadedMethod SpinnerStopMethodInfo a signature where
overloadedMethod = spinnerStop
instance O.OverloadedMethodInfo SpinnerStopMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Gtk.Objects.Spinner.spinnerStop",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-gtk-4.0.8/docs/GI-Gtk-Objects-Spinner.html#v:spinnerStop"
})
#endif