{-# LANGUAGE TypeApplications #-}


-- | Copyright  : Will Thompson and Iñaki García Etxebarria
-- License    : LGPL-2.1
-- Maintainer : Iñaki García Etxebarria
-- 
-- /No description available in the introspection data./

#if (MIN_VERSION_haskell_gi_overloading(1,0,0) && !defined(__HADDOCK_VERSION__))
#define ENABLE_OVERLOADING
#endif

module GI.Dazzle.Objects.ThemeManager
    ( 

-- * Exported types
    ThemeManager(..)                        ,
    IsThemeManager                          ,
    toThemeManager                          ,


 -- * Methods
-- | 
-- 
--  === __Click to display all available methods, including inherited ones__
-- ==== Methods
-- [addResources]("GI.Dazzle.Objects.ThemeManager#g:method:addResources"), [bindProperty]("GI.GObject.Objects.Object#g:method:bindProperty"), [bindPropertyFull]("GI.GObject.Objects.Object#g:method:bindPropertyFull"), [forceFloating]("GI.GObject.Objects.Object#g:method:forceFloating"), [freezeNotify]("GI.GObject.Objects.Object#g:method:freezeNotify"), [getv]("GI.GObject.Objects.Object#g:method:getv"), [isFloating]("GI.GObject.Objects.Object#g:method:isFloating"), [notify]("GI.GObject.Objects.Object#g:method:notify"), [notifyByPspec]("GI.GObject.Objects.Object#g:method:notifyByPspec"), [ref]("GI.GObject.Objects.Object#g:method:ref"), [refSink]("GI.GObject.Objects.Object#g:method:refSink"), [removeResources]("GI.Dazzle.Objects.ThemeManager#g:method:removeResources"), [runDispose]("GI.GObject.Objects.Object#g:method:runDispose"), [stealData]("GI.GObject.Objects.Object#g:method:stealData"), [stealQdata]("GI.GObject.Objects.Object#g:method:stealQdata"), [thawNotify]("GI.GObject.Objects.Object#g:method:thawNotify"), [unref]("GI.GObject.Objects.Object#g:method:unref"), [watchClosure]("GI.GObject.Objects.Object#g:method:watchClosure").
-- 
-- ==== Getters
-- [getData]("GI.GObject.Objects.Object#g:method:getData"), [getProperty]("GI.GObject.Objects.Object#g:method:getProperty"), [getQdata]("GI.GObject.Objects.Object#g:method:getQdata").
-- 
-- ==== Setters
-- [setData]("GI.GObject.Objects.Object#g:method:setData"), [setDataFull]("GI.GObject.Objects.Object#g:method:setDataFull"), [setProperty]("GI.GObject.Objects.Object#g:method:setProperty").

#if defined(ENABLE_OVERLOADING)
    ResolveThemeManagerMethod               ,
#endif

-- ** addResources #method:addResources#

#if defined(ENABLE_OVERLOADING)
    ThemeManagerAddResourcesMethodInfo      ,
#endif
    themeManagerAddResources                ,


-- ** new #method:new#

    themeManagerNew                         ,


-- ** removeResources #method:removeResources#

#if defined(ENABLE_OVERLOADING)
    ThemeManagerRemoveResourcesMethodInfo   ,
#endif
    themeManagerRemoveResources             ,




    ) 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

-- Workaround for https://gitlab.haskell.org/ghc/ghc/-/issues/23392
#if MIN_VERSION_base(4,18,0)
import qualified GI.GObject.Objects.Object as GObject.Object

#else
import qualified GI.GObject.Objects.Object as GObject.Object

#endif

-- | Memory-managed wrapper type.
newtype ThemeManager = ThemeManager (SP.ManagedPtr ThemeManager)
    deriving (ThemeManager -> ThemeManager -> Bool
(ThemeManager -> ThemeManager -> Bool)
-> (ThemeManager -> ThemeManager -> Bool) -> Eq ThemeManager
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: ThemeManager -> ThemeManager -> Bool
== :: ThemeManager -> ThemeManager -> Bool
$c/= :: ThemeManager -> ThemeManager -> Bool
/= :: ThemeManager -> ThemeManager -> Bool
Eq)

instance SP.ManagedPtrNewtype ThemeManager where
    toManagedPtr :: ThemeManager -> ManagedPtr ThemeManager
toManagedPtr (ThemeManager ManagedPtr ThemeManager
p) = ManagedPtr ThemeManager
p

foreign import ccall "dzl_theme_manager_get_type"
    c_dzl_theme_manager_get_type :: IO B.Types.GType

instance B.Types.TypedObject ThemeManager where
    glibType :: IO GType
glibType = IO GType
c_dzl_theme_manager_get_type

instance B.Types.GObject ThemeManager

-- | Type class for types which can be safely cast to `ThemeManager`, for instance with `toThemeManager`.
class (SP.GObject o, O.IsDescendantOf ThemeManager o) => IsThemeManager o
instance (SP.GObject o, O.IsDescendantOf ThemeManager o) => IsThemeManager o

instance O.HasParentTypes ThemeManager
type instance O.ParentTypes ThemeManager = '[GObject.Object.Object]

-- | Cast to `ThemeManager`, for types for which this is known to be safe. For general casts, use `Data.GI.Base.ManagedPtr.castTo`.
toThemeManager :: (MIO.MonadIO m, IsThemeManager o) => o -> m ThemeManager
toThemeManager :: forall (m :: * -> *) o.
(MonadIO m, IsThemeManager o) =>
o -> m ThemeManager
toThemeManager = IO ThemeManager -> m ThemeManager
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO ThemeManager -> m ThemeManager)
-> (o -> IO ThemeManager) -> o -> m ThemeManager
forall b c a. (b -> c) -> (a -> b) -> a -> c
. (ManagedPtr ThemeManager -> ThemeManager) -> o -> IO ThemeManager
forall o o'.
(HasCallStack, ManagedPtrNewtype o, TypedObject o,
 ManagedPtrNewtype o', TypedObject o') =>
(ManagedPtr o' -> o') -> o -> IO o'
B.ManagedPtr.unsafeCastTo ManagedPtr ThemeManager -> ThemeManager
ThemeManager

-- | Convert 'ThemeManager' to and from 'Data.GI.Base.GValue.GValue'. See 'Data.GI.Base.GValue.toGValue' and 'Data.GI.Base.GValue.fromGValue'.
instance B.GValue.IsGValue (Maybe ThemeManager) where
    gvalueGType_ :: IO GType
gvalueGType_ = IO GType
c_dzl_theme_manager_get_type
    gvalueSet_ :: Ptr GValue -> Maybe ThemeManager -> IO ()
gvalueSet_ Ptr GValue
gv Maybe ThemeManager
P.Nothing = Ptr GValue -> Ptr ThemeManager -> IO ()
forall a. GObject a => Ptr GValue -> Ptr a -> IO ()
B.GValue.set_object Ptr GValue
gv (Ptr ThemeManager
forall a. Ptr a
FP.nullPtr :: FP.Ptr ThemeManager)
    gvalueSet_ Ptr GValue
gv (P.Just ThemeManager
obj) = ThemeManager -> (Ptr ThemeManager -> IO ()) -> IO ()
forall a c.
(HasCallStack, ManagedPtrNewtype a) =>
a -> (Ptr a -> IO c) -> IO c
B.ManagedPtr.withManagedPtr ThemeManager
obj (Ptr GValue -> Ptr ThemeManager -> IO ()
forall a. GObject a => Ptr GValue -> Ptr a -> IO ()
B.GValue.set_object Ptr GValue
gv)
    gvalueGet_ :: Ptr GValue -> IO (Maybe ThemeManager)
gvalueGet_ Ptr GValue
gv = do
        Ptr ThemeManager
ptr <- Ptr GValue -> IO (Ptr ThemeManager)
forall a. GObject a => Ptr GValue -> IO (Ptr a)
B.GValue.get_object Ptr GValue
gv :: IO (FP.Ptr ThemeManager)
        if Ptr ThemeManager
ptr Ptr ThemeManager -> Ptr ThemeManager -> Bool
forall a. Eq a => a -> a -> Bool
/= Ptr ThemeManager
forall a. Ptr a
FP.nullPtr
        then ThemeManager -> Maybe ThemeManager
forall a. a -> Maybe a
P.Just (ThemeManager -> Maybe ThemeManager)
-> IO ThemeManager -> IO (Maybe ThemeManager)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> (ManagedPtr ThemeManager -> ThemeManager)
-> Ptr ThemeManager -> IO ThemeManager
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
B.ManagedPtr.newObject ManagedPtr ThemeManager -> ThemeManager
ThemeManager Ptr ThemeManager
ptr
        else Maybe ThemeManager -> IO (Maybe ThemeManager)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Maybe ThemeManager
forall a. Maybe a
P.Nothing
        
    

#if defined(ENABLE_OVERLOADING)
type family ResolveThemeManagerMethod (t :: Symbol) (o :: DK.Type) :: DK.Type where
    ResolveThemeManagerMethod "addResources" o = ThemeManagerAddResourcesMethodInfo
    ResolveThemeManagerMethod "bindProperty" o = GObject.Object.ObjectBindPropertyMethodInfo
    ResolveThemeManagerMethod "bindPropertyFull" o = GObject.Object.ObjectBindPropertyFullMethodInfo
    ResolveThemeManagerMethod "forceFloating" o = GObject.Object.ObjectForceFloatingMethodInfo
    ResolveThemeManagerMethod "freezeNotify" o = GObject.Object.ObjectFreezeNotifyMethodInfo
    ResolveThemeManagerMethod "getv" o = GObject.Object.ObjectGetvMethodInfo
    ResolveThemeManagerMethod "isFloating" o = GObject.Object.ObjectIsFloatingMethodInfo
    ResolveThemeManagerMethod "notify" o = GObject.Object.ObjectNotifyMethodInfo
    ResolveThemeManagerMethod "notifyByPspec" o = GObject.Object.ObjectNotifyByPspecMethodInfo
    ResolveThemeManagerMethod "ref" o = GObject.Object.ObjectRefMethodInfo
    ResolveThemeManagerMethod "refSink" o = GObject.Object.ObjectRefSinkMethodInfo
    ResolveThemeManagerMethod "removeResources" o = ThemeManagerRemoveResourcesMethodInfo
    ResolveThemeManagerMethod "runDispose" o = GObject.Object.ObjectRunDisposeMethodInfo
    ResolveThemeManagerMethod "stealData" o = GObject.Object.ObjectStealDataMethodInfo
    ResolveThemeManagerMethod "stealQdata" o = GObject.Object.ObjectStealQdataMethodInfo
    ResolveThemeManagerMethod "thawNotify" o = GObject.Object.ObjectThawNotifyMethodInfo
    ResolveThemeManagerMethod "unref" o = GObject.Object.ObjectUnrefMethodInfo
    ResolveThemeManagerMethod "watchClosure" o = GObject.Object.ObjectWatchClosureMethodInfo
    ResolveThemeManagerMethod "getData" o = GObject.Object.ObjectGetDataMethodInfo
    ResolveThemeManagerMethod "getProperty" o = GObject.Object.ObjectGetPropertyMethodInfo
    ResolveThemeManagerMethod "getQdata" o = GObject.Object.ObjectGetQdataMethodInfo
    ResolveThemeManagerMethod "setData" o = GObject.Object.ObjectSetDataMethodInfo
    ResolveThemeManagerMethod "setDataFull" o = GObject.Object.ObjectSetDataFullMethodInfo
    ResolveThemeManagerMethod "setProperty" o = GObject.Object.ObjectSetPropertyMethodInfo
    ResolveThemeManagerMethod l o = O.MethodResolutionFailed l o

instance (info ~ ResolveThemeManagerMethod t ThemeManager, O.OverloadedMethod info ThemeManager p) => OL.IsLabel t (ThemeManager -> 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 ~ ResolveThemeManagerMethod t ThemeManager, O.OverloadedMethod info ThemeManager p, R.HasField t ThemeManager p) => R.HasField t ThemeManager p where
    getField = O.overloadedMethod @info

#endif

instance (info ~ ResolveThemeManagerMethod t ThemeManager, O.OverloadedMethodInfo info ThemeManager) => OL.IsLabel t (O.MethodProxy info ThemeManager) where
#if MIN_VERSION_base(4,10,0)
    fromLabel = O.MethodProxy
#else
    fromLabel _ = O.MethodProxy
#endif

#endif

#if defined(ENABLE_OVERLOADING)
instance O.HasAttributeList ThemeManager
type instance O.AttributeList ThemeManager = ThemeManagerAttributeList
type ThemeManagerAttributeList = ('[ ] :: [(Symbol, DK.Type)])
#endif

#if defined(ENABLE_OVERLOADING)
#endif

#if defined(ENABLE_OVERLOADING)
type instance O.SignalList ThemeManager = ThemeManagerSignalList
type ThemeManagerSignalList = ('[ '("notify", GObject.Object.ObjectNotifySignalInfo)] :: [(Symbol, DK.Type)])

#endif

-- method ThemeManager::new
-- method type : Constructor
-- Args: []
-- Lengths: []
-- returnType: Just
--               (TInterface Name { namespace = "Dazzle" , name = "ThemeManager" })
-- throws : False
-- Skip return : False

foreign import ccall "dzl_theme_manager_new" dzl_theme_manager_new :: 
    IO (Ptr ThemeManager)

-- | /No description available in the introspection data./
themeManagerNew ::
    (B.CallStack.HasCallStack, MonadIO m) =>
    m ThemeManager
themeManagerNew :: forall (m :: * -> *). (HasCallStack, MonadIO m) => m ThemeManager
themeManagerNew  = IO ThemeManager -> m ThemeManager
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO ThemeManager -> m ThemeManager)
-> IO ThemeManager -> m ThemeManager
forall a b. (a -> b) -> a -> b
$ do
    Ptr ThemeManager
result <- IO (Ptr ThemeManager)
dzl_theme_manager_new
    Text -> Ptr ThemeManager -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"themeManagerNew" Ptr ThemeManager
result
    ThemeManager
result' <- ((ManagedPtr ThemeManager -> ThemeManager)
-> Ptr ThemeManager -> IO ThemeManager
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
wrapObject ManagedPtr ThemeManager -> ThemeManager
ThemeManager) Ptr ThemeManager
result
    ThemeManager -> IO ThemeManager
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ThemeManager
result'

#if defined(ENABLE_OVERLOADING)
#endif

-- method ThemeManager::add_resources
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface Name { namespace = "Dazzle" , name = "ThemeManager" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "a #DzlThemeManager" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , argCallbackUserData = False
--           , transfer = TransferNothing
--           }
--       , Arg
--           { argCName = "resource_path"
--           , argType = TBasicType TUTF8
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "A path to a #GResources directory"
--                 , sinceVersion = Nothing
--                 }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , argCallbackUserData = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Nothing
-- throws : False
-- Skip return : False

foreign import ccall "dzl_theme_manager_add_resources" dzl_theme_manager_add_resources :: 
    Ptr ThemeManager ->                     -- self : TInterface (Name {namespace = "Dazzle", name = "ThemeManager"})
    CString ->                              -- resource_path : TBasicType TUTF8
    IO ()

-- | This will automatically register resources found within /@resourcePath@/.
-- 
-- If /@resourcePath@/ starts with \"resource:\/\/\", embedded @/GResources/@ will be
-- used to locate the theme files. Otherwise, /@resourcePath@/ is expected to be
-- a path on disk that may or may not exist.
-- 
-- If the /@resourcePath@/ contains a directory named \"themes\", that directory
-- will be traversed for files matching the theme name and variant. For
-- example, if using the Adwaita theme, \"themes\/Adwaita.css\" will be loaded. If
-- the dark variant is being used, \"themes\/Adwaita-dark.css\" will be loaeded. If
-- no matching theme file is located, \"themes\/shared.css\" will be loaded.
-- 
-- When the current theme changes, the CSS will be reloaded to adapt.
-- 
-- The \"icons\" sub-directory will be used to locate icon themes.
themeManagerAddResources ::
    (B.CallStack.HasCallStack, MonadIO m, IsThemeManager a) =>
    a
    -- ^ /@self@/: a t'GI.Dazzle.Objects.ThemeManager.ThemeManager'
    -> T.Text
    -- ^ /@resourcePath@/: A path to a @/GResources/@ directory
    -> m ()
themeManagerAddResources :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsThemeManager a) =>
a -> Text -> m ()
themeManagerAddResources a
self Text
resourcePath = 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 ThemeManager
self' <- a -> IO (Ptr ThemeManager)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    CString
resourcePath' <- Text -> IO CString
textToCString Text
resourcePath
    Ptr ThemeManager -> CString -> IO ()
dzl_theme_manager_add_resources Ptr ThemeManager
self' CString
resourcePath'
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    CString -> IO ()
forall a. Ptr a -> IO ()
freeMem CString
resourcePath'
    () -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()

#if defined(ENABLE_OVERLOADING)
data ThemeManagerAddResourcesMethodInfo
instance (signature ~ (T.Text -> m ()), MonadIO m, IsThemeManager a) => O.OverloadedMethod ThemeManagerAddResourcesMethodInfo a signature where
    overloadedMethod = themeManagerAddResources

instance O.OverloadedMethodInfo ThemeManagerAddResourcesMethodInfo a where
    overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.Dazzle.Objects.ThemeManager.themeManagerAddResources",
        O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-dazzle-1.0.2/docs/GI-Dazzle-Objects-ThemeManager.html#v:themeManagerAddResources"
        })


#endif

-- method ThemeManager::remove_resources
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface Name { namespace = "Dazzle" , name = "ThemeManager" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "a #DzlThemeManager" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , argCallbackUserData = False
--           , transfer = TransferNothing
--           }
--       , Arg
--           { argCName = "resource_path"
--           , argType = TBasicType TUTF8
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "A previously registered resources path"
--                 , sinceVersion = Nothing
--                 }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , argCallbackUserData = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Nothing
-- throws : False
-- Skip return : False

foreign import ccall "dzl_theme_manager_remove_resources" dzl_theme_manager_remove_resources :: 
    Ptr ThemeManager ->                     -- self : TInterface (Name {namespace = "Dazzle", name = "ThemeManager"})
    CString ->                              -- resource_path : TBasicType TUTF8
    IO ()

-- | This removes the CSS providers that were registered using /@resourcePath@/.
-- 
-- You must have previously called 'GI.Dazzle.Objects.ThemeManager.themeManagerAddResources' for
-- this function to do anything.
-- 
-- Since icons cannot be unloaded, previously loaded icons will continue to
-- be available even after calling this function.
themeManagerRemoveResources ::
    (B.CallStack.HasCallStack, MonadIO m, IsThemeManager a) =>
    a
    -- ^ /@self@/: a t'GI.Dazzle.Objects.ThemeManager.ThemeManager'
    -> T.Text
    -- ^ /@resourcePath@/: A previously registered resources path
    -> m ()
themeManagerRemoveResources :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsThemeManager a) =>
a -> Text -> m ()
themeManagerRemoveResources a
self Text
resourcePath = 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 ThemeManager
self' <- a -> IO (Ptr ThemeManager)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    CString
resourcePath' <- Text -> IO CString
textToCString Text
resourcePath
    Ptr ThemeManager -> CString -> IO ()
dzl_theme_manager_remove_resources Ptr ThemeManager
self' CString
resourcePath'
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    CString -> IO ()
forall a. Ptr a -> IO ()
freeMem CString
resourcePath'
    () -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()

#if defined(ENABLE_OVERLOADING)
data ThemeManagerRemoveResourcesMethodInfo
instance (signature ~ (T.Text -> m ()), MonadIO m, IsThemeManager a) => O.OverloadedMethod ThemeManagerRemoveResourcesMethodInfo a signature where
    overloadedMethod = themeManagerRemoveResources

instance O.OverloadedMethodInfo ThemeManagerRemoveResourcesMethodInfo a where
    overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.Dazzle.Objects.ThemeManager.themeManagerRemoveResources",
        O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-dazzle-1.0.2/docs/GI-Dazzle-Objects-ThemeManager.html#v:themeManagerRemoveResources"
        })


#endif