Class: QgsSipUtils

Contains utilities for working with SIP Python objects.

Added in version 3.44.

List of all members, including inherited members

Static Methods

isPyOwned

Returns True if an object is currently owned by Python.

class qgis.core.QgsSipUtils[source]

Bases: object

static isPyOwned(a0: Any) bool[source]

Returns True if an object is currently owned by Python.

If False is returned, then the object is currently owned by another object (e.g. a c++ class).

Parameters:

a0 (Any)

Return type:

bool