gi-webkit2-4.0.26: WebKit2 bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.WebKit2.Structs.MimeInfo

Description

No description available in the introspection data.

Synopsis

Exported types

newtype MimeInfo Source #

Memory-managed wrapper type.

Constructors

MimeInfo (ManagedPtr MimeInfo) 

Instances

Instances details
Eq MimeInfo Source # 
Instance details

Defined in GI.WebKit2.Structs.MimeInfo

Methods

(==) :: MimeInfo -> MimeInfo -> Bool

(/=) :: MimeInfo -> MimeInfo -> Bool

GBoxed MimeInfo Source # 
Instance details

Defined in GI.WebKit2.Structs.MimeInfo

ManagedPtrNewtype MimeInfo Source # 
Instance details

Defined in GI.WebKit2.Structs.MimeInfo

Methods

toManagedPtr :: MimeInfo -> ManagedPtr MimeInfo

TypedObject MimeInfo Source # 
Instance details

Defined in GI.WebKit2.Structs.MimeInfo

Methods

glibType :: IO GType

IsGValue MimeInfo Source #

Convert MimeInfo to and from GValue with toGValue and fromGValue.

Instance details

Defined in GI.WebKit2.Structs.MimeInfo

Methods

toGValue :: MimeInfo -> IO GValue

fromGValue :: GValue -> IO MimeInfo

HasParentTypes MimeInfo Source # 
Instance details

Defined in GI.WebKit2.Structs.MimeInfo

type ParentTypes MimeInfo Source # 
Instance details

Defined in GI.WebKit2.Structs.MimeInfo

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

Methods

Overloaded methods

getDescription

mimeInfoGetDescription Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> MimeInfo

info: a MimeInfo

-> m Text

Returns: the description of the MIME type of info

No description available in the introspection data.

getExtensions

mimeInfoGetExtensions Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> MimeInfo

info: a MimeInfo

-> m [Text]

Returns: a Nothing-terminated array of strings

Get the list of file extensions associated to the MIME type of info

getMimeType

mimeInfoGetMimeType Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> MimeInfo

info: a MimeInfo

-> m Text

Returns: the MIME type of info

No description available in the introspection data.

ref

mimeInfoRef Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> MimeInfo

info: a MimeInfo

-> m MimeInfo

Returns: The passed in MimeInfo

Atomically increments the reference count of info by one. This function is MT-safe and may be called from any thread.

unref

mimeInfoUnref Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> MimeInfo

info: a MimeInfo

-> m () 

Atomically decrements the reference count of info by one. If the reference count drops to 0, all memory allocated by the MimeInfo is released. This function is MT-safe and may be called from any thread.