Graphviz 12.1.0~dev.20240716.0947
Loading...
Searching...
No Matches
callbacks.c File Reference
#include "config.h"
#include <gtk/gtk.h>
#include "callbacks.h"
#include "viewport.h"
#include "selectionfuncs.h"
Include dependency graph for callbacks.c:

Go to the source code of this file.

Macros

#define _CRT_SECURE_NO_DEPRECATE   1
 

Functions

void save_as_graph_clicked (GtkWidget *widget, gpointer user_data)
 
void remove_graph_clicked (GtkWidget *widget, gpointer user_data)
 
static void btn_clicked (GtkWidget *widget, gvk_layout layout)
 
void btn_dot_clicked (GtkWidget *widget, gpointer user_data)
 
void btn_neato_clicked (GtkWidget *widget, gpointer user_data)
 
void btn_twopi_clicked (GtkWidget *widget, gpointer user_data)
 
void btn_circo_clicked (GtkWidget *widget, gpointer user_data)
 
void btn_fdp_clicked (GtkWidget *widget, gpointer user_data)
 
_BB void on_clearconsolebtn_clicked (GtkWidget *widget, gpointer user_data)
 
_BB void on_hideconsolebtn_clicked (GtkWidget *widget, gpointer user_data)
 
_BB void on_consoledecbtn_clicked (GtkWidget *widget, gpointer user_data)
 
_BB void on_consoleincbtn_clicked (GtkWidget *widget, gpointer user_data)
 

Macro Definition Documentation

◆ _CRT_SECURE_NO_DEPRECATE

#define _CRT_SECURE_NO_DEPRECATE   1

Definition at line 11 of file callbacks.c.

Function Documentation

◆ btn_circo_clicked()

void btn_circo_clicked ( GtkWidget *  widget,
gpointer  user_data 
)

Definition at line 80 of file callbacks.c.

References btn_clicked(), and GVK_CIRCO.

Here is the call graph for this function:

◆ btn_clicked()

static void btn_clicked ( GtkWidget *  widget,
gvk_layout  layout 
)
static

Definition at line 53 of file callbacks.c.

References layout().

Referenced by btn_circo_clicked(), btn_dot_clicked(), btn_fdp_clicked(), btn_neato_clicked(), and btn_twopi_clicked().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ btn_dot_clicked()

void btn_dot_clicked ( GtkWidget *  widget,
gpointer  user_data 
)

Definition at line 59 of file callbacks.c.

References btn_clicked(), and GVK_DOT.

Here is the call graph for this function:

◆ btn_fdp_clicked()

void btn_fdp_clicked ( GtkWidget *  widget,
gpointer  user_data 
)

Definition at line 87 of file callbacks.c.

References btn_clicked(), and GVK_FDP.

Here is the call graph for this function:

◆ btn_neato_clicked()

void btn_neato_clicked ( GtkWidget *  widget,
gpointer  user_data 
)

Definition at line 66 of file callbacks.c.

References btn_clicked(), and GVK_NEATO.

Here is the call graph for this function:

◆ btn_twopi_clicked()

void btn_twopi_clicked ( GtkWidget *  widget,
gpointer  user_data 
)

Definition at line 73 of file callbacks.c.

References btn_clicked(), and GVK_TWOPI.

Here is the call graph for this function:

◆ on_clearconsolebtn_clicked()

_BB void on_clearconsolebtn_clicked ( GtkWidget *  widget,
gpointer  user_data 
)

Definition at line 95 of file callbacks.c.

References xml.

◆ on_consoledecbtn_clicked()

_BB void on_consoledecbtn_clicked ( GtkWidget *  widget,
gpointer  user_data 
)

Definition at line 114 of file callbacks.c.

References xml.

◆ on_consoleincbtn_clicked()

_BB void on_consoleincbtn_clicked ( GtkWidget *  widget,
gpointer  user_data 
)

Definition at line 131 of file callbacks.c.

References xml.

◆ on_hideconsolebtn_clicked()

_BB void on_hideconsolebtn_clicked ( GtkWidget *  widget,
gpointer  user_data 
)

Definition at line 106 of file callbacks.c.

References xml.

◆ remove_graph_clicked()

void remove_graph_clicked ( GtkWidget *  widget,
gpointer  user_data 
)

Definition at line 45 of file callbacks.c.

◆ save_as_graph_clicked()

void save_as_graph_clicked ( GtkWidget *  widget,
gpointer  user_data 
)

Definition at line 20 of file callbacks.c.

References _ViewInfo::activeGraph, _ViewInfo::g, NULL, save_graph_with_file_name(), and view.

Here is the call graph for this function: