gi-gio-2.0.11: Gio bindings

CopyrightWill Thompson, Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.Gio.Structs.StaticResource

Contents

Description

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

Synopsis

Exported types

newtype StaticResource Source #

Instances

WrappedPtr StaticResource Source # 
(~) AttrOpTag tag AttrSet => Constructible StaticResource tag Source # 
((~) * info (ResolveStaticResourceMethod t StaticResource), MethodInfo * info StaticResource p) => IsLabel t (StaticResource -> p) Source # 

Methods

fromLabel :: Proxy# Symbol t -> StaticResource -> p #

((~) * info (ResolveStaticResourceMethod t StaticResource), MethodInfo * info StaticResource p) => IsLabelProxy t (StaticResource -> p) Source # 
HasAttributeList * StaticResource Source # 
((~) * signature (m ()), MonadIO m) => MethodInfo * StaticResourceInitMethodInfo StaticResource signature Source # 
((~) * signature (m Resource), MonadIO m) => MethodInfo * StaticResourceGetResourceMethodInfo StaticResource signature Source # 
((~) * signature (m ()), MonadIO m) => MethodInfo * StaticResourceFiniMethodInfo StaticResource signature Source # 
type AttributeList StaticResource Source # 

newZeroStaticResource :: MonadIO m => m StaticResource Source #

Construct a StaticResource struct initialized to zero.

Methods

fini

staticResourceFini Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> StaticResource

staticResource: pointer to a static StaticResource

-> m () 

Finalized a GResource initialized by staticResourceInit.

This is normally used by code generated by [glib-compile-resources][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 GResource that was registered by a call to staticResourceInit.

This is normally used by code generated by [glib-compile-resources][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 GResource from static data using a GStaticResource.

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

Since: 2.32