sublime_music.ui.playlists module
- class sublime_music.ui.playlists.EditPlaylistDialog(parent, playlist)[source]
Bases:
gi.overrides.Gtk.Dialog
- Parameters
parent (Any) –
playlist (sublime_music.adapters.api_objects.Playlist) –
- __init__(parent, playlist)[source]
- Parameters
parent (Any) –
playlist (sublime_music.adapters.api_objects.Playlist) –
- class sublime_music.ui.playlists.PlaylistDetailPanel[source]
Bases:
gi.repository.Gtk.Overlay
- offline_mode = False
- on_song_button_press(tree, event)[source]
- Parameters
tree (gi.overrides.Gtk.TreeView) –
event (gi.overrides.Gdk.EventButton) –
- Return type
- playlist_details_expanded = False
- playlist_id = None
- update(app_config, force=False)[source]
- Parameters
app_config (sublime_music.config.AppConfiguration) –
force (bool) –
- update_playlist_artwork(cover_art_filename, app_config, force=False, order_token=None, is_partial=False)[source]
- update_playlist_view(playlist, app_config=None, force=False, order_token=None, is_partial=False)[source]
- Parameters
playlist (sublime_music.adapters.api_objects.Playlist) –
app_config (Optional[sublime_music.config.AppConfiguration]) –
force (bool) –
is_partial (bool) –
- update_playlist_view_order_token = 0
- class sublime_music.ui.playlists.PlaylistList[source]
Bases:
gi.overrides.Gtk.Box
- class PlaylistModel(playlist_id, name)[source]
Bases:
gi.overrides.GObject.Object
- do_get_property(pspec)
- do_set_property(pspec, value)
- name
- playlist_id
- __init__()[source]
Initializer for a GObject based classes with support for property sets through the use of explicit keyword arguments.
- offline_mode = False
- update(app_config=None, force=False)[source]
- Parameters
app_config (Optional[sublime_music.config.AppConfiguration]) –
force (bool) –
- update_list(playlists, app_config=None, force=False, order_token=None, is_partial=False)[source]
- Parameters
playlists (List[sublime_music.adapters.api_objects.Playlist]) –
app_config (Optional[sublime_music.config.AppConfiguration]) –
force (bool) –
is_partial (bool) –