2024-06-30 11:53:03 +02:00
|
|
|
/* * * * * * * * * * * * * * * * * * * * * * * * * * *
|
|
|
|
* *
|
|
|
|
* Gem-graph client *
|
|
|
|
* *
|
|
|
|
* Callbacks header *
|
|
|
|
* *
|
2024-07-01 00:42:25 +02:00
|
|
|
* Copyright © 2021 Libre en Communs <contact@a-lec.org> *
|
|
|
|
* Copyright © 2021 Adrien Bourmault <neox@a-lec.org> *
|
|
|
|
* Copyright © 2021 Jean Sirmai <jean@a-lec.org> *
|
2024-06-30 11:53:03 +02:00
|
|
|
* *
|
|
|
|
* This file is part of Gem-graph. *
|
|
|
|
* *
|
2024-07-01 00:42:25 +02:00
|
|
|
* This program is free software: you can redistribute it and/or modify it *
|
|
|
|
* under the terms of the GNU Affero General Public License *
|
|
|
|
* as published by the Free Software Foundation, *
|
|
|
|
* either version 3 of the License, *
|
|
|
|
* or (at your option) any later version. *
|
2024-06-30 11:53:03 +02:00
|
|
|
* *
|
2024-07-01 00:42:25 +02:00
|
|
|
* This program is distributed in the hope that it will be useful, *
|
|
|
|
* but WITHOUT ANY WARRANTY; *
|
|
|
|
* without even the implied warranty of MERCHANTABILITY *
|
|
|
|
* or FITNESS FOR A PARTICULAR PURPOSE. *
|
|
|
|
* See the GNU Affero General Public License for more details. *
|
2024-06-30 11:53:03 +02:00
|
|
|
* *
|
2024-07-01 00:42:25 +02:00
|
|
|
* You should have received a copy of the GNU Affero General Public License *
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
|
2024-06-30 11:53:03 +02:00
|
|
|
* *
|
|
|
|
* * * * * * * * * * * * * * * * * * * * * * * * * * */
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-04-22 18:40:30 +02:00
|
|
|
#include <gtk-4.0/gtk/gtk.h>
|
|
|
|
|
2024-06-30 11:53:03 +02:00
|
|
|
// void on_auto_notification (const char *message);
|
2024-04-22 18:40:30 +02:00
|
|
|
|
|
|
|
void on_main_window_activation (GtkApplication *app, gpointer user_data);
|
|
|
|
void on_dialog_window_activation (GtkApplication *app, gpointer user_data);
|
|
|
|
|
|
|
|
void on_toggle_EXEC_EDIT (GtkWidget *btt_XOR_EXEC_EDIT, gpointer user_data);
|
|
|
|
void on_toggle_MODEL_RUN_STOP (GtkWidget *btt_MODEL_RUN_STOP, gpointer data);
|
|
|
|
|
|
|
|
void on_open_STATE (GtkWidget *btt_open_STATE, gpointer data);
|
|
|
|
void on_open_RULES (GtkWidget *btt_open_RULES, gpointer data);
|
|
|
|
void on_open_DATA (GtkWidget *btt_open_DATA, gpointer data);
|
|
|
|
|
|
|
|
void on_SAVE_CURRENT_MODEL_BEFORE_EDITING (GtkWidget *btt_SAVE_CURRENT_MODEL, gpointer data);
|
|
|
|
void on_DISCARD_CURRENT_MODEL_AND_START_EDITING (GtkWidget *btt_SAVE_CURRENT_MODEL, gpointer data);
|
|
|
|
void on_WRITE_CURRENT_MODEL (GtkWidget *btt_WRITE_CURRENT_MODEL, gpointer data);
|
|
|
|
void on_toggle_STATE_RULES_DATA (GtkWidget *btt, gpointer user_data);
|
2024-07-01 00:42:25 +02:00
|
|
|
|
|
|
|
void on_user_tree_expander_toggled (GtkExpander *expander, gpointer user_data);
|
|
|
|
void on_setup_user_tree_factory (GtkSignalListItemFactory *factory,
|
|
|
|
GObject* object, gpointer user_data);
|
|
|
|
void on_bind_user_tree_factory (GtkSignalListItemFactory *factory,
|
|
|
|
GObject* object, gpointer user_data);
|
|
|
|
|
|
|
|
gboolean on_glarea_render (GtkGLArea *area, GdkGLContext *context);
|
|
|
|
void on_glarea_realize (GtkWidget *widget);
|
|
|
|
void on_glarea_unrealize (GtkWidget *widget);
|
|
|
|
|
|
|
|
void on_axis_value_change (GtkAdjustment *adjustment, gpointer data);
|