:right-sidebar: True Spinner =================================================================== .. currentmodule:: gi.repository.Gtk .. class:: Spinner(**properties: ~typing.Any) :no-contents-entry: Superclasses: :class:`~gi.repository.Gtk.Widget`, :class:`~gi.repository.GObject.InitiallyUnowned`, :class:`~gi.repository.GObject.Object` Implemented Interfaces: :class:`~gi.repository.Gtk.Accessible`, :class:`~gi.repository.Gtk.Buildable`, :class:`~gi.repository.Gtk.ConstraintTarget` :Constructors: :: Spinner(**properties) new() -> Gtk.Widget Constructors ------------ .. rst-class:: interim-class .. class:: Spinner :no-index: .. classmethod:: new() -> ~gi.repository.Gtk.Widget Returns a new spinner widget. Not yet started. Methods ------- .. rst-class:: interim-class .. class:: Spinner :no-index: .. method:: get_spinning() -> bool Returns whether the spinner is spinning. .. method:: set_spinning(spinning: bool) -> None Sets the activity of the spinner. :param spinning: whether the spinner should be spinning .. method:: start() -> None Starts the animation of the spinner. .. method:: stop() -> None Stops the animation of the spinner. Properties ---------- .. rst-class:: interim-class .. class:: Spinner :no-index: .. attribute:: props.spinning :type: bool Whether the spinner is spinning