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 ICalObject
ICalObject::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 ICalObject
ICalObject::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
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref