Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
The class structure for the GInitiallyUnowned type.
Synopsis
- newtype InitiallyUnownedClass = InitiallyUnownedClass (ManagedPtr InitiallyUnownedClass)
- newZeroInitiallyUnownedClass :: MonadIO m => m InitiallyUnownedClass
- clearInitiallyUnownedClassConstructed :: MonadIO m => InitiallyUnownedClass -> m ()
- getInitiallyUnownedClassConstructed :: MonadIO m => InitiallyUnownedClass -> m (Maybe InitiallyUnownedClassConstructedFieldCallback)
- setInitiallyUnownedClassConstructed :: MonadIO m => InitiallyUnownedClass -> FunPtr C_InitiallyUnownedClassConstructedFieldCallback -> m ()
- clearInitiallyUnownedClassDispatchPropertiesChanged :: MonadIO m => InitiallyUnownedClass -> m ()
- getInitiallyUnownedClassDispatchPropertiesChanged :: MonadIO m => InitiallyUnownedClass -> m (Maybe InitiallyUnownedClassDispatchPropertiesChangedFieldCallback)
- setInitiallyUnownedClassDispatchPropertiesChanged :: MonadIO m => InitiallyUnownedClass -> FunPtr C_InitiallyUnownedClassDispatchPropertiesChangedFieldCallback -> m ()
- clearInitiallyUnownedClassDispose :: MonadIO m => InitiallyUnownedClass -> m ()
- getInitiallyUnownedClassDispose :: MonadIO m => InitiallyUnownedClass -> m (Maybe InitiallyUnownedClassDisposeFieldCallback)
- setInitiallyUnownedClassDispose :: MonadIO m => InitiallyUnownedClass -> FunPtr C_InitiallyUnownedClassDisposeFieldCallback -> m ()
- clearInitiallyUnownedClassFinalize :: MonadIO m => InitiallyUnownedClass -> m ()
- getInitiallyUnownedClassFinalize :: MonadIO m => InitiallyUnownedClass -> m (Maybe InitiallyUnownedClassFinalizeFieldCallback)
- setInitiallyUnownedClassFinalize :: MonadIO m => InitiallyUnownedClass -> FunPtr C_InitiallyUnownedClassFinalizeFieldCallback -> m ()
- getInitiallyUnownedClassGTypeClass :: MonadIO m => InitiallyUnownedClass -> m TypeClass
- clearInitiallyUnownedClassGetProperty :: MonadIO m => InitiallyUnownedClass -> m ()
- getInitiallyUnownedClassGetProperty :: MonadIO m => InitiallyUnownedClass -> m (Maybe InitiallyUnownedClassGetPropertyFieldCallback)
- setInitiallyUnownedClassGetProperty :: MonadIO m => InitiallyUnownedClass -> FunPtr C_InitiallyUnownedClassGetPropertyFieldCallback -> m ()
- clearInitiallyUnownedClassNotify :: MonadIO m => InitiallyUnownedClass -> m ()
- getInitiallyUnownedClassNotify :: MonadIO m => InitiallyUnownedClass -> m (Maybe InitiallyUnownedClassNotifyFieldCallback)
- setInitiallyUnownedClassNotify :: MonadIO m => InitiallyUnownedClass -> FunPtr C_InitiallyUnownedClassNotifyFieldCallback -> m ()
- clearInitiallyUnownedClassSetProperty :: MonadIO m => InitiallyUnownedClass -> m ()
- getInitiallyUnownedClassSetProperty :: MonadIO m => InitiallyUnownedClass -> m (Maybe InitiallyUnownedClassSetPropertyFieldCallback)
- setInitiallyUnownedClassSetProperty :: MonadIO m => InitiallyUnownedClass -> FunPtr C_InitiallyUnownedClassSetPropertyFieldCallback -> m ()
Exported types
newtype InitiallyUnownedClass Source #
Memory-managed wrapper type.
InitiallyUnownedClass (ManagedPtr InitiallyUnownedClass) |
Instances
Eq InitiallyUnownedClass Source # | |
Defined in GI.GObject.Structs.InitiallyUnownedClass (==) :: InitiallyUnownedClass -> InitiallyUnownedClass -> Bool # (/=) :: InitiallyUnownedClass -> InitiallyUnownedClass -> Bool # | |
BoxedPtr InitiallyUnownedClass Source # | |
CallocPtr InitiallyUnownedClass Source # | |
Defined in GI.GObject.Structs.InitiallyUnownedClass | |
ManagedPtrNewtype InitiallyUnownedClass Source # | |
Defined in GI.GObject.Structs.InitiallyUnownedClass toManagedPtr :: InitiallyUnownedClass -> ManagedPtr InitiallyUnownedClass | |
tag ~ 'AttrSet => Constructible InitiallyUnownedClass tag Source # | |
Defined in GI.GObject.Structs.InitiallyUnownedClass new :: MonadIO m => (ManagedPtr InitiallyUnownedClass -> InitiallyUnownedClass) -> [AttrOp InitiallyUnownedClass tag] -> m InitiallyUnownedClass |
newZeroInitiallyUnownedClass :: MonadIO m => m InitiallyUnownedClass Source #
Construct a InitiallyUnownedClass
struct initialized to zero.
Methods
Properties
constructed
the constructed
function is called by g_object_new()
as the
final step of the object creation process. At the point of the call, all
construction properties have been set on the object. The purpose of this
call is to allow for object initialisation steps that can only be performed
after construction properties have been set. constructed
implementors
should chain up to the constructed
call of their parent class to allow it
to complete its initialisation.
clearInitiallyUnownedClassConstructed :: MonadIO m => InitiallyUnownedClass -> m () Source #
Set the value of the “constructed
” field to Nothing
.
When overloading is enabled, this is equivalent to
clear
#constructed
getInitiallyUnownedClassConstructed :: MonadIO m => InitiallyUnownedClass -> m (Maybe InitiallyUnownedClassConstructedFieldCallback) Source #
Get the value of the “constructed
” field.
When overloading is enabled, this is equivalent to
get
initiallyUnownedClass #constructed
setInitiallyUnownedClassConstructed :: MonadIO m => InitiallyUnownedClass -> FunPtr C_InitiallyUnownedClassConstructedFieldCallback -> m () Source #
Set the value of the “constructed
” field.
When overloading is enabled, this is equivalent to
set
initiallyUnownedClass [ #constructed:=
value ]
dispatchPropertiesChanged
emits property change notification for a bunch
of properties. Overriding dispatchPropertiesChanged
should be rarely
needed.
clearInitiallyUnownedClassDispatchPropertiesChanged :: MonadIO m => InitiallyUnownedClass -> m () Source #
Set the value of the “dispatch_properties_changed
” field to Nothing
.
When overloading is enabled, this is equivalent to
clear
#dispatchPropertiesChanged
getInitiallyUnownedClassDispatchPropertiesChanged :: MonadIO m => InitiallyUnownedClass -> m (Maybe InitiallyUnownedClassDispatchPropertiesChangedFieldCallback) Source #
Get the value of the “dispatch_properties_changed
” field.
When overloading is enabled, this is equivalent to
get
initiallyUnownedClass #dispatchPropertiesChanged
setInitiallyUnownedClassDispatchPropertiesChanged :: MonadIO m => InitiallyUnownedClass -> FunPtr C_InitiallyUnownedClassDispatchPropertiesChangedFieldCallback -> m () Source #
Set the value of the “dispatch_properties_changed
” field.
When overloading is enabled, this is equivalent to
set
initiallyUnownedClass [ #dispatchPropertiesChanged:=
value ]
dispose
the dispose
function is supposed to drop all references to other
objects, but keep the instance otherwise intact, so that client method
invocations still work. It may be run multiple times (due to reference
loops). Before returning, dispose
should chain up to the dispose
method
of the parent class.
clearInitiallyUnownedClassDispose :: MonadIO m => InitiallyUnownedClass -> m () Source #
Set the value of the “dispose
” field to Nothing
.
When overloading is enabled, this is equivalent to
clear
#dispose
getInitiallyUnownedClassDispose :: MonadIO m => InitiallyUnownedClass -> m (Maybe InitiallyUnownedClassDisposeFieldCallback) Source #
Get the value of the “dispose
” field.
When overloading is enabled, this is equivalent to
get
initiallyUnownedClass #dispose
setInitiallyUnownedClassDispose :: MonadIO m => InitiallyUnownedClass -> FunPtr C_InitiallyUnownedClassDisposeFieldCallback -> m () Source #
Set the value of the “dispose
” field.
When overloading is enabled, this is equivalent to
set
initiallyUnownedClass [ #dispose:=
value ]
finalize
instance finalization function, should finish the finalization of
the instance begun in dispose
and chain up to the finalize
method of the
parent class.
clearInitiallyUnownedClassFinalize :: MonadIO m => InitiallyUnownedClass -> m () Source #
Set the value of the “finalize
” field to Nothing
.
When overloading is enabled, this is equivalent to
clear
#finalize
getInitiallyUnownedClassFinalize :: MonadIO m => InitiallyUnownedClass -> m (Maybe InitiallyUnownedClassFinalizeFieldCallback) Source #
Get the value of the “finalize
” field.
When overloading is enabled, this is equivalent to
get
initiallyUnownedClass #finalize
setInitiallyUnownedClassFinalize :: MonadIO m => InitiallyUnownedClass -> FunPtr C_InitiallyUnownedClassFinalizeFieldCallback -> m () Source #
Set the value of the “finalize
” field.
When overloading is enabled, this is equivalent to
set
initiallyUnownedClass [ #finalize:=
value ]
gTypeClass
the parent class
getInitiallyUnownedClassGTypeClass :: MonadIO m => InitiallyUnownedClass -> m TypeClass Source #
Get the value of the “g_type_class
” field.
When overloading is enabled, this is equivalent to
get
initiallyUnownedClass #gTypeClass
getProperty
the generic getter for all properties of this type. Should be overridden for every type with properties.
clearInitiallyUnownedClassGetProperty :: MonadIO m => InitiallyUnownedClass -> m () Source #
Set the value of the “get_property
” field to Nothing
.
When overloading is enabled, this is equivalent to
clear
#getProperty
getInitiallyUnownedClassGetProperty :: MonadIO m => InitiallyUnownedClass -> m (Maybe InitiallyUnownedClassGetPropertyFieldCallback) Source #
Get the value of the “get_property
” field.
When overloading is enabled, this is equivalent to
get
initiallyUnownedClass #getProperty
setInitiallyUnownedClassGetProperty :: MonadIO m => InitiallyUnownedClass -> FunPtr C_InitiallyUnownedClassGetPropertyFieldCallback -> m () Source #
Set the value of the “get_property
” field.
When overloading is enabled, this is equivalent to
set
initiallyUnownedClass [ #getProperty:=
value ]
notify
the class closure for the notify signal
clearInitiallyUnownedClassNotify :: MonadIO m => InitiallyUnownedClass -> m () Source #
Set the value of the “notify
” field to Nothing
.
When overloading is enabled, this is equivalent to
clear
#notify
getInitiallyUnownedClassNotify :: MonadIO m => InitiallyUnownedClass -> m (Maybe InitiallyUnownedClassNotifyFieldCallback) Source #
Get the value of the “notify
” field.
When overloading is enabled, this is equivalent to
get
initiallyUnownedClass #notify
setInitiallyUnownedClassNotify :: MonadIO m => InitiallyUnownedClass -> FunPtr C_InitiallyUnownedClassNotifyFieldCallback -> m () Source #
Set the value of the “notify
” field.
When overloading is enabled, this is equivalent to
set
initiallyUnownedClass [ #notify:=
value ]
setProperty
the generic setter for all properties of this type. Should be
overridden for every type with properties. If implementations of
setProperty
don't emit property change notification explicitly, this will
be done implicitly by the type system. However, if the notify signal is
emitted explicitly, the type system will not emit it a second time.
clearInitiallyUnownedClassSetProperty :: MonadIO m => InitiallyUnownedClass -> m () Source #
Set the value of the “set_property
” field to Nothing
.
When overloading is enabled, this is equivalent to
clear
#setProperty
getInitiallyUnownedClassSetProperty :: MonadIO m => InitiallyUnownedClass -> m (Maybe InitiallyUnownedClassSetPropertyFieldCallback) Source #
Get the value of the “set_property
” field.
When overloading is enabled, this is equivalent to
get
initiallyUnownedClass #setProperty
setInitiallyUnownedClassSetProperty :: MonadIO m => InitiallyUnownedClass -> FunPtr C_InitiallyUnownedClassSetPropertyFieldCallback -> m () Source #
Set the value of the “set_property
” field.
When overloading is enabled, this is equivalent to
set
initiallyUnownedClass [ #setProperty:=
value ]