A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
display-functions.cc File Reference
#include "display-functions.h"
#include "raw-text-config.h"
#include "ns3/config.h"
#include "ns3/pointer.h"
#include "ns3/string.h"
+ Include dependency graph for display-functions.cc:

Go to the source code of this file.

Namespaces

namespace  ns3
 Every class exported by the ns3 library is enclosed in the ns3 namespace.
 

Functions

void ns3::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 ns3::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.
 
void ns3::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.
 
void ns3::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_ATTRIBUTE.
 
void ns3::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 ns3::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 is ok, it will be updated in the default value and in the GUI, otherwise, it won't be updated in both.
 
gboolean ns3::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 ns3::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 attribute.
 
gboolean ns3::clean_model_callback (GtkTreeModel *model, GtkTreePath *path, GtkTreeIter *iter, gpointer data)
 Delete the tree model contents.
 
gboolean ns3::clean_model_callback_config_default (GtkTreeModel *model, GtkTreePath *path, GtkTreeIter *iter, gpointer data)
 Delete the tree model contents.
 
GtkWidget * ns3::create_view (GtkTreeStore *model)
 This is the main view opening the widget, getting tooltips and drawing the tree of attributes...
 
GtkWidget * ns3::create_view_config_default (GtkTreeStore *model)
 This is the main view opening the widget, getting tooltips and drawing the tree of attributes.
 
gboolean ns3::delete_event_callback (GtkWidget *widget, GdkEvent *event, gpointer user_data)
 Exit the application.
 
void ns3::exit_clicked_callback (GtkButton *button, gpointer user_data)
 Exit the window when exit button is pressed.
 
int ns3::get_col_number_from_tree_view_column (GtkTreeViewColumn *col)
 This function gets the column number 0 or 1 from the mouse click.
 
void ns3::load_clicked_attribute (GtkButton *button, gpointer user_data)
 If the user presses the button load, it will load the config file into memory for the Attributes.
 
void ns3::load_clicked_default (GtkButton *button, gpointer user_data)
 If the user presses the button load, it will load the config file into memory for the Default attributes.
 
void ns3::save_clicked_attribute (GtkButton *button, gpointer user_data)
 This is the action done when the user presses on the save button for the Attributes.
 
void ns3::save_clicked_default (GtkButton *button, gpointer user_data)
 This is the action done when the user presses on the save button for the Default attributes.