musicus mpd client 0.1d
Functions
Configuration management

Functions

GtkWidget * mpd_new_properties_window (GtkWindow *parent)
void mpd_new_properties_window_cb (GtkWidget *widget, gpointer data)
gboolean config_new ()
gboolean config_save ()
gboolean config_load ()
gboolean config_get_config_file (gboolean is_applet)

Detailed Description

Procedures for config management


Function Documentation

gboolean config_get_config_file ( gboolean  is_applet)

get string for the configuration file

Parameters:
is_appletset TRUE if calling from a GNOME applet
gboolean config_load ( )

load config from disk

gboolean config_new ( )

create an initial config

gboolean config_save ( )

save configuration to disk

GtkWidget* mpd_new_properties_window ( GtkWindow *  parent)

Create a new properties window to edit configuration settings

Parameters:
parentThe parent window, this window will be centered on the parent window.
Returns:
the properties window
void mpd_new_properties_window_cb ( GtkWidget *  widget,
gpointer  data 
)

Callback which builds new properties window

Parameters:
widgetthe widget from where the call originates
datause data as parent window
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines