|
CoverArt Browser
v2.0
Browse your cover-art albums in Rhythmbox
|
Public Member Functions | |
| def | __init__ |
| def | appendattribute |
| def | is_activated |
| def | create_menu_item |
| def | do_deactivate |
| def | set_entry_view_selected_entries |
| def | activate |
| def | menuitem_callback |
Public Attributes | |
| attributes | |
class for all supported ExternalPlugins
Definition at line 30 of file coverart_external_plugins.py.
| def coverart_external_plugins.ExternalPlugin.activate | ( | self, | |
| shell | |||
| ) |
method called to initiate the external plugin action the action is defined by defining the action_group_name, action_name and action_type
Definition at line 139 of file coverart_external_plugins.py.
| def coverart_external_plugins.ExternalPlugin.appendattribute | ( | self, | |
| key, | |||
| val | |||
| ) |
append another attribute to the dict :param key: `str` name of attribute :param val: `str` value of attribute
Definition at line 45 of file coverart_external_plugins.py.
| def coverart_external_plugins.ExternalPlugin.create_menu_item | ( | self, | |
| menubar, | |||
| section_name, | |||
| at_position, | |||
| save_actiongroup, | |||
| save_menu, | |||
for_album = False |
|||
| ) |
method to create the menu item appropriate to the plugin. A plugin can have many menu items - all menuitems are enclosed in a section. :param menubar: `str` name for the GtkMenu - ignored for RB2.99 :param section_name: `str` unique name of the section holding the menu items :param at_position: `int` position within the GtkMenu to create menu - ignored for RB2.99 :param save_actiongroup: `ActionGroup` container for all menu-item Actions :param save_menu: `Menu` whole popupmenu including sub-menus :param for_album: `bool` create the menu for the album - if not given then its assumed the menu item is appropriate just for tracks
Definition at line 77 of file coverart_external_plugins.py.
method to test whether the plugin is actually loaded. Returns a bool
Definition at line 61 of file coverart_external_plugins.py.
| def coverart_external_plugins.ExternalPlugin.menuitem_callback | ( | self, | |
| action, | |||
| param, | |||
| args | |||
| ) |
method called when a menu-item is clicked. Basically, an Action is activated by the user :param action: `Gio.SimpleAction` or `Gtk.Action` :param param: Not used :param args: dict associated with the action
Definition at line 152 of file coverart_external_plugins.py.
| def coverart_external_plugins.ExternalPlugin.set_entry_view_selected_entries | ( | self, | |
| shell | |||
| ) |
method called just before the external plugin action is activated Normally only called for album menus to mimic selecting all the EntryView rows
Definition at line 126 of file coverart_external_plugins.py.