CoverArt Browser  v2.0
Browse your cover-art albums in Rhythmbox
coverart_covericonview.CoverIconView Class Reference
Inheritance diagram for coverart_covericonview.CoverIconView:
coverart_widgets.EnhancedIconView coverart_widgets.AbstractView

List of all members.

Public Member Functions

def __init__
def initialise
def get_view_icon_name
def resize_icon
def on_drag_drop
def on_drag_data_received
def on_drag_data_get
def on_drag_begin
def on_pointer_motion
def item_clicked_callback
def item_activated_callback
def on_notify_icon_padding
def on_notify_icon_spacing
def bottom_expander_expanded_callback
def switch_to_view
def grab_focus

Public Attributes

 gs
 show_policy
 view
 view_name
 shell
 album_manager
 hover_pixbufs

Static Public Attributes

tuple icon_spacing = GObject.property(type=int, default=0)
tuple icon_padding = GObject.property(type=int, default=0)
tuple icon_automatic = GObject.property(type=bool, default=True)
tuple display_text_enabled = GObject.property(type=bool, default=False)
tuple display_text_pos = GObject.property(type=bool, default=False)
string name = 'coverview'
 panedposition = PanedCollapsible.Paned.COLLAPSE

Detailed Description

Definition at line 222 of file coverart_covericonview.py.


Member Function Documentation

Callback connected to expanded signal of the paned GtkExpander

Definition at line 663 of file coverart_covericonview.py.

every view should have an icon - subject to removal
since we'll probably just have text buttons for the view

Reimplemented from coverart_widgets.AbstractView.

Definition at line 356 of file coverart_covericonview.py.

ensures main view object retains the focus

Reimplemented from coverart_widgets.AbstractView.

Definition at line 689 of file coverart_covericonview.py.

def coverart_covericonview.CoverIconView.item_activated_callback (   self,
  iconview,
  path 
)
Callback called when the cover view is double clicked or space-bar
is pressed. It plays the selected album

Definition at line 605 of file coverart_covericonview.py.

def coverart_covericonview.CoverIconView.item_clicked_callback (   self,
  iconview,
  event,
  path 
)
Callback called when the user clicks somewhere on the cover_view.
Along with source "show_hide_pane", takes care of showing/hiding the bottom
pane after a second click on a selected album.

Definition at line 542 of file coverart_covericonview.py.

def coverart_covericonview.CoverIconView.on_drag_begin (   self,
  widget,
  context 
)
Callback called when the drag-drop from coverview has started
Changes the drag icon as appropriate

Definition at line 427 of file coverart_covericonview.py.

def coverart_covericonview.CoverIconView.on_drag_data_get (   self,
  widget,
  drag_context,
  data,
  info,
  time 
)
Callback called when the drag destination (playlist) has
requested what album (icon) has been dragged

Definition at line 412 of file coverart_covericonview.py.

def coverart_covericonview.CoverIconView.on_drag_data_received (   self,
  widget,
  drag_context,
  x,
  y,
  data,
  info,
  time 
)
Callback called when the drag source has prepared the data (pixbuf)
for us to use.

Definition at line 386 of file coverart_covericonview.py.

def coverart_covericonview.CoverIconView.on_drag_drop (   self,
  widget,
  context,
  x,
  y,
  time 
)
Callback called when a drag operation finishes over the cover view
of the source. It decides if the dropped item can be processed as
an image to use as a cover.

Definition at line 366 of file coverart_covericonview.py.

Callback called when the icon-padding gsetting value is changed

Definition at line 614 of file coverart_covericonview.py.

Callback called when the icon-spacing gsetting value is changed

Definition at line 620 of file coverart_covericonview.py.

def coverart_covericonview.CoverIconView.resize_icon (   self,
  cover_size 
)
Callback called when to resize the icon
[common to all views]

Reimplemented from coverart_widgets.AbstractView.

Definition at line 359 of file coverart_covericonview.py.

def coverart_covericonview.CoverIconView.switch_to_view (   self,
  source,
  album 
)
ensures that when the user toggles to a view stuff remains
consistent

Reimplemented from coverart_widgets.AbstractView.

Definition at line 683 of file coverart_covericonview.py.


The documentation for this class was generated from the following file:
 All Classes Functions