| [Insert name here] Reference Manual | ||||
|---|---|---|---|---|
#define SWAP (a, b) typedef INIFile;gboolean (*DirForeachFunc) (constgchar *path, constgchar *basename,gpointer user_data);gchar * find_file_recursively (constgchar *dirname, constgchar *file);void del_directory (constgchar *dirname);gboolean dir_foreach (constgchar *path, DirForeachFunc function,gpointer user_data,GError **error); INIFile* open_ini_file (constgchar *filename);void close_ini_file (INIFile *key_file);gchar * read_ini_string (INIFile *key_file, constgchar *section, constgchar *key);GArray * read_ini_array (INIFile *key_file, constgchar *section, constgchar *key);GArray * string_to_garray (constgchar *str);void glist_movedown (GList *list);void glist_moveup (GList *list);void util_menu_position (GtkMenu *menu,gint *x,gint *y,gboolean *push_in,gpointer data);GdkFont * util_font_load (constgchar *name);void util_set_cursor (GtkWidget *window);gboolean text_get_extents (constgchar *fontname, constgchar *text,gint *width,gint *height,gint *ascent,gint *descent);gboolean file_is_archive (constgchar *filename);gchar * archive_decompress (constgchar *path);gchar * archive_basename (constgchar *path);guint gint_count_digits (gint n);GtkWidget * make_filebrowser (constgchar *title,gboolean save); MenuPos;GdkPixmap * audacious_pixmap_resize (GdkWindow *src,GdkGC *src_gc,GdkPixmap *in,gint width,gint height); #define bmp_info_dialog (title, text, button_text, model, button_action, action_data) #define bmp_usleep (usec) #define bmp_check_realtime_priority ()GtkWidget * xmms_show_message (constgchar *title, constgchar *text, constgchar *button_text,gboolean modal,GtkSignalFunc button_action,gpointer action_data);gboolean xmms_check_realtime_priority (void);void xmms_usleep (gint usec);GdkImage * create_dblsize_image (GdkImage *img);gchar * xmms_urldecode_path (constgchar *encoded_path);GdkPixbuf * audacious_create_colorized_pixbuf (GdkPixbuf *src,gint red,gint green,gint blue);gchar * audacious_get_localdir (void);void audacious_menu_main_show (gint x,gint y,guint button,guint time);
gboolean (*DirForeachFunc) (constgchar *path, constgchar *basename,gpointer user_data);
path : |
|
basename : |
|
user_data : |
|
| Returns : |
gchar * find_file_recursively (constgchar *dirname, constgchar *file);
dirname : |
|
file : |
|
| Returns : |
gboolean dir_foreach (constgchar *path, DirForeachFunc function,gpointer user_data,GError **error);
path : |
|
function : |
|
user_data : |
|
error : |
|
| Returns : |
gchar * read_ini_string (INIFile *key_file, constgchar *section, constgchar *key);
key_file : |
|
section : |
|
key : |
|
| Returns : |
GArray * read_ini_array (INIFile *key_file, constgchar *section, constgchar *key);
key_file : |
|
section : |
|
key : |
|
| Returns : |
void util_menu_position (GtkMenu *menu,gint *x,gint *y,gboolean *push_in,gpointer data);
menu : |
|
x : |
|
y : |
|
push_in : |
|
data : |
gboolean text_get_extents (constgchar *fontname, constgchar *text,gint *width,gint *height,gint *ascent,gint *descent);
fontname : |
|
text : |
|
width : |
|
height : |
|
ascent : |
|
descent : |
|
| Returns : |
GtkWidget * make_filebrowser (constgchar *title,gboolean save);
title : |
|
save : |
|
| Returns : |
GdkPixmap * audacious_pixmap_resize (GdkWindow *src,GdkGC *src_gc,GdkPixmap *in,gint width,gint height);
src : |
|
src_gc : |
|
in : |
|
width : |
|
height : |
|
| Returns : |
#define bmp_info_dialog(title, text, button_text, model, button_action, action_data)
title : |
|
text : |
|
button_text : |
|
model : |
|
button_action : |
|
action_data : |
GtkWidget * xmms_show_message (constgchar *title, constgchar *text, constgchar *button_text,gboolean modal,GtkSignalFunc button_action,gpointer action_data);
Displays a message box.
title : |
The title of the message to show. |
text : |
The text of the message to show. |
button_text : |
The text of the button which will close the messagebox. |
modal : |
Whether or not the messagebox should be modal. |
button_action : |
Code to execute on when the messagebox is closed, or NULL |
action_data : |
Optional opaque data to pass to button_action.
|
| Returns : | A GTK widget handle for the message box. |
gboolean xmms_check_realtime_priority (void);
Legacy function included for compatibility with XMMS.
| Returns : | FALSE |
void xmms_usleep (gint usec);
Legacy function included for compatibility with XMMS.
usec : |
The amount of microseconds to sleep. |
gchar * xmms_urldecode_path (constgchar *encoded_path);
encoded_path : |
|
| Returns : |
GdkPixbuf * audacious_create_colorized_pixbuf (GdkPixbuf *src,gint red,gint green,gint blue);
src : |
|
red : |
|
green : |
|
blue : |
|
| Returns : |
gchar * audacious_get_localdir (void);
Returns a string with the full path of Audacious local datadir (where config files are placed). It's useful in order to put in the right place custom config files for audacious plugins.
| Returns : | a string with full path of Audacious local datadir (should be freed after use) |