new_playlist_from_selection_data

@accepts(Gtk.SelectionData)
@returns(RB.Source)
def new_playlist_from_selection_data(data)

Creates a new playlist based on selection data from gtk. Used to implement playlist creation through drag and drop to the source list.

data :

the GtkSelectionData from which to create a playlist

Returns :

the new playlist.