Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

downloads.h File Reference

#include "gui.h"
#include "downloads_common.h"

Go to the source code of this file.

Defines

#define DL_GUI_IS_HEADER   GINT_TO_POINTER(0x1)
 Indicates that a dl node is a header node.


Functions

void downloads_gui_init (void)
 Initialize local data structures.

void downloads_gui_shutdown (void)
 Cleanup local data structures.

void downloads_gui_update_display (time_t now)
 Periodically called to update downloads display.

void downloads_gui_expand_all (GtkTreeView *tree_view)
 Expand all nodes in given tree, either downloads or downloads_queue.

void downloads_gui_collapse_all (GtkTreeView *tree_view)
 Collapse all nodes in given, tree either downloads or downloads_queue.


Define Documentation

#define DL_GUI_IS_HEADER   GINT_TO_POINTER(0x1)
 

Indicates that a dl node is a header node.


Function Documentation

void downloads_gui_collapse_all GtkTreeView *  tree_view  ) 
 

Collapse all nodes in given, tree either downloads or downloads_queue.

void downloads_gui_expand_all GtkTreeView *  tree_view  ) 
 

Expand all nodes in given tree, either downloads or downloads_queue.

void downloads_gui_init void   ) 
 

Initialize local data structures.

Important things in here: initialization of hash tables, adding columns to the treeviews, creating treeview model (what the columns mean and their numbers), hooking up of signal callbacks

void downloads_gui_shutdown void   ) 
 

Cleanup local data structures.

void downloads_gui_update_display time_t  now  ) 
 

Periodically called to update downloads display.


Generated on Sun Feb 12 10:50:00 2006 for Gtk-Gnutella by doxygen 1.3.6