Callback code for the xgtk plug-in. More...
#include <gtk/gtk.h>#include <graphviz/gvplugin_device.h>#include <graphviz/gvplugin_render.h>#include <graphviz/gvplugin.h>#include <graphviz/gvc.h>#include <graphviz/gvplugin_layout.h>#include <graphviz/gvcjob.h>#include <graphviz/gvcommon.h>#include <graphviz/gvcext.h>#include <graphviz/types.h>#include <graphviz/graph.h>#include <graphviz/geom.h>#include "callbacks.h"#include <iostream>#include <boost/format.hpp>#include <mtt/hypothesisTree.h>#include <mtt/graph_wrapper.h>
Go to the source code of this file.
Functions | |
| int | agrelabel_node (Agnode_t *n, char *newname) |
| gboolean | drawGraph (void) |
| gboolean | DrawingareaButtonPressEvent (GtkWidget *widget, GdkEventButton *event, gpointer user_data) |
| gboolean | DrawingareaConfigureEvent (GtkWidget *widget, GdkEventConfigure *event, gpointer user_data) |
| gboolean | DrawingareaExposeEvent (GtkWidget *widget, GdkEventExpose *event, gpointer user_data) |
| gboolean | DrawingareaMotionNotifyEvent (GtkWidget *widget, GdkEventMotion *event, gpointer user_data) |
| gboolean | DrawingareaScrollEvent (GtkWidget *widget, GdkEventScroll *event, gpointer user_data) |
| ostream & | operator<< (ostream &o, const boxf &i) |
| ostream & | operator<< (ostream &o, const pointf &i) |
| gboolean | WindowDeleteEvent (GtkWidget *widget, GdkEvent *event, gpointer user_data) |
Variables | |
| GVGraph * | graph_context |
| External variable linking to the main graph context created in the mht main source code pmht.cpp. | |
| hypothesisTreePtr | htreePtr |
| External variable linking to the Mht context class (main workhorse of the mht algorithm). | |
Callback code for the xgtk plug-in.
Definition in file callbacks_mht.cpp.
| int agrelabel_node | ( | Agnode_t * | n, | |
| char * | newname | |||
| ) |
| gboolean drawGraph | ( | void | ) |
Definition at line 80 of file callbacks_mht.cpp.
| gboolean DrawingareaButtonPressEvent | ( | GtkWidget * | widget, | |
| GdkEventButton * | event, | |||
| gpointer | user_data | |||
| ) |
Definition at line 148 of file callbacks_mht.cpp.
| gboolean DrawingareaConfigureEvent | ( | GtkWidget * | widget, | |
| GdkEventConfigure * | event, | |||
| gpointer | user_data | |||
| ) |
Definition at line 258 of file callbacks_mht.cpp.
| gboolean DrawingareaExposeEvent | ( | GtkWidget * | widget, | |
| GdkEventExpose * | event, | |||
| gpointer | user_data | |||
| ) |
Definition at line 122 of file callbacks_mht.cpp.
| gboolean DrawingareaMotionNotifyEvent | ( | GtkWidget * | widget, | |
| GdkEventMotion * | event, | |||
| gpointer | user_data | |||
| ) |
Definition at line 167 of file callbacks_mht.cpp.
| gboolean DrawingareaScrollEvent | ( | GtkWidget * | widget, | |
| GdkEventScroll * | event, | |||
| gpointer | user_data | |||
| ) |
Definition at line 224 of file callbacks_mht.cpp.
| ostream& operator<< | ( | ostream & | o, | |
| const boxf & | i | |||
| ) |
Definition at line 74 of file callbacks_mht.cpp.
| ostream& operator<< | ( | ostream & | o, | |
| const pointf & | i | |||
| ) |
Definition at line 69 of file callbacks_mht.cpp.
| gboolean WindowDeleteEvent | ( | GtkWidget * | widget, | |
| GdkEvent * | event, | |||
| gpointer | user_data | |||
| ) |
Definition at line 252 of file callbacks_mht.cpp.