musicus mpd client 0.1d
Enumerations | Functions | Variables
Media Browser

Enumerations

enum  { M_COLUMN_FILE, M_COLUMN_IDENTIFIER, M_COLUMNS }

Functions

gboolean media_browser_new ()
GtkWidget * init_mb_widget (gchar *folder_id)
void media_browser_window_show ()
void media_browser_window_hide ()
void media_browser_reread ()

Variables

WinInfo MbWin
GtkTreeStore * media_database

Detailed Description

Media browser window and widget


Enumeration Type Documentation

anonymous enum

enumeration of the columns for the media_database TreeStore

Enumerator:
M_COLUMN_FILE 

media file name

M_COLUMN_IDENTIFIER 

media file identifier

M_COLUMNS 

number of columns


Function Documentation

GtkWidget* init_mb_widget ( gchar *  folder_id)

build a new media browser widget

Parameters:
folder_idthe name of the folder which should be opened on construction
Returns:
a pointer to the newly created widget
gboolean media_browser_new ( )

build a new media browser window

Returns:
TRUE if success, FALSE if not
void media_browser_reread ( )

Reread the TreeStore

void media_browser_window_hide ( )

show the media browser window

void media_browser_window_show ( )

hide the media browser window


Variable Documentation

WinInfo struct for the media browser window

GtkTreeStore* media_database

TreeStore for the mpd database image for the media browser

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines