:right-sidebar: True SystemClock =================================================================== .. currentmodule:: gi.repository.Gst .. class:: SystemClock(**properties: ~typing.Any) :no-contents-entry: Superclasses: :class:`~gi.repository.Gst.Clock`, :class:`~gi.repository.Gst.Object`, :class:`~gi.repository.GObject.InitiallyUnowned`, :class:`~gi.repository.GObject.Object` :Constructors: :: SystemClock(**properties) Methods ------- .. rst-class:: interim-class .. class:: SystemClock :no-index: .. method:: obtain() -> ~gi.repository.Gst.Clock Get a handle to the default system clock. The refcount of the clock will be increased so you need to unref the clock after usage. .. method:: set_default(new_clock: ~gi.repository.Gst.Clock | None = None) -> None Sets the default system clock that can be obtained with :func:`~gi.repository.Gst.SystemClock.obtain`. This is mostly used for testing and debugging purposes when you want to have control over the time reported by the default system clock. MT safe. .. versionadded:: 1.4 :param new_clock: a :obj:`~gi.repository.Gst.Clock` Properties ---------- .. rst-class:: interim-class .. class:: SystemClock :no-index: .. attribute:: props.clock_type :type: ~gi.repository.Gst.ClockType Fields ------ .. rst-class:: interim-class .. class:: SystemClock :no-index: .. attribute:: clock .. attribute:: priv