musicus mpd client 0.1d
|
Functions | |
GtkWidget * | mpd_win_new (int updater, int applet) |
void | mpd_gui_show_mpd_elements (void) |
void | mpd_gui_hide_mpd_elements (void) |
void | gui_mpd_status_changed_cb (MpdObj *obj, ChangedStatusType what, gpointer data) |
Variables | |
WinInfo | MpdWin |
main GUI elements
void gui_mpd_status_changed_cb | ( | MpdObj * | obj, |
ChangedStatusType | what, | ||
gpointer | data | ||
) |
This function is used to get callbacks from mpd when something happens, this is _much_ better than periodic polling!
obj | The MpdObj from which the call originated |
what | What has changed? |
data | user data |
void mpd_gui_hide_mpd_elements | ( | void | ) |
This function hides the mpd control elements and displays a not-connected message
void mpd_gui_show_mpd_elements | ( | void | ) |
This function hides the not-connected message and shows the mpd control elements
GtkWidget* mpd_win_new | ( | int | updater, |
int | applet | ||
) |
This is the procedure which builds the main user interface for the GTK+ client
updater | set this to 1, if you want to have periodically updating functions enabled |
applet | set this to 1, if you're building the main window from the context of a GNOME applet |