gi-gobject-2.0.28: GObject bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.GObject.Objects.InitiallyUnowned

Description

A type for objects that have an initially floating reference.

All the fields in the GInitiallyUnowned structure are private to the implementation and should never be accessed directly.

Synopsis

Exported types

newtype InitiallyUnowned Source #

Memory-managed wrapper type.

Constructors

InitiallyUnowned (ManagedPtr InitiallyUnowned) 

Instances

Instances details
Eq InitiallyUnowned Source # 
Instance details

Defined in GI.GObject.Objects.InitiallyUnowned

GObject InitiallyUnowned Source # 
Instance details

Defined in GI.GObject.Objects.InitiallyUnowned

ManagedPtrNewtype InitiallyUnowned Source # 
Instance details

Defined in GI.GObject.Objects.InitiallyUnowned

TypedObject InitiallyUnowned Source # 
Instance details

Defined in GI.GObject.Objects.InitiallyUnowned

Methods

glibType :: IO GType

HasParentTypes InitiallyUnowned Source # 
Instance details

Defined in GI.GObject.Objects.InitiallyUnowned

IsGValue (Maybe InitiallyUnowned) Source #

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

Instance details

Defined in GI.GObject.Objects.InitiallyUnowned

Methods

gvalueGType_ :: IO GType

gvalueSet_ :: Ptr GValue -> Maybe InitiallyUnowned -> IO ()

gvalueGet_ :: Ptr GValue -> IO (Maybe InitiallyUnowned)

type ParentTypes InitiallyUnowned Source # 
Instance details

Defined in GI.GObject.Objects.InitiallyUnowned

type ParentTypes InitiallyUnowned = '[Object]

class (GObject o, IsDescendantOf InitiallyUnowned o) => IsInitiallyUnowned o Source #

Type class for types which can be safely cast to InitiallyUnowned, for instance with toInitiallyUnowned.

Instances

Instances details
(GObject o, IsDescendantOf InitiallyUnowned o) => IsInitiallyUnowned o Source # 
Instance details

Defined in GI.GObject.Objects.InitiallyUnowned

toInitiallyUnowned :: (MonadIO m, IsInitiallyUnowned o) => o -> m InitiallyUnowned Source #

Cast to InitiallyUnowned, for types for which this is known to be safe. For general casts, use castTo.

Methods