19 #ifndef DISPLAY_FUNCTIONS_H 
   20 #define DISPLAY_FUNCTIONS_H 
   33                           GtkTreeModel *model, GtkTreeIter *iter, gpointer user_data);
 
   40                           GtkTreeIter *iter, gpointer user_data);
 
   46                       gchar *new_text, gpointer user_data);
 
   59                        GtkTooltip *tooltip, gpointer user_data);
 
   92                       GtkTreeIter *iter, gpointer 
data);
 
  100                                          GtkTreeModel *model, GtkTreeIter *iter,
 
  107                                          GtkTreeIter *iter, gpointer user_data);
 
  126                                      gchar *new_text, gpointer user_data);
 
  135                                       gboolean keyboard_tip, GtkTooltip *tooltip, gpointer user_data);
 
  147                                      GtkTreeIter *iter, gpointer 
data);
 
void cell_data_function_col_1(GtkTreeViewColumn *col, GtkCellRenderer *renderer, GtkTreeModel *model, GtkTreeIter *iter, gpointer user_data)
This function includes the name of the attribute or the editable value in the second column...
 
int get_col_number_from_tree_view_column(GtkTreeViewColumn *col)
This function gets the column number 0 or 1 from the mouse click. 
 
void cell_edited_callback(GtkCellRendererText *cell, gchar *path_string, gchar *new_text, gpointer user_data)
This is the callback called when the value of an attribute is changed. 
 
void cell_data_function_col_1_config_default(GtkTreeViewColumn *col, GtkCellRenderer *renderer, GtkTreeModel *model, GtkTreeIter *iter, gpointer user_data)
This function writes data in the second column, this data is going to be editable if it is a NODE_ATT...
 
gboolean cell_tooltip_callback(GtkWidget *widget, gint x, gint y, gboolean keyboard_tip, GtkTooltip *tooltip, gpointer user_data)
This function displays the tooltip for an object, pointer, vector item or an attribute. 
 
gboolean cell_tooltip_callback_config_default(GtkWidget *widget, gint x, gint y, gboolean keyboard_tip, GtkTooltip *tooltip, gpointer user_data)
This function is used to display a tooltip whenever the user puts the mouse over a type ID or an attr...
 
void load_clicked(GtkButton *button, gpointer user_data)
If the user presses the button load, it will load the config file into memory. 
 
Every class exported by the ns3 library is enclosed in the ns3 namespace. 
 
void cell_data_function_col_0_config_default(GtkTreeViewColumn *col, GtkCellRenderer *renderer, GtkTreeModel *model, GtkTreeIter *iter, gpointer user_data)
This function writes the attribute or typeid name in the column 0. 
 
GtkWidget * create_view_config_default(GtkTreeStore *model)
This is the main view opening the widget, getting tooltips and drawing the tree of attributes...
 
GtkWidget * create_view(GtkTreeStore *model)
This is the main view opening the widget, getting tooltips and drawing the tree of attributes...
 
void cell_edited_callback_config_default(GtkCellRendererText *cell, gchar *path_string, gchar *new_text, gpointer user_data)
This functions is called whenever there is a change in the value of an attribute If the input value i...
 
void cell_data_function_col_0(GtkTreeViewColumn *col, GtkCellRenderer *renderer, GtkTreeModel *model, GtkTreeIter *iter, gpointer user_data)
This function includes the name of the object, pointer, vector or vector item in the first column...
 
void load_clicked_default(GtkButton *button, gpointer user_data)
If the user presses the button load, it will load the config file into memory. 
 
void exit_clicked_callback(GtkButton *button, gpointer user_data)
Exit the window when exit button is pressed. 
 
gboolean clean_model_callback(GtkTreeModel *model, GtkTreePath *path, GtkTreeIter *iter, gpointer data)
Delete the tree model contents. 
 
gboolean clean_model_callback_config_default(GtkTreeModel *model, GtkTreePath *path, GtkTreeIter *iter, gpointer data)
Delete the tree model contents. 
 
void save_clicked_default(GtkButton *button, gpointer user_data)
This is the action done when the user presses on the save button. 
 
gboolean delete_event_callback(GtkWidget *widget, GdkEvent *event, gpointer user_data)
Exit the application. 
 
void save_clicked(GtkButton *button, gpointer user_data)
This is the action done when the user presses on the save button.