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

GI.GObject.Structs.InitiallyUnownedClass

Description

The class structure for the GInitiallyUnowned type.

Synopsis

Exported types

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 ]