Camel.WeakRefGroup¶
Fields¶
None
Methods¶
class |
|
|
|
|
|
|
|
|
Details¶
- class Camel.WeakRefGroup¶
- classmethod new()¶
- Returns:
A new
Camel.WeakRefGroup
instance, which should be freed withCamel.WeakRefGroup.unref
() when no longer needed.- Return type:
New in version 3.24.
- get()¶
- Returns:
A referenced object associated with self, or
None
, when no object had been set to it. UseGObject.Object.unref
() to free it, when no longer needed.- Return type:
New in version 3.24.
- ref()¶
- Returns:
the self
- Return type:
Increases a reference count of the self.
New in version 3.24.
- set(object)¶
- Parameters:
object (
object
orNone
) – aGObject.Object
descendant, orNone
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.