browser.h File Reference

#include <gtk/gtk.h>

Go to the source code of this file.

Defines

#define TREE_CELL_HEIGHT   (30 + 1)

Enumerations

enum  {
  FOLDERMODEL_COLUMN_NAME, FOLDERMODEL_COLUMN_CONTAINER, FOLDERMODEL_COLUMN_DEVUDN, FOLDERMODEL_COLUMN_CLASS,
  FOLDERMODEL_COLUMN_URI, FOLDERMODEL_COLUMN_ID, FOLDERMODEL_COLUMN_BROWSED, FOLDERMODEL_COLUMNS
}

Functions

int create_device_view ()
int create_folder_model_view ()
void device_view_row_selected (GtkTreeSelection *selection, gpointer user_data)
void folder_view_row_selected (GtkTreeSelection *selection, gpointer user_data)
void folder_view_row_expanded (GtkTreeView *view, GtkTreeIter *iter, GtkTreePath *path, gpointer user_data)
void render_mimeimage_datafunc (GtkTreeViewColumn *column, GtkCellRenderer *renderer, GtkTreeModel *model, GtkTreeIter *iter, gpointer data)
gboolean container_filter_func (GtkTreeModel *model, GtkTreeIter *iter, gpointer data)
gboolean update_folder_view_to_path (GtkTreePath *path)
gboolean get_current_content_item (gchar **name, gchar **uri, gchar **node_class, gchar **id, gchar **udn)


Define Documentation

#define TREE_CELL_HEIGHT   (30 + 1)
 


Enumeration Type Documentation

anonymous enum
 

Enumerator:
FOLDERMODEL_COLUMN_NAME 
FOLDERMODEL_COLUMN_CONTAINER 
FOLDERMODEL_COLUMN_DEVUDN 
FOLDERMODEL_COLUMN_CLASS 
FOLDERMODEL_COLUMN_URI 
FOLDERMODEL_COLUMN_ID 
FOLDERMODEL_COLUMN_BROWSED 
FOLDERMODEL_COLUMNS 


Function Documentation

gboolean container_filter_func GtkTreeModel *  model,
GtkTreeIter *  iter,
gpointer  data
 

Filter the contents of the given model

int create_device_view  ) 
 

Create the device tree model & view

int create_folder_model_view  ) 
 

Create the folder tree model & view

void device_view_row_selected GtkTreeSelection *  selection,
gpointer  user_data
 

Callback for selecting a row in device list.

void folder_view_row_expanded GtkTreeView *  view,
GtkTreeIter *  iter,
GtkTreePath *  path,
gpointer  user_data
 

Callback for expanding a folder in folder view

void folder_view_row_selected GtkTreeSelection *  selection,
gpointer  user_data
 

Callback for selecting a row in the folder view

gboolean get_current_content_item gchar **  name,
gchar **  uri,
gchar **  node_class,
gchar **  id,
gchar **  udn
 

Helper to get the currently selected content directory item

Parameters:
uri The URI of the currently selected resource
node_class The UPnP class of the currently selected resource
id The object ID of the currently selected resource
udn The UDN of the server offering the currently selected resource
Returns:
TRUE if an item was selected; otherwise FALSE

void render_mimeimage_datafunc GtkTreeViewColumn *  column,
GtkCellRenderer *  renderer,
GtkTreeModel *  model,
GtkTreeIter *  iter,
gpointer  data
 

Renders right pixbuf according to class of the device.

gboolean update_folder_view_to_path GtkTreePath *  path  ) 
 

Parameters:
path Path in folder_model.
Returns:
if it was updated.


Generated on Mon Aug 14 10:23:33 2006 for CyberLinkC-AV by  doxygen 1.4.6