callbacks.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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. #pragma once
  11. #include "gui.h"
  12. #include "toolboxcallbacks.h"
  13. #include <gtk/gtk.h>
  14. #ifdef _MSC_VER // this is needed under MSVC to get libglade see the callback
  15. #define _BB __declspec(dllexport)
  16. #else
  17. #define _BB
  18. #endif
  19. _BB void save_as_graph_clicked(GtkWidget *widget, void *user_data);
  20. _BB void remove_graph_clicked(GtkWidget *widget, void *user_data);
  21. _BB void btn_dot_clicked(GtkWidget *widget, void *user_data);
  22. _BB void btn_neato_clicked(GtkWidget *widget, void *user_data);
  23. _BB void btn_twopi_clicked(GtkWidget *widget, void *user_data);
  24. _BB void btn_circo_clicked(GtkWidget *widget, void *user_data);
  25. _BB void btn_fdp_clicked(GtkWidget *widget, void *user_data);
  26. _BB void graph_select_change(GtkWidget *widget, void *user_data);
  27. _BB void mGraphPropertiesSlot(GtkWidget *widget, void *user_data);
  28. /*console output widgets*/
  29. _BB void on_clearconsolebtn_clicked(GtkWidget *widget, void *user_data);
  30. _BB void on_hideconsolebtn_clicked(GtkWidget *widget, void *user_data);
  31. _BB void on_consoledecbtn_clicked(GtkWidget *widget, void *user_data);
  32. _BB void on_consoleincbtn_clicked(GtkWidget *widget, void *user_data);