iPodDB::Songlist - listing of songs in a playlist
my $songlist = iPodDB::Songlist->new( $frame ); $songlist->populate( $playlist );
This module provides a listing of the songs in an iPod playlist. It has a few events attached to it such as: sorting the column on click, and poping up the File menu when you right-click a row.
An list of Mac::iPod::DB::Song objects
This creates the list widget.
This will add the list of songs to the listing as well as update the status bar.
This function returns an array of Mac::iPod::DB::Song objects based on a list of items. If no list is provided the currently selected items are used.
Return a Wx::FileDataObject from a list of items suitable for sending to the clipboard or for processing in a drag and drop event. If no list is provided, the currently selected items are used.
This is the sorting function.
This utility function takes a directory (Path::Class object) and then the a song object. It then translates the stored path to a path relative to the $directory. This method is available for export.
This event will sort the listing based on which column was clicked. It will flip between ascending order and descending order on every click.
This event will pop up the File menu as long as at least one song is selected.
This event enables or disables options on the File menu when items are selected or deselected.
This event allows a user to drag files to a destination.
Brian Cassidy <bricas@cpan.org>
Copyright 2004 by Brian Cassidy
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install iPodDB, copy and paste the appropriate command in to your terminal.
cpanm
cpanm iPodDB
CPAN shell
perl -MCPAN -e shell install iPodDB
For more information on module installation, please visit the detailed CPAN module installation guide.