11#define _CRT_SECURE_NO_DEPRECATE 1
25 dialog = gtk_file_chooser_dialog_new(
"Save File",
27 GTK_FILE_CHOOSER_ACTION_SAVE,
31 GTK_RESPONSE_ACCEPT,
NULL);
32 gtk_file_chooser_set_do_overwrite_confirmation(GTK_FILE_CHOOSER
35 if (gtk_dialog_run(GTK_DIALOG(dialog)) == GTK_RESPONSE_ACCEPT) {
37 filename = gtk_file_chooser_get_filename(GTK_FILE_CHOOSER(dialog));
41 gtk_widget_destroy(dialog);
48 g_print(
"remove graph button fired\n");
92 gtk_text_buffer_set_text(gtk_text_view_get_buffer
94 glade_xml_get_widget(
xml,
"mainconsole")),
102 gtk_widget_hide(glade_xml_get_widget(
xml,
"vbox13"));
110 gtk_widget_get_size_request((GtkWidget*)
111 glade_xml_get_widget(
xml,
115 gtk_widget_set_size_request(((GtkWidget*)
116 glade_xml_get_widget(
xml,
126 gtk_widget_get_size_request((GtkWidget*)
127 glade_xml_get_widget(
xml,
131 gtk_widget_set_size_request(((GtkWidget*)
132 glade_xml_get_widget(
xml,
void btn_fdp_clicked(GtkWidget *widget, void *user_data)
_BB void on_hideconsolebtn_clicked(GtkWidget *widget, void *user_data)
void btn_circo_clicked(GtkWidget *widget, void *user_data)
_BB void on_consoleincbtn_clicked(GtkWidget *widget, void *user_data)
void btn_dot_clicked(GtkWidget *widget, void *user_data)
void remove_graph_clicked(GtkWidget *widget, void *user_data)
void save_as_graph_clicked(GtkWidget *widget, void *user_data)
_BB void on_consoledecbtn_clicked(GtkWidget *widget, void *user_data)
void btn_neato_clicked(GtkWidget *widget, void *user_data)
static void btn_clicked(GtkWidget *widget, gvk_layout layout)
_BB void on_clearconsolebtn_clicked(GtkWidget *widget, void *user_data)
void btn_twopi_clicked(GtkWidget *widget, void *user_data)
static int layout(graph_t *g, layout_info *infop)
int save_graph_with_file_name(Agraph_t *graph, char *fileName)