CoverArt Browser
v2.0
Browse your cover-art albums in Rhythmbox
|
Public Member Functions | |
def | __init__ |
def | insert_action_group |
def | lookup_action |
def | add_app_menuitems |
def | add_browser_menuitems |
def | cleanup |
Public Attributes | |
shell |
Implementation of the singleton interface
Definition at line 559 of file coverart_rb3compat.py.
def coverart_rb3compat.ApplicationShell.__impl.add_app_menuitems | ( | self, | |
ui_string, | |||
group_name, | |||
menu = 'tools' |
|||
) |
utility function to add application menu items. For RB2.99 all application menu items are added to the "tools" section of the application menu. All Actions are assumed to be of action_type "app". For RB2.98 or less, it is added however the UI_MANAGER string is defined. :param ui_string: `str` is the Gtk UI definition. There is not an equivalent UI definition in RB2.99 but we can parse out menu items since this string is in XML format :param group_name: `str` unique name of the ActionGroup to add menu items to :param menu: `str` RB2.99 menu section to add to - nominally either 'tools' or 'view'
Definition at line 613 of file coverart_rb3compat.py.
def coverart_rb3compat.ApplicationShell.__impl.add_browser_menuitems | ( | self, | |
ui_string, | |||
group_name | |||
) |
utility function to add popup menu items to existing browser popups For RB2.99 all menu items are are assumed to be of action_type "win". For RB2.98 or less, it is added however the UI_MANAGER string is defined. :param ui_string: `str` is the Gtk UI definition. There is not an equivalent UI definition in RB2.99 but we can parse out menu items since this string is in XML format :param group_name: `str` unique name of the ActionGroup to add menu items to
Definition at line 654 of file coverart_rb3compat.py.
utility remove any menuitems created.
Definition at line 705 of file coverart_rb3compat.py.
def coverart_rb3compat.ApplicationShell.__impl.insert_action_group | ( | self, | |
action_group | |||
) |
Adds an ActionGroup to the ApplicationShell :param action_group: `ActionGroup` to add
Definition at line 572 of file coverart_rb3compat.py.
def coverart_rb3compat.ApplicationShell.__impl.lookup_action | ( | self, | |
action_group_name, | |||
action_name, | |||
action_type = 'app' |
|||
) |
looks up (finds) an action created by another plugin. If found returns an Action or None if no matching Action. :param action_group_name: `str` is the Gtk.ActionGroup name (ignored for RB2.99+) :param action_name: `str` unique name for the action to look for :param action_type: `str` RB2.99+ action type ("win" or "app")
Definition at line 580 of file coverart_rb3compat.py.