sublime_music.ui.common.album_with_songs module

class sublime_music.ui.common.album_with_songs.AlbumWithSongs(album, cover_art_size=200, show_artist_name=True)[source]

Bases: gi.overrides.Gtk.Box

Parameters
__init__(album, cover_art_size=200, show_artist_name=True)[source]

Initializer for a GObject based classes with support for property sets through the use of explicit keyword arguments.

Parameters
deselect_all()[source]
offline_mode = True
on_download_all_click(btn)[source]
Parameters

btn (Any) –

on_song_activated(treeview, idx, column)[source]
Parameters
  • treeview (Any) –

  • idx (gi.overrides.Gtk.TreePath) –

  • column (Any) –

on_song_button_press(tree, event)[source]
Parameters
  • tree (Any) –

  • event (gi.overrides.Gdk.EventButton) –

Return type

bool

on_song_selection_change(event)[source]
Parameters

event (Any) –

play_btn_clicked(btn)[source]
Parameters

btn (Any) –

set_loading(loading)[source]
Parameters

loading (bool) –

shuffle_btn_clicked(btn)[source]
Parameters

btn (Any) –

update(app_config=None, force=False)[source]
Parameters
update_album_songs(album, app_config, force=False, order_token=None, is_partial=False)[source]
Parameters