Debian Codegraph @

cmd/smyrna/gui/callbacks.h

raw
1 /*************************************************************************
2 * Copyright (c) 2011 AT&T Intellectual Property
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * https://www.eclipse.org/legal/epl-v10.html
7 *
8 * Contributors: Details at https://graphviz.org
9 *************************************************************************/
10
11 #pragma once
12
13 #include "gui.h"
14 #include "toolboxcallbacks.h"
15 #include <gtk/gtk.h>
16
17 #ifdef _MSC_VER // this is needed under MSVC to get libglade see the callback
18 #define _BB __declspec(dllexport)
19 #else
20 #define _BB
21 #endif
22
23 _BB void save_as_graph_clicked(GtkWidget *widget, void *user_data);
24 _BB void remove_graph_clicked(GtkWidget *widget, void *user_data);
25 _BB void btn_dot_clicked(GtkWidget *widget, void *user_data);
26 _BB void btn_neato_clicked(GtkWidget *widget, void *user_data);
27 _BB void btn_twopi_clicked(GtkWidget *widget, void *user_data);
28 _BB void btn_circo_clicked(GtkWidget *widget, void *user_data);
29 _BB void btn_fdp_clicked(GtkWidget *widget, void *user_data);
30
31 _BB void graph_select_change(GtkWidget *widget, void *user_data);
32 _BB void mGraphPropertiesSlot(GtkWidget *widget, void *user_data);
33
34 /*console output widgets*/
35 _BB void on_clearconsolebtn_clicked(GtkWidget *widget, void *user_data);
36 _BB void on_hideconsolebtn_clicked(GtkWidget *widget, void *user_data);
37 _BB void on_consoledecbtn_clicked(GtkWidget *widget, void *user_data);
38 _BB void on_consoleincbtn_clicked(GtkWidget *widget, void *user_data);