Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Structure representing a name ID in a particular language.
Since: 2.1.0
Synopsis
- newtype OtNameEntryT = OtNameEntryT (ManagedPtr OtNameEntryT)
- newZeroOtNameEntryT :: MonadIO m => m OtNameEntryT
- getOtNameEntryTLanguage :: MonadIO m => OtNameEntryT -> m LanguageT
- getOtNameEntryTNameId :: MonadIO m => OtNameEntryT -> m Word32
- setOtNameEntryTNameId :: MonadIO m => OtNameEntryT -> Word32 -> m ()
Exported types
newtype OtNameEntryT Source #
Memory-managed wrapper type.
Instances
Eq OtNameEntryT Source # | |
Defined in GI.HarfBuzz.Structs.OtNameEntryT (==) :: OtNameEntryT -> OtNameEntryT -> Bool # (/=) :: OtNameEntryT -> OtNameEntryT -> Bool # | |
BoxedPtr OtNameEntryT Source # | |
Defined in GI.HarfBuzz.Structs.OtNameEntryT boxedPtrCopy :: OtNameEntryT -> IO OtNameEntryT # boxedPtrFree :: OtNameEntryT -> IO () # | |
CallocPtr OtNameEntryT Source # | |
Defined in GI.HarfBuzz.Structs.OtNameEntryT boxedPtrCalloc :: IO (Ptr OtNameEntryT) # | |
ManagedPtrNewtype OtNameEntryT Source # | |
Defined in GI.HarfBuzz.Structs.OtNameEntryT | |
tag ~ 'AttrSet => Constructible OtNameEntryT tag Source # | |
Defined in GI.HarfBuzz.Structs.OtNameEntryT new :: MonadIO m => (ManagedPtr OtNameEntryT -> OtNameEntryT) -> [AttrOp OtNameEntryT tag] -> m OtNameEntryT # |
newZeroOtNameEntryT :: MonadIO m => m OtNameEntryT Source #
Construct a OtNameEntryT
struct initialized to zero.
Methods
Properties
language
language
getOtNameEntryTLanguage :: MonadIO m => OtNameEntryT -> m LanguageT Source #
Get the value of the “language
” field.
When overloading is enabled, this is equivalent to
get
otNameEntryT #language
nameId
name ID
getOtNameEntryTNameId :: MonadIO m => OtNameEntryT -> m Word32 Source #
Get the value of the “name_id
” field.
When overloading is enabled, this is equivalent to
get
otNameEntryT #nameId
setOtNameEntryTNameId :: MonadIO m => OtNameEntryT -> Word32 -> m () Source #
Set the value of the “name_id
” field.
When overloading is enabled, this is equivalent to
set
otNameEntryT [ #nameId:=
value ]