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

GI.Gio.Structs.StaticResource

Description

GStaticResource is an opaque data structure and can only be accessed using the following functions.

Synopsis

Exported types

newtype StaticResource Source #

Memory-managed wrapper type.

Instances

Instances details
Eq StaticResource Source # 
Instance details

Defined in GI.Gio.Structs.StaticResource

BoxedPtr StaticResource Source # 
Instance details

Defined in GI.Gio.Structs.StaticResource

CallocPtr StaticResource Source # 
Instance details

Defined in GI.Gio.Structs.StaticResource

ManagedPtrNewtype StaticResource Source # 
Instance details

Defined in GI.Gio.Structs.StaticResource

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

Defined in GI.Gio.Structs.StaticResource

HasAttributeList StaticResource Source # 
Instance details

Defined in GI.Gio.Structs.StaticResource

(signature ~ m (), MonadIO m) => OverloadedMethod StaticResourceFiniMethodInfo StaticResource signature Source # 
Instance details

Defined in GI.Gio.Structs.StaticResource

Methods

overloadedMethod :: StaticResource -> signature #

(signature ~ m Resource, MonadIO m) => OverloadedMethod StaticResourceGetResourceMethodInfo StaticResource signature Source # 
Instance details

Defined in GI.Gio.Structs.StaticResource

Methods

overloadedMethod :: StaticResource -> signature #

(signature ~ m (), MonadIO m) => OverloadedMethod StaticResourceInitMethodInfo StaticResource signature Source # 
Instance details

Defined in GI.Gio.Structs.StaticResource

Methods

overloadedMethod :: StaticResource -> signature #

OverloadedMethodInfo StaticResourceFiniMethodInfo StaticResource Source # 
Instance details

Defined in GI.Gio.Structs.StaticResource

OverloadedMethodInfo StaticResourceGetResourceMethodInfo StaticResource Source # 
Instance details

Defined in GI.Gio.Structs.StaticResource

OverloadedMethodInfo StaticResourceInitMethodInfo StaticResource Source # 
Instance details

Defined in GI.Gio.Structs.StaticResource

(info ~ ResolveStaticResourceMethod t StaticResource, OverloadedMethod info StaticResource p, HasField t StaticResource p) => HasField (t :: Symbol) StaticResource (p :: Type) Source # 
Instance details

Defined in GI.Gio.Structs.StaticResource

Methods

getField :: StaticResource -> p #

(info ~ ResolveStaticResourceMethod t StaticResource, OverloadedMethodInfo info StaticResource) => IsLabel t (MethodProxy info StaticResource) Source # 
Instance details

Defined in GI.Gio.Structs.StaticResource

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

Defined in GI.Gio.Structs.StaticResource

Methods

fromLabel :: StaticResource -> p #

type AttributeList StaticResource Source # 
Instance details

Defined in GI.Gio.Structs.StaticResource

newZeroStaticResource :: MonadIO m => m StaticResource Source #

Construct a StaticResource struct initialized to zero.

Methods

Click to display all available methods, including inherited ones

Expand

Methods

fini, init.

Getters

getResource.

Setters

None.

fini

staticResourceFini Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> StaticResource

staticResource: pointer to a static StaticResource

-> m () 

Finalizes a Resource initialized by staticResourceInit.

This is normally used by code generated by `glib-compile-resources` and is not typically used by other code.

Since: 2.32

getResource

staticResourceGetResource Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> StaticResource

staticResource: pointer to a static StaticResource

-> m Resource

Returns: a Resource

Gets the Resource that was registered by a call to staticResourceInit.

This is normally used by code generated by `glib-compile-resources` and is not typically used by other code.

Since: 2.32

init

staticResourceInit Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> StaticResource

staticResource: pointer to a static StaticResource

-> m () 

Initializes a Resource from static data using a StaticResource.

This is normally used by code generated by `glib-compile-resources` and is not typically used by other code.

Since: 2.32