Camel.WeakRefGroup¶
Fields¶
None
Details¶
- 
class Camel.WeakRefGroup¶
- 
classmethod new()¶
- Returns: - A new - Camel.WeakRefGroupinstance, which should be freed with- Camel.WeakRefGroup.unref() when no longer needed.- Return type: - Camel.WeakRefGroup- New in version 3.24. 
 - 
get()¶
- Returns: - A referenced object associated with self, or - None, when no object had been set to it. Use- GObject.Object.unref() to free it, when no longer needed.- Return type: - objector- None- New in version 3.24. 
 - 
ref()¶
- Returns: - the self - Return type: - Camel.WeakRefGroup- Increases a reference count of the self. - New in version 3.24. 
 - 
set(object)¶
- Parameters: - object ( - objector- None) – a- GObject.Objectdescendant, or- None- Sets the object as the object help by this self. If the object is - None, then unsets any previously set.- New in version 3.24. 
 - 
unref()¶
- Decreases a reference count of the self. The self is freed when the reference count reaches zero. - New in version 3.24. 
 
- 
classmethod