sublime_music.ui.browse module

class sublime_music.ui.browse.BrowsePanel[source]

Bases: gi.repository.Gtk.Overlay

Defines the arist panel.

__init__()[source]
update(app_config, force=False)[source]
Parameters
update_order_token = 0
class sublime_music.ui.browse.ListAndDrilldown[source]

Bases: gi.overrides.Gtk.Paned

__init__()[source]
update(id_stack, app_config, force=False)[source]
Parameters
class sublime_music.ui.browse.MusicDirectoryList[source]

Bases: gi.overrides.Gtk.Box

class DrilldownElement(element)[source]

Bases: gi.overrides.GObject.Object

Parameters

element (sublime_music.adapters.api_objects.Directory) –

__init__(element)[source]
Parameters

element (sublime_music.adapters.api_objects.Directory) –

do_get_property(pspec)
do_set_property(pspec, value)
id
name
__init__()[source]

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

create_row(model)[source]
Parameters

model (sublime_music.ui.browse.MusicDirectoryList.DrilldownElement) –

Return type

gi.repository.Gtk.ListBoxRow

directory_id: Optional[str] = None
offline_mode = False
on_download_state_change(_)[source]
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 (gi.overrides.Gtk.TreeView) –

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

Return type

bool

selected_id: Optional[str] = None
update(app_config=None, force=False, directory_id=None, selected_id=None)[source]
Parameters
update_order_token = 0
update_store(directory, app_config=None, force=False, order_token=None, is_partial=False)[source]
Parameters