sublime_music.ui.common.spinner_image module

class sublime_music.ui.common.spinner_image.SpinnerImage(loading=True, image_name=None, spinner_name=None, image_size=None, **kwargs)[source]

Bases: gi.repository.Gtk.Overlay

Parameters
  • loading (bool) –

  • image_name (str | None) –

  • spinner_name (str | None) –

  • image_size (int | None) –

__init__(loading=True, image_name=None, spinner_name=None, image_size=None, **kwargs)[source]

An image with a loading overlay.

Parameters
set_from_file(filename)[source]

Set the image to the given filename.

Parameters

filename (Optional[str]) –

set_image_size(size)[source]
Parameters

size (int) –

set_loading(loading_status)[source]
Parameters

loading_status (bool) –