gem-graph-client/doc/rtfm/man3/signal.c.3

605 lines
11 KiB
Groff
Raw Normal View History

.TH "src/signal.c" 3 "Version 0.1.0" "Gem-graph" \" -*- nroff -*-
.ad l
.nh
.SH NAME
2024-10-20 01:05:12 +02:00
src/signal.c \- events callbacks
.SH SYNOPSIS
.br
.PP
\fC#include '\&.\&./include/fsm\&.h'\fP
.br
\fC#include '\&.\&./include/signal\&.h'\fP
.br
\fC#include '\&.\&./include/widget\&.h'\fP
.br
\fC#include '\&.\&./include/graphics\&.h'\fP
.br
\fC#include '\&.\&./include/util\&.h'\fP
.br
.SS "Functions"
.in +1c
.ti -1c
.RI "void \fBon_setup_user_tree_factory\fP (GtkSignalListItemFactory *factory, GObject *object, gpointer user_data)"
.br
2024-10-20 01:05:12 +02:00
.RI "since 2024-06 "
.ti -1c
.RI "void \fBon_bind_user_tree_factory\fP (GtkSignalListItemFactory *factory, GObject *object, gpointer user_data)"
.br
2024-10-20 01:05:12 +02:00
.RI "since 2024-06 "
.ti -1c
.RI "gboolean \fBon_glarea_render\fP (GtkGLArea *area, GdkGLContext *context)"
.br
2024-10-20 01:05:12 +02:00
.RI "since 2024-06 "
.ti -1c
.RI "void \fBon_glarea_realize\fP (GtkWidget *widget)"
.br
.RI "We need to set up our state when we realize the GtkGLArea widget\&. "
.ti -1c
.RI "void \fBon_glarea_unrealize\fP (GtkWidget *widget)"
.br
.RI "We should tear down the state when unrealizing\&. "
.ti -1c
.RI "void \fBon_axis_value_change\fP (GtkAdjustment *adjustment, gpointer data)"
.br
2024-10-20 01:05:12 +02:00
.RI "since 2024-06 "
.ti -1c
.RI "void \fBon_save_current_model_before_editing\fP (GtkWidget *btt_save_current_model, gpointer data)"
.br
2024-10-20 01:05:12 +02:00
.RI "since 2024-06 "
.ti -1c
.RI "void \fBon_discard_current_model_before_editing\fP (GtkWidget *btt_discard_current_model, gpointer data)"
.br
2024-10-20 01:05:12 +02:00
.RI "since 2024-06 "
.ti -1c
.RI "void \fBon_write_current_model\fP (GtkWidget *btt_write_current_model, gpointer data)"
.br
2024-10-20 01:05:12 +02:00
.RI "since 2024-06 "
.ti -1c
.RI "void \fBon_toggle_exec_edit\fP (GtkWidget *toggled_button, gpointer user_data)"
.br
2024-10-20 01:05:12 +02:00
.RI "since 2024-06 "
.ti -1c
.RI "void \fBon_toggle_state_rules_data\fP (GtkWidget *toggled_button, gpointer widget_all_vs_selected_one)"
.br
2024-10-20 01:05:12 +02:00
.RI "since 2024-06 "
.ti -1c
2024-10-25 17:32:30 +02:00
.RI "void \fBon_switch_state_rules_data\fP ()"
.br
.RI "This function could remain static in src/signal\&. "
.ti -1c
.RI "void \fBon_clicked_topbar_right_search\fP (GtkWidget *btt_menu, gpointer list_box)"
.br
2024-10-20 01:05:12 +02:00
.RI "since 2024-06 "
.ti -1c
.RI "void \fBon_clicked_topbar_right_home\fP (GtkWidget *btt_reset, gpointer data)"
.br
2024-10-20 01:05:12 +02:00
.RI "since 2024-06 "
.ti -1c
.RI "void \fBon_updating_objects_transparencies\fP (GtkWidget *btt_source, GtkScrollbar *scrollbar)"
.br
2024-10-20 01:05:12 +02:00
.RI "since 2024-06 "
.ti -1c
.RI "void \fBon_resetting_XYZ_in_state_page\fP ()"
.br
2024-10-20 01:05:12 +02:00
.RI "since 2024-06 "
.ti -1c
.RI "void \fBon_situations_box_do_reset\fP (GtkWidget *btt_reset, GtkScrollbar *reset_scrollbar)"
.br
2024-10-20 01:05:12 +02:00
.RI "since 2024-06 "
.ti -1c
.RI "void \fBon_topbar_right_measure_clicked\fP (GtkWidget *btt, gpointer button_icon_name)"
.br
2024-10-20 01:05:12 +02:00
.RI "since 2024-06 "
.ti -1c
.RI "void \fBon_start_new_measure\fP (GtkWidget *btt, gpointer btt_label)"
.br
2024-10-20 01:05:12 +02:00
.RI "since 2024-06 "
.ti -1c
.RI "void \fBon_select_rules_first\fP (GtkWidget *btt, gpointer data)"
.br
2024-10-20 01:05:12 +02:00
.RI "since 2024-06 "
.ti -1c
.RI "void \fBon_measure_depends_on_a_single_event\fP (GtkWidget *btt, gpointer data)"
.br
.RI "phantom documentation used to test the functioning of doxygen "
.ti -1c
.RI "void \fBon_measure_depends_on_two_events\fP (GtkWidget *btt, gpointer data)"
.br
.RI "phantom documentation used to test the functioning of doxygen "
.ti -1c
.RI "void \fBon_select_a_second_rules_set\fP (GtkWidget *btt, gpointer data)"
.br
.RI "phantom documentation used to test the functioning of doxygen "
.ti -1c
.RI "void \fBon_select_a_second_measurement\fP (GtkWidget *btt, gpointer data)"
.br
.RI "phantom documentation used to test the functioning of doxygen "
.ti -1c
.RI "void \fBon_skip_this_step\fP (GtkWidget *btt, gpointer data)"
.br
.RI "phantom documentation used to test the functioning of doxygen "
.ti -1c
.RI "void \fBon_something_else\fP (GtkWidget *btt, gpointer data)"
.br
.RI "phantom documentation used to test the functioning of doxygen "
.ti -1c
.RI "void \fBon_closing_page\fP (GtkWidget *btt, gpointer data)"
.br
.RI "phantom documentation used to test the functioning of doxygen "
.ti -1c
.RI "void \fBon_measure_single_event_occurences_nb\fP (GtkWidget *btt, gpointer data)"
.br
.RI "phantom documentation used to test the functioning of doxygen "
.ti -1c
.RI "void \fBon_measure_single_event_occurences_dates\fP (GtkWidget *btt, gpointer data)"
.br
.RI "phantom documentation used to test the functioning of doxygen "
.ti -1c
.RI "void \fBon_measure_single_event_occurences_situations\fP (GtkWidget *btt, gpointer data)"
.br
.RI "phantom documentation used to test the functioning of doxygen "
.ti -1c
.RI "void \fBon_measure_time_elapsed_between_two_events\fP (GtkWidget *btt, gpointer data)"
.br
.RI "phantom documentation used to test the functioning of doxygen "
.ti -1c
.RI "void \fBon_measure_third_event_occurences_in_between\fP (GtkWidget *btt, gpointer data)"
.br
.RI "phantom documentation used to test the functioning of doxygen "
.ti -1c
.RI "void \fBon_entry_name_insert_after\fP (GtkWidget *entry, gpointer data)"
.br
2024-10-20 01:05:12 +02:00
.RI "since 2024-06 "
.ti -1c
.RI "void \fBon_entry_name_delete_after\fP (GtkWidget *entry, gpointer data)"
.br
2024-10-20 01:05:12 +02:00
.RI "since 2024-06 "
.in -1c
.SH "Detailed Description"
.PP
2024-10-20 01:05:12 +02:00
events callbacks
This file is part of Gem-graph\&.
.SH "Function Documentation"
.PP
.SS "void on_axis_value_change (GtkAdjustment * adjustment, gpointer data)"
.PP
2024-10-20 01:05:12 +02:00
since 2024-06
.PP
\fBSee also\fP
.RS 4
2024-10-20 01:05:12 +02:00
.PP
.RE
.PP
\fBParameters\fP
.RS 4
2024-10-20 01:05:12 +02:00
\fI*adjustment\fP
.br
\fIdata\fP
.RE
.PP
2024-10-20 01:05:12 +02:00
.SS "void on_bind_user_tree_factory (GtkSignalListItemFactory * factory, GObject * object, gpointer user_data)"
.PP
2024-10-20 01:05:12 +02:00
since 2024-06
.PP
\fBSee also\fP
.RS 4
2024-10-20 01:05:12 +02:00
.PP
.RE
.PP
\fBParameters\fP
.RS 4
2024-10-20 01:05:12 +02:00
\fI*factory\fP
.br
\fI*object\fP
.br
\fIuser_data\fP
.RE
.PP
2024-10-20 01:05:12 +02:00
.SS "void on_clicked_topbar_right_home (GtkWidget * btt_reset, gpointer data)"
.PP
2024-10-20 01:05:12 +02:00
since 2024-06
.PP
\fBSee also\fP
.RS 4
2024-10-20 01:05:12 +02:00
.PP
.RE
.PP
\fBParameters\fP
.RS 4
2024-10-20 01:05:12 +02:00
\fI*btt_reset\fP
.br
\fIdata\fP
.RE
.PP
2024-10-20 01:05:12 +02:00
.SS "void on_clicked_topbar_right_search (GtkWidget * btt_menu, gpointer list_box)"
.PP
2024-10-20 01:05:12 +02:00
since 2024-06
.PP
\fBSee also\fP
.RS 4
2024-10-20 01:05:12 +02:00
.PP
.RE
.PP
\fBParameters\fP
.RS 4
2024-10-20 01:05:12 +02:00
\fI*btt_menu\fP
.br
\fIlist_box\fP
.RE
.PP
2024-10-20 01:05:12 +02:00
.SS "void on_discard_current_model_before_editing (GtkWidget * btt_discard_current_model, gpointer data)"
.PP
2024-10-20 01:05:12 +02:00
since 2024-06
.PP
\fBSee also\fP
.RS 4
2024-10-20 01:05:12 +02:00
.PP
.RE
.PP
\fBParameters\fP
.RS 4
2024-10-20 01:05:12 +02:00
\fI*btt_discard_current_model\fP
.br
\fIdata\fP
.RE
.PP
2024-10-20 01:05:12 +02:00
.SS "void on_entry_name_delete_after (GtkWidget * entry, gpointer data)"
.PP
2024-10-20 01:05:12 +02:00
since 2024-06
.PP
\fBSee also\fP
.RS 4
2024-10-20 01:05:12 +02:00
.PP
.RE
.PP
\fBParameters\fP
.RS 4
2024-10-20 01:05:12 +02:00
\fI*entry\fP
.br
\fIdata\fP
.RE
.PP
2024-10-20 01:05:12 +02:00
.SS "void on_entry_name_insert_after (GtkWidget * entry, gpointer data)"
.PP
2024-10-20 01:05:12 +02:00
since 2024-06
.PP
\fBSee also\fP
.RS 4
2024-10-20 01:05:12 +02:00
.PP
.RE
.PP
\fBParameters\fP
.RS 4
2024-10-20 01:05:12 +02:00
\fI*entry\fP
.br
\fIdata\fP
.RE
.PP
2024-10-20 01:05:12 +02:00
.SS "void on_glarea_realize (GtkWidget * widget)"
.PP
2024-10-20 01:05:12 +02:00
We need to set up our state when we realize the GtkGLArea widget\&. since 2024-06
.PP
\fBSee also\fP
.RS 4
.PP
.RE
.PP
\fBParameters\fP
.RS 4
2024-10-20 01:05:12 +02:00
\fI*widget\fP
.RE
.PP
2024-10-20 01:05:12 +02:00
.SS "gboolean on_glarea_render (GtkGLArea * area, GdkGLContext * context)"
.PP
2024-10-20 01:05:12 +02:00
since 2024-06
.PP
\fBSee also\fP
.RS 4
.PP
.RE
.PP
2024-10-20 01:05:12 +02:00
\fBParameters\fP
.RS 4
2024-10-20 01:05:12 +02:00
\fI*area\fP
.br
\fI*context\fP
.RE
.PP
2024-10-20 01:05:12 +02:00
\fBReturns\fP
.RS 4
2024-10-20 01:05:12 +02:00
bool
.RE
.PP
2024-10-20 01:05:12 +02:00
.SS "void on_glarea_unrealize (GtkWidget * widget)"
.PP
2024-10-20 01:05:12 +02:00
We should tear down the state when unrealizing\&. since 2024-06
.PP
\fBSee also\fP
.RS 4
.PP
.RE
.PP
\fBParameters\fP
.RS 4
2024-10-20 01:05:12 +02:00
\fI*widget\fP
.RE
.PP
2024-10-20 01:05:12 +02:00
.SS "void on_resetting_XYZ_in_state_page ()"
.PP
2024-10-20 01:05:12 +02:00
since 2024-06
.PP
\fBSee also\fP
.RS 4
.PP
.RE
.PP
2024-10-20 01:05:12 +02:00
.SS "void on_save_current_model_before_editing (GtkWidget * btt_save_current_model, gpointer data)"
.PP
since 2024-06
.PP
\fBSee also\fP
.RS 4
2024-10-20 01:05:12 +02:00
.PP
.RE
.PP
\fBParameters\fP
.RS 4
2024-10-20 01:05:12 +02:00
\fI*btt_save_current_model\fP
.br
\fIdata\fP
.RE
.PP
2024-10-20 01:05:12 +02:00
.SS "void on_select_rules_first (GtkWidget * btt, gpointer data)"
.PP
2024-10-20 01:05:12 +02:00
since 2024-06
.PP
\fBSee also\fP
.RS 4
2024-10-20 01:05:12 +02:00
.PP
.RE
.PP
\fBParameters\fP
.RS 4
2024-10-20 01:05:12 +02:00
\fI*btt\fP
.br
\fIdata\fP
.RE
.PP
2024-10-20 01:05:12 +02:00
.SS "void on_setup_user_tree_factory (GtkSignalListItemFactory * factory, GObject * object, gpointer user_data)"
.PP
2024-10-20 01:05:12 +02:00
since 2024-06
.PP
\fBSee also\fP
.RS 4
2024-10-20 01:05:12 +02:00
.PP
.RE
.PP
\fBParameters\fP
.RS 4
2024-10-20 01:05:12 +02:00
\fI*factory\fP
.br
\fI*object\fP
.br
\fIuser_data\fP
.RE
.PP
2024-10-20 01:05:12 +02:00
.SS "void on_situations_box_do_reset (GtkWidget * btt_reset, GtkScrollbar * reset_scrollbar)"
.PP
2024-10-20 01:05:12 +02:00
since 2024-06
.PP
\fBSee also\fP
.RS 4
2024-10-20 01:05:12 +02:00
.PP
.RE
.PP
\fBParameters\fP
.RS 4
2024-10-20 01:05:12 +02:00
\fI*btt_reset\fP
.br
\fI*reset_scrollbar\fP
.RE
.PP
2024-10-20 01:05:12 +02:00
.SS "void on_start_new_measure (GtkWidget * btt, gpointer btt_label)"
.PP
2024-10-20 01:05:12 +02:00
since 2024-06
.PP
\fBSee also\fP
.RS 4
2024-10-20 01:05:12 +02:00
.PP
.RE
.PP
\fBParameters\fP
.RS 4
2024-10-20 01:05:12 +02:00
\fI*btt\fP
.br
\fIbtt_label\fP
.RE
.PP
2024-10-25 17:32:30 +02:00
.SS "void on_switch_state_rules_data ()"
.PP
This function could remain static in src/signal\&. It is provisionally non static to be visible from the documentation (2024-10)
.PP
\fBSee also\fP
.RS 4
\fBfsm_get_state_rules_data()\fP
.PP
\fBwidget_get_main_window()\fP
.PP
\fBwidget_get_page_synth()\fP
.PP
\fBwidget_get_page_state()\fP
.PP
\fBwidget_get_pane_all_rules_left()\fP
.PP
\fBwidget_get_pane_selected_rule_right()\fP
.RE
.PP
? see src/widget/main_window/measure/widget_get_page_measure()
.PP
\fBSee also\fP
.RS 4
src/widget/main_window/widget_get_page_data()
.PP
\fBon_toggle_exec_edit()\fP
.PP
\fBon_toggle_state_rules_data()\fP
.RE
.PP
The rules page consists of two half-pages in a GtkPaned widget :
.IP "\(bu" 2
on the left, widgets for controlling or editing all the rules\&.
.IP "\(bu" 2
on the right, widgets for controlling or editing the selected rule\&.
.PP
.PP
Instead of having a: 'widget_get_rules_page()' function, this distribution is moved here\&. (see also widget/topbar/left design) \fBwindow_design_topbar_left()\fP
2024-10-20 01:05:12 +02:00
.SS "void on_toggle_exec_edit (GtkWidget * toggled_button, gpointer user_data)"
.PP
2024-10-20 01:05:12 +02:00
since 2024-06
.PP
\fBSee also\fP
.RS 4
2024-10-20 01:05:12 +02:00
.PP
.RE
.PP
\fBParameters\fP
.RS 4
2024-10-20 01:05:12 +02:00
\fI*toggled_button\fP
.br
\fIuser_data\fP
.RE
.PP
2024-10-20 01:05:12 +02:00
.SS "void on_toggle_state_rules_data (GtkWidget * toggled_button, gpointer widget_all_vs_selected_one)"
.PP
2024-10-20 01:05:12 +02:00
since 2024-06
.PP
\fBSee also\fP
.RS 4
2024-10-20 01:05:12 +02:00
.PP
.RE
.PP
\fBParameters\fP
.RS 4
2024-10-20 01:05:12 +02:00
\fI*toggled_button\fP
.br
\fIwidget_all_vs_selected_one\fP
.RE
.PP
2024-10-20 01:05:12 +02:00
.SS "void on_topbar_right_measure_clicked (GtkWidget * btt, gpointer button_icon_name)"
.PP
2024-10-20 01:05:12 +02:00
since 2024-06
.PP
\fBSee also\fP
.RS 4
2024-10-20 01:05:12 +02:00
.PP
.RE
.PP
\fBParameters\fP
.RS 4
2024-10-20 01:05:12 +02:00
\fI*btt\fP
.br
\fIbutton_icon_name\fP
.RE
.PP
2024-10-20 01:05:12 +02:00
.SS "void on_updating_objects_transparencies (GtkWidget * btt_source, GtkScrollbar * scrollbar)"
.PP
2024-10-20 01:05:12 +02:00
since 2024-06
.PP
\fBSee also\fP
.RS 4
2024-10-20 01:05:12 +02:00
.PP
.RE
.PP
\fBParameters\fP
.RS 4
2024-10-20 01:05:12 +02:00
\fI*btt_source\fP
.br
\fI*scrollbar\fP
.RE
.PP
2024-10-20 01:05:12 +02:00
.SS "void on_write_current_model (GtkWidget * btt_write_current_model, gpointer data)"
.PP
2024-10-20 01:05:12 +02:00
since 2024-06
.PP
\fBSee also\fP
.RS 4
2024-10-20 01:05:12 +02:00
.PP
.RE
.PP
\fBParameters\fP
.RS 4
2024-10-20 01:05:12 +02:00
\fI*btt_write_current_model\fP
.br
\fIdata\fP
.RE
.PP
2024-10-20 01:05:12 +02:00
.SH "Author"
.PP
Generated automatically by Doxygen for Gem-graph from the source code\&.