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

nodes.h File Reference

#include "gui.h"
#include "if/core/nodes.h"

Go to the source code of this file.

Functions

void nodes_gui_early_init (void)
 Initialized the widgets.

void nodes_gui_init (void)
 Initialize the nodes controller.

void nodes_gui_shutdown (void)
 Unregister callbacks in the backend and clean up.

void nodes_gui_add_node (gnet_node_info_t *n)
 Adds the given node to the gui.

void nodes_gui_remove_node (gnet_node_t n)
 Removes all references to the given node handle in the gui.

void nodes_gui_update_node (gnet_node_info_t *, gboolean)
void nodes_gui_update_nodes_display (time_t now)
 Update all the nodes at the same time.

void nodes_gui_remove_selected (void)
 Removes all selected nodes from the treeview and disconnects them.


Function Documentation

void nodes_gui_add_node gnet_node_info_t n  ) 
 

Adds the given node to the gui.

void nodes_gui_early_init void   ) 
 

Initialized the widgets.

Include creation of the actual treeview for other init functions that manipulate it, notably settings_gui_init.

void nodes_gui_init void   ) 
 

Initialize the nodes controller.

Register callbacks in the backend.

void nodes_gui_remove_node gnet_node_t  n  ) 
 

Removes all references to the given node handle in the gui.

void nodes_gui_remove_selected void   ) 
 

Removes all selected nodes from the treeview and disconnects them.

void nodes_gui_shutdown void   ) 
 

Unregister callbacks in the backend and clean up.

void nodes_gui_update_node gnet_node_info_t ,
gboolean 
 

void nodes_gui_update_nodes_display time_t  now  ) 
 

Update all the nodes at the same time.

Bug:
FIXME: We should remember for every node when it was last updated and only refresh every node at most once every second. This information should be kept in a struct pointed to by the row user_data and should be automatically freed when removing the row (see upload stats code).


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