musicus mpd client 0.1d
Functions | Variables
GTK+ Playlist

Functions

GtkWidget * init_pl_widget (void)
void playlist_update_tree (void)
void pl_del_songs (GtkWidget *widget, gpointer data)
void mpd_mrl_add (MpdObj *obj, const gchar *mrl)
void mpd_add_song_list (GtkWidget *widget, gpointer data)
void mpd_add_directory_to_playlist (GtkWidget *widget, gpointer data)

Variables

GtkListStore * PlListStore

Detailed Description

GTK+ related playlist setup procedures


Function Documentation

GtkWidget* init_pl_widget ( void  )

Initializes a GtkWidget to display the playlist

Returns:
a pointer to the newly created playlist widget
void mpd_add_directory_to_playlist ( GtkWidget *  widget,
gpointer  data 
)

Adds a directory to the playlist

Parameters:
widgetthe widget from which the function was called
datathe file name of the directory (cast to gchar*)
void mpd_add_song_list ( GtkWidget *  widget,
gpointer  data 
)

Adds a song list to the playlist

Parameters:
*widgetthe GtkWidget from which the function was called
datathe list of songs to add (cast to GList*)
void mpd_mrl_add ( MpdObj *  obj,
const gchar *  mrl 
)

Add media resource locator to playlist (e.g. web stream)

Parameters:
objthe MpdObj to add to.
mrlthe media resource locator.
void pl_del_songs ( GtkWidget *  widget,
gpointer  data 
)

Delete selected songs from playlist

Parameters:
widgetthe widget from which the function was called
datauser data
void playlist_update_tree ( void  )

update playlist tree on playlist change / song change


Variable Documentation

GtkListStore* PlListStore

PlTreeStore contains the TreeStore for the playlist

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines