Class: QgsLayoutValidityCheckContext

class qgis.core.QgsLayoutValidityCheckContext

Bases: QgsValidityCheckContext

Validity check context for print layout validation.

QgsLayoutValidityCheckContext are passed to QgsAbstractValidityCheck subclasses which indicate they are of the QgsAbstractValidityCheck.TypeLayoutCheck type.

New in version 3.6.

QgsLayoutValidityCheckContext(layout: QgsLayout) Constructor for QgsLayoutValidityCheckContext for the specified layout.

QgsLayoutValidityCheckContext(QgsLayoutValidityCheckContext)

Methods

type

rtype

int

Attributes

layout
type(self)int
Return type

int