{-# LANGUAGE TypeApplications #-}


-- | Copyright  : Will Thompson and Iñaki García Etxebarria
-- License    : LGPL-2.1
-- Maintainer : Iñaki García Etxebarria
-- 
-- The @PangoAttrClass@ structure stores the type and operations for
-- a particular type of attribute.
-- 
-- The functions in this structure should not be called directly. Instead,
-- one should use the wrapper functions provided for @PangoAttribute@.

#if !defined(__HADDOCK_VERSION__)
#define ENABLE_OVERLOADING
#endif

module GI.Pango.Structs.AttrClass
    ( 

-- * Exported types
    AttrClass(..)                           ,
    newZeroAttrClass                        ,


 -- * Methods

#if defined(ENABLE_OVERLOADING)
    ResolveAttrClassMethod                  ,
#endif



 -- * Properties


-- ** copy #attr:copy#
-- | function to duplicate an attribute of this type
--   (see 'GI.Pango.Structs.Attribute.attributeCopy')

#if defined(ENABLE_OVERLOADING)
    attrClass_copy                          ,
#endif
    clearAttrClassCopy                      ,
    getAttrClassCopy                        ,
    setAttrClassCopy                        ,


-- ** destroy #attr:destroy#
-- | function to free an attribute of this type
--   (see 'GI.Pango.Structs.Attribute.attributeDestroy')

#if defined(ENABLE_OVERLOADING)
    attrClass_destroy                       ,
#endif
    clearAttrClassDestroy                   ,
    getAttrClassDestroy                     ,
    setAttrClassDestroy                     ,


-- ** equal #attr:equal#
-- | function to check two attributes of this type for equality
--   (see 'GI.Pango.Structs.Attribute.attributeEqual')

#if defined(ENABLE_OVERLOADING)
    attrClass_equal                         ,
#endif
    clearAttrClassEqual                     ,
    getAttrClassEqual                       ,
    setAttrClassEqual                       ,


-- ** type #attr:type#
-- | the type ID for this attribute

#if defined(ENABLE_OVERLOADING)
    attrClass_type                          ,
#endif
    getAttrClassType                        ,
    setAttrClassType                        ,




    ) 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
-- Workaround for https://gitlab.haskell.org/ghc/ghc/-/issues/23392
#if MIN_VERSION_base(4,18,0)
 as B.GValue
])

#endif

-- methid="(a -> b) -> a -> b

an class="hs-comment">--           , argCallerAllocates = False
--           , argCallbackUserData = False

0000644000000000000000000107366215144163325025321 0ustar rootroot9586621679262986">result <- result Matrix jMatrix a context SP.ord an cl-- 81 } -- , argScope = Sco.Objects.FontsetSimple.html">GI.Pango.Objects.FontsetSimple import -- , Arg -- { argCName = "index_" -- , argType = TBasicType TIntpango_font_map_reload_font fontmap' font' scale' maybeContext maybeVariations -- , sinceVersion = Nothingimport qualified class="hs-special">, result <- ))Pango.FontMap.FontMap) = IO (Maybe Matrix) -> m (Maybe Matrix) forall a. IO a -> m a forall (m :: * -> *) a. MonadIO m => IO a -> m a qualified Data.GI.Base.GVariant as pattern GLYPH_UNKNOWN_Fitle="GI.Pango.Objects.FontMap">GI.Pango.Objects.FontMap, GI.Pango.Objects, GI.PangoIsFontsetunsafeManagedPtrCastPtr as pattern GLYPH_UNKNOWN_Fitle="GI.Pango.Objects.FontMap">GI.o.Structs.Item" , Text "GI.Pannnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn id="line-408"> -- | Set the value of the “@level@” field. -- When <https://github.com/haskell-gi/haskell-gi/wiki/Coverage a, IsCoverage b) => a -> b -> m () -- | Create a new PangoCoverage coverageNew :: (HasCallStack, MonadIO m) => m Coverage -- | Increase the reference count on the PangoCoverage by one. -- | Deprecated: (Since version 1.52)Use g_object_ref iI.Pango.Structs.Analysis.html#setAnalysisLevel">setAnalysisLevel Analysis of Maybe FontDescription -> do lyph">= "https://hackage.haskell.org/package/gi-pango-1.0.30/docs/GI-Pango-Structs-Analysis.html#g:attr:flags" jss="hc/libghc-haskell-gi-base-doc/html/src/Data.G/span> -- , argDoc = -- Doc"line-4086"> O.resolvedSymbolURL = &quo -- @lib/ghc/lib/../../../share/doc/ghc-doc/html/libraries/base-4.20.2.0-inplace/src/Control.Monad.IO.Class.html#liftIO">MIO.h21ass="hs-identifier">o = GObject.Object.ObjectNotifyByPspecMethodInfo ResolveFontMapMethod-- | Set the value of the “@level@” field. attrClass_eque.ManagedPtr.html#withManagedPtr">withManagedPtr Analysis s an> ass="annot">setAttrClassCopy . CUInt -> Int forall a b. (Integral a, Num b) => a -> b .) CUInt resultpango_context_set_base_dir :: MonadIO m => Matrix -> m gvalueGType_ FontsetSimple Gio.ListModel IO (Ptr<(2pan> Layout, -- , argScope = ScopeTypeInvalid -- , argClosure = -1 -- ^ the ultralight weight (= 200) | -- ib/ghport attrClass_eque.ManagedPtr.html#withManagedPtr">withManagedPtr -- }/../../../share/doc/ghc-doc/html/libraries/ghc-internal-9.1003.0-inplace/src/GHC.Internal.Ptr.html#Ptr">Ptr Fontset-> Analysis attrGet layout = IO Alignment -> m Alignment forall a. IO a -> m a foras-identifier">B.GParamSpec fontMapChanged :: forall (m :: * -> *) a. (HasCallStack, MonadIO m, IsFo>-- , transfer = TransferNothing -- (6 } -- , Arg = "https://hackage.hasn> qualified GI.Pango.Objects.Font Int 4 = P.Just (O.ResolvedSymbolInfo { 87="hs-comment">-- 'Data.GI.Base.Attributes.set' analysis [ #language 'Data.GI.Base.Attributes.:=' value ] -- @ -- ">setAnalysisLanguage :: MonadIO < -- Skip return : False foreign importMonadIO < -- Skip return : False foreign importMonadIO 32/span> foreign importMonadIO 32/span> foreignGI.Pango.Enums, GI.PangoScriptOlChikiGI.Pango.Enums, GI.Pangocompare LayoutDeserializeError as Pango.Matrix import {-# SOURCE #-} qualified < Pango.RectangleliftIO import 4hs-keyword">import 4hs-keyword">import ocal-6989586621679276555">directionvar">jColor' <- Color -> IO (Ptr Color) forall a. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr a) Int32 -> -- length : TBries/ghc-internal-9.100se.Utils.html#freeMem">freeMem<$> B.Managedfile:///usr/share/doc/libghc-haskell-gi-base-ier hs-type">B.Managedfile:///usr/share/doc/libghc-haskell-gi-base-iet {-# SOURCE #-} qualified GI.Pnot">-- layout : TInte> ot../../../share/doc/ghc-doc/html/libraries/ghc-prim-0.12.77inplace/src/GHC.Types.html#IO">IO IO 268435455 bytes <- import qualified Data.GI.Bib/../../../share/doc/ghc-doc/html/libraries/ghc-internal-9.1003.0-inplace/src/GHC.Internal.Enum.html#toEnum">toEnum Int 9cb'' IO (FunPtr C_FontsetForeachFunc) -> (FunPtr an class="annot">Int skipSpace :: forall (m :: * ->I.PangofontDescriptionGetColor Ptr -- ** EllipsizeMode #enum:EllipsizeMode# gv GI.Pango.Objects.Fontset.IsFontset o instance Data.GI.Base.GValue.IsGValue (GHC.Internal.Maybe.Maybe GI.Pango.Objects.Fontset.Fontset)text">clearAnalysisExtraAttrs :: forall (m :: * -> *). MonadIO m => Anar hs-var">realToFracclearAnalysisExtraAttrs Analysis s (-- , argCallbackUserData = False -- , transfer = TransferNothing = GI.Pango.Objects.Layout, GI.Pango.Objects, II.Pango fontDescriptionGetColorSince: 1.20 rendererGetLayoutLine :: (HasCallStack, MonadIO m, IsRenderer a) => a -> m (Maybe LayoutLine) -- | Gets the transformation matrix that will be applied when rendering. -- -- See rendererSects, GI.PangoGI.Pango.Structs.FontDescription, GI.Pango.Structs, GI.PangofontDescriptionUnsetFields Ptr CChar forall a. Ptr a 3">-- , direction = DirectionIn -- cts.Object#g:method:isFloating"), [itemsChanged]("GI.Gio.Interfaces.ListModel#g:method:itemsChanged"), [listFamilies]("GI.Pango.Objects.FontMap#g:method:listFamilies"), [loadFonraries/ghc-internal-9.1003.0-inplace/src/GHClass="hs-comment">-- , argScope = Sco.Objects.FontsetSimple.html">GI.Pango.Objects.FontsetSimpleAnalysis sAnalysis sGI.Pango.Objects.FontsetSimplefromEnum<>, #endif n> (Ptr fromEnum Style -- *="annot">FontMap where IO