CoverArt Browser
v2.0
Browse your cover-art albums in Rhythmbox
|
Public Member Functions | |
def | __init__ |
def | do_size_allocate |
def | do_button_press_event |
def | get_selected_objects |
def | select_and_scroll_to_path |
Public Attributes | |
view_name | |
source | |
ext_menu_pos | |
Static Public Attributes | |
tuple | object_column = GObject.property(type=int, default=-1) |
Definition at line 937 of file coverart_widgets.py.
def coverart_widgets.EnhancedIconView.do_button_press_event | ( | self, | |
event | |||
) |
Other than the default behavior, adds an event firing when the mouse has clicked on top of a current item, informing the listeners of the path of the clicked item.
Definition at line 977 of file coverart_widgets.py.
def coverart_widgets.EnhancedIconView.do_size_allocate | ( | self, | |
allocation | |||
) |
Forces the reallocation of the IconView columns when the width of the widgets changes. Neverthless, it takes into account that multiple reallocations could happen in a short amount of time, so it avoids trying to refresh until the user has stopped resizing the component.
Definition at line 955 of file coverart_widgets.py.
Helper method that simplifies getting the objects stored on the selected items, givent that the object_column property is setted. This way there's no need for the client class to repeateadly access the correct column to retrieve the object from the raw rows.
Definition at line 1005 of file coverart_widgets.py.
def coverart_widgets.EnhancedIconView.select_and_scroll_to_path | ( | self, | |
path | |||
) |
Helper method to select and scroll to a given path on the IconView.
Definition at line 1024 of file coverart_widgets.py.