Tracer#

Added in version 1.8.

class Tracer(**properties: Any)#

Superclasses: Object, InitiallyUnowned, Object

Tracing modules will subclass Tracer and register through register(). Modules can attach to various hook-types - see tracing_register_hook(). When invoked they receive hook specific contextual data, which they must not modify.

Methods#

class Tracer
classmethod register(plugin: Plugin | None, name: str, type: GType) bool#

Create a new tracer-factory capable of instantiating objects of the type and add the factory to plugin.

Parameters:
  • plugin – A Plugin, or None for a static typefind function

  • name – The name for registering

  • type – GType of tracer to register

classmethod set_use_structure_params(use_structure_params: bool) None#
Parameters:

use_structure_params

classmethod uses_structure_params() bool#

Properties#

class Tracer
props.params: str#

Fields#

class Tracer
parent#
priv#