gi-secret
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.Secret.Structs.SchemaAttribute

Description

An attribute in a Schema.

Synopsis

Exported types

newtype SchemaAttribute Source #

Memory-managed wrapper type.

Instances

Instances details
Eq SchemaAttribute Source # 
Instance details

Defined in GI.Secret.Structs.SchemaAttribute

GBoxed SchemaAttribute Source # 
Instance details

Defined in GI.Secret.Structs.SchemaAttribute

ManagedPtrNewtype SchemaAttribute Source # 
Instance details

Defined in GI.Secret.Structs.SchemaAttribute

TypedObject SchemaAttribute Source # 
Instance details

Defined in GI.Secret.Structs.SchemaAttribute

Methods

glibType :: IO GType #

HasParentTypes SchemaAttribute Source # 
Instance details

Defined in GI.Secret.Structs.SchemaAttribute

tag ~ 'AttrSet => Constructible SchemaAttribute tag Source # 
Instance details

Defined in GI.Secret.Structs.SchemaAttribute

HasAttributeList SchemaAttribute Source # 
Instance details

Defined in GI.Secret.Structs.SchemaAttribute

(info ~ ResolveSchemaAttributeMethod t SchemaAttribute, OverloadedMethod info SchemaAttribute p, HasField t SchemaAttribute p) => HasField (t :: Symbol) SchemaAttribute p Source # 
Instance details

Defined in GI.Secret.Structs.SchemaAttribute

Methods

getField :: SchemaAttribute -> p #

(info ~ ResolveSchemaAttributeMethod t SchemaAttribute, OverloadedMethodInfo info SchemaAttribute) => IsLabel t (MethodProxy info SchemaAttribute) Source # 
Instance details

Defined in GI.Secret.Structs.SchemaAttribute

Methods

fromLabel :: MethodProxy info SchemaAttribute #

(info ~ ResolveSchemaAttributeMethod t SchemaAttribute, OverloadedMethod info SchemaAttribute p) => IsLabel t (SchemaAttribute -> p) Source # 
Instance details

Defined in GI.Secret.Structs.SchemaAttribute

Methods

fromLabel :: SchemaAttribute -> p #

IsGValue (Maybe SchemaAttribute) Source #

Convert SchemaAttribute to and from GValue. See toGValue and fromGValue.

Instance details

Defined in GI.Secret.Structs.SchemaAttribute

type AttributeList SchemaAttribute Source # 
Instance details

Defined in GI.Secret.Structs.SchemaAttribute

type AttributeList SchemaAttribute
type ParentTypes SchemaAttribute Source # 
Instance details

Defined in GI.Secret.Structs.SchemaAttribute

type ParentTypes SchemaAttribute = '[] :: [Type]

newZeroSchemaAttribute :: MonadIO m => m SchemaAttribute Source #

Construct a SchemaAttribute struct initialized to zero.

Methods

type family ResolveSchemaAttributeMethod (t :: Symbol) o where ... Source #

Equations

ResolveSchemaAttributeMethod l o = MethodResolutionFailed l o :: Type 

Properties

name

name of the attribute

clearSchemaAttributeName :: MonadIO m => SchemaAttribute -> m () Source #

Set the value of the “name” field to Nothing. When overloading is enabled, this is equivalent to

clear #name

getSchemaAttributeName :: MonadIO m => SchemaAttribute -> m (Maybe Text) Source #

Get the value of the “name” field. When overloading is enabled, this is equivalent to

get schemaAttribute #name

schemaAttribute_name :: AttrLabelProxy "name" Source #

setSchemaAttributeName :: MonadIO m => SchemaAttribute -> CString -> m () Source #

Set the value of the “name” field. When overloading is enabled, this is equivalent to

set schemaAttribute [ #name := value ]

type

the type of the attribute

getSchemaAttributeType :: MonadIO m => SchemaAttribute -> m SchemaAttributeType Source #

Get the value of the “type” field. When overloading is enabled, this is equivalent to

get schemaAttribute #type

schemaAttribute_type :: AttrLabelProxy "type" Source #

setSchemaAttributeType :: MonadIO m => SchemaAttribute -> SchemaAttributeType -> m () Source #

Set the value of the “type” field. When overloading is enabled, this is equivalent to

set schemaAttribute [ #type := value ]