Object
Object Hierarchy:
Description:
[
CCode ( type_id =
"i_cal_object_get_type ()" ) ]
public abstract class Object :
Object
This is an ICalObject instance struct.
Content:
Properties:
- public bool always_destroy { get; set; }
Whether free the native libical structure on
Object's finalize even if the object has set an owner.
- public bool is_global_memory { get; construct; }
Whether the native libical structure is from a global shared memory.
- public void* native { get; construct; }
The native libical structure for this ICalObject.
- public void* native_destroy_func { get; set; }
GDestroyNotify function to use to destroy the native libical pointer.
- public Object owner { owned get; set; }
Owner of the native libical structure.
Static methods:
Creation methods:
Methods:
- public void add_depender (Object depender)
Adds a depender into the list of objects which should not
be destroyed before this this.
- public bool get_always_destroy ()
Obtain the ICalObjectICalObject::always-destroy
property value.
- public bool get_is_global_memory ()
Obtains whether the native libical structure is a global shared
memory, thus should not be destroyed.
- public Object? ref_owner ()
Obtain current owner of the native libical structure.
- public void remove_depender (Object depender)
Removes a depender from the list of objects which should
not be destroyed before this this, previously added with
add_depender.
- public void remove_owner ()
Unref and remove the owner.
- public void set_always_destroy (bool value)
Sets the ICalObjectICalObject::always-destroy
property value.
- public void set_native_destroy_func (DestroyNotify native_destroy_func)
Sets a function to be used to destroy the native libical structure.
- public void set_owner (Object owner)
Sets an owner of the native libical structure, that is an object
responsible for a destroy of the native libical structure.
- public void* steal_native ()
Obtain native libical structure pointer associated with this
this and sets the one at this to NULL, thus it's invalid since now
on.
Inherited Members:
All known members inherited from class GLib.Object