:right-sidebar: True StateChange =================================================================== .. currentmodule:: gi.repository.Gst .. class:: StateChange :no-contents-entry: These are the different state changes an element goes through. :const:`~gi.repository.Gst.State.NULL` wzxhzdk:0 :const:`~gi.repository.Gst.State.PLAYING` is called an upwards state change and :const:`~gi.repository.Gst.State.PLAYING` wzxhzdk:1 :const:`~gi.repository.Gst.State.NULL` a downwards state change. Methods ------- .. rst-class:: interim-class .. class:: StateChange :no-index: .. method:: get_name() -> str Gets a string representing the given state transition. .. versionadded:: 1.14 Fields ------ .. rst-class:: interim-class .. class:: StateChange :no-index: .. attribute:: NULL_TO_NULL The type of the None singleton. .. attribute:: NULL_TO_READY The type of the None singleton. .. attribute:: PAUSED_TO_PAUSED The type of the None singleton. .. attribute:: PAUSED_TO_PLAYING The type of the None singleton. .. attribute:: PAUSED_TO_READY The type of the None singleton. .. attribute:: PLAYING_TO_PAUSED The type of the None singleton. .. attribute:: PLAYING_TO_PLAYING The type of the None singleton. .. attribute:: READY_TO_NULL The type of the None singleton. .. attribute:: READY_TO_PAUSED The type of the None singleton. .. attribute:: READY_TO_READY The type of the None singleton.