592 lines
9.1 KiB
Groff
592 lines
9.1 KiB
Groff
|
.TH "src/signal.c" 3 "Version 0.1.0" "Gem-graph" \" -*- nroff -*-
|
||
|
.ad l
|
||
|
.nh
|
||
|
.SH NAME
|
||
|
src/signal.c \- events management functions
|
||
|
|
||
|
.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
|
||
|
.ti -1c
|
||
|
.RI "void \fBon_bind_user_tree_factory\fP (GtkSignalListItemFactory *factory, GObject *object, gpointer user_data)"
|
||
|
.br
|
||
|
.ti -1c
|
||
|
.RI "gboolean \fBon_glarea_render\fP (GtkGLArea *area, GdkGLContext *context)"
|
||
|
.br
|
||
|
.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
|
||
|
.ti -1c
|
||
|
.RI "void \fBon_save_current_model_before_editing\fP (GtkWidget *btt_save_current_model, gpointer data)"
|
||
|
.br
|
||
|
.ti -1c
|
||
|
.RI "void \fBon_discard_current_model_before_editing\fP (GtkWidget *btt_discard_current_model, gpointer data)"
|
||
|
.br
|
||
|
.ti -1c
|
||
|
.RI "void \fBon_write_current_model\fP (GtkWidget *btt_write_current_model, gpointer data)"
|
||
|
.br
|
||
|
.ti -1c
|
||
|
.RI "void \fBon_toggle_exec_edit\fP (GtkWidget *toggled_button, gpointer user_data)"
|
||
|
.br
|
||
|
.ti -1c
|
||
|
.RI "void \fBon_toggle_state_rules_data\fP (GtkWidget *toggled_button, gpointer widget_all_vs_selected_one)"
|
||
|
.br
|
||
|
.ti -1c
|
||
|
.RI "void \fBon_clicked_topbar_right_search\fP (GtkWidget *btt_menu, gpointer list_box)"
|
||
|
.br
|
||
|
.ti -1c
|
||
|
.RI "void \fBon_clicked_topbar_right_home\fP (GtkWidget *btt_reset, gpointer data)"
|
||
|
.br
|
||
|
.ti -1c
|
||
|
.RI "void \fBon_updating_objects_transparencies\fP (GtkWidget *btt_source, GtkScrollbar *scrollbar)"
|
||
|
.br
|
||
|
.ti -1c
|
||
|
.RI "void \fBon_resetting_XYZ_in_state_page\fP ()"
|
||
|
.br
|
||
|
.ti -1c
|
||
|
.RI "void \fBon_situations_box_do_reset\fP (GtkWidget *btt_reset, GtkScrollbar *reset_scrollbar)"
|
||
|
.br
|
||
|
.ti -1c
|
||
|
.RI "void \fBon_topbar_right_measure_clicked\fP (GtkWidget *btt, gpointer button_icon_name)"
|
||
|
.br
|
||
|
.ti -1c
|
||
|
.RI "void \fBon_start_new_measure\fP (GtkWidget *btt, gpointer btt_label)"
|
||
|
.br
|
||
|
.ti -1c
|
||
|
.RI "void \fBon_select_rules_first\fP (GtkWidget *btt, gpointer data)"
|
||
|
.br
|
||
|
.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
|
||
|
.ti -1c
|
||
|
.RI "void \fBon_entry_name_delete_after\fP (GtkWidget *entry, gpointer data)"
|
||
|
.br
|
||
|
.in -1c
|
||
|
.SH "Detailed Description"
|
||
|
.PP
|
||
|
events management functions
|
||
|
|
||
|
This file is part of Gem-graph\&.
|
||
|
.SH "Function Documentation"
|
||
|
.PP
|
||
|
.SS "void on_axis_value_change (GtkAdjustment * adjustment, gpointer data)"
|
||
|
|
||
|
.PP
|
||
|
\fBDate\fP
|
||
|
.RS 4
|
||
|
|
||
|
.RE
|
||
|
.PP
|
||
|
\fBAuthor\fP
|
||
|
.RS 4
|
||
|
.RE
|
||
|
.PP
|
||
|
\fBSee also\fP
|
||
|
.RS 4
|
||
|
.PP
|
||
|
.RE
|
||
|
.PP
|
||
|
\fBParameters\fP
|
||
|
.RS 4
|
||
|
\fI\fP .RE
|
||
|
.PP
|
||
|
return
|
||
|
.SS "void on_bind_user_tree_factory (GtkSignalListItemFactory * factory, GObject * object, gpointer user_data)"
|
||
|
|
||
|
.PP
|
||
|
\fBDate\fP
|
||
|
.RS 4
|
||
|
|
||
|
.RE
|
||
|
.PP
|
||
|
\fBAuthor\fP
|
||
|
.RS 4
|
||
|
.RE
|
||
|
.PP
|
||
|
\fBSee also\fP
|
||
|
.RS 4
|
||
|
.PP
|
||
|
.RE
|
||
|
.PP
|
||
|
\fBParameters\fP
|
||
|
.RS 4
|
||
|
\fI\fP .RE
|
||
|
.PP
|
||
|
return
|
||
|
.SS "void on_clicked_topbar_right_home (GtkWidget * btt_reset, gpointer data)"
|
||
|
|
||
|
.PP
|
||
|
\fBDate\fP
|
||
|
.RS 4
|
||
|
|
||
|
.RE
|
||
|
.PP
|
||
|
\fBAuthor\fP
|
||
|
.RS 4
|
||
|
.RE
|
||
|
.PP
|
||
|
\fBSee also\fP
|
||
|
.RS 4
|
||
|
.PP
|
||
|
.RE
|
||
|
.PP
|
||
|
\fBParameters\fP
|
||
|
.RS 4
|
||
|
\fI\fP .RE
|
||
|
.PP
|
||
|
return
|
||
|
.SS "void on_clicked_topbar_right_search (GtkWidget * btt_menu, gpointer list_box)"
|
||
|
|
||
|
.PP
|
||
|
\fBDate\fP
|
||
|
.RS 4
|
||
|
|
||
|
.RE
|
||
|
.PP
|
||
|
\fBAuthor\fP
|
||
|
.RS 4
|
||
|
.RE
|
||
|
.PP
|
||
|
\fBSee also\fP
|
||
|
.RS 4
|
||
|
.PP
|
||
|
.RE
|
||
|
.PP
|
||
|
\fBParameters\fP
|
||
|
.RS 4
|
||
|
\fI\fP .RE
|
||
|
.PP
|
||
|
return
|
||
|
.SS "void on_discard_current_model_before_editing (GtkWidget * btt_discard_current_model, gpointer data)"
|
||
|
|
||
|
.PP
|
||
|
\fBDate\fP
|
||
|
.RS 4
|
||
|
|
||
|
.RE
|
||
|
.PP
|
||
|
\fBAuthor\fP
|
||
|
.RS 4
|
||
|
.RE
|
||
|
.PP
|
||
|
\fBSee also\fP
|
||
|
.RS 4
|
||
|
.PP
|
||
|
.RE
|
||
|
.PP
|
||
|
\fBParameters\fP
|
||
|
.RS 4
|
||
|
\fI\fP .RE
|
||
|
.PP
|
||
|
return
|
||
|
.SS "void on_entry_name_delete_after (GtkWidget * entry, gpointer data)"
|
||
|
|
||
|
.PP
|
||
|
\fBDate\fP
|
||
|
.RS 4
|
||
|
|
||
|
.RE
|
||
|
.PP
|
||
|
\fBAuthor\fP
|
||
|
.RS 4
|
||
|
.RE
|
||
|
.PP
|
||
|
\fBSee also\fP
|
||
|
.RS 4
|
||
|
.PP
|
||
|
.RE
|
||
|
.PP
|
||
|
\fBParameters\fP
|
||
|
.RS 4
|
||
|
\fI\fP .RE
|
||
|
.PP
|
||
|
return
|
||
|
.SS "void on_entry_name_insert_after (GtkWidget * entry, gpointer data)"
|
||
|
|
||
|
.PP
|
||
|
\fBDate\fP
|
||
|
.RS 4
|
||
|
|
||
|
.RE
|
||
|
.PP
|
||
|
\fBAuthor\fP
|
||
|
.RS 4
|
||
|
.RE
|
||
|
.PP
|
||
|
\fBSee also\fP
|
||
|
.RS 4
|
||
|
.PP
|
||
|
.RE
|
||
|
.PP
|
||
|
\fBParameters\fP
|
||
|
.RS 4
|
||
|
\fI\fP .RE
|
||
|
.PP
|
||
|
return
|
||
|
.SS "void on_glarea_realize (GtkWidget * widget)"
|
||
|
|
||
|
.PP
|
||
|
We need to set up our state when we realize the GtkGLArea widget\&.
|
||
|
.PP
|
||
|
\fBDate\fP
|
||
|
.RS 4
|
||
|
|
||
|
.RE
|
||
|
.PP
|
||
|
\fBAuthor\fP
|
||
|
.RS 4
|
||
|
.RE
|
||
|
.PP
|
||
|
\fBSee also\fP
|
||
|
.RS 4
|
||
|
.PP
|
||
|
.RE
|
||
|
.PP
|
||
|
\fBParameters\fP
|
||
|
.RS 4
|
||
|
\fI\fP .RE
|
||
|
.PP
|
||
|
return
|
||
|
.SS "gboolean on_glarea_render (GtkGLArea * area, GdkGLContext * context)"
|
||
|
|
||
|
.PP
|
||
|
\fBDate\fP
|
||
|
.RS 4
|
||
|
|
||
|
.RE
|
||
|
.PP
|
||
|
\fBAuthor\fP
|
||
|
.RS 4
|
||
|
.RE
|
||
|
.PP
|
||
|
\fBSee also\fP
|
||
|
.RS 4
|
||
|
.PP
|
||
|
.RE
|
||
|
.PP
|
||
|
\fBParameters\fP
|
||
|
.RS 4
|
||
|
\fI\fP .RE
|
||
|
.PP
|
||
|
return
|
||
|
.SS "void on_glarea_unrealize (GtkWidget * widget)"
|
||
|
|
||
|
.PP
|
||
|
We should tear down the state when unrealizing\&.
|
||
|
.PP
|
||
|
\fBDate\fP
|
||
|
.RS 4
|
||
|
|
||
|
.RE
|
||
|
.PP
|
||
|
\fBAuthor\fP
|
||
|
.RS 4
|
||
|
.RE
|
||
|
.PP
|
||
|
\fBSee also\fP
|
||
|
.RS 4
|
||
|
.PP
|
||
|
.RE
|
||
|
.PP
|
||
|
\fBParameters\fP
|
||
|
.RS 4
|
||
|
\fI\fP .RE
|
||
|
.PP
|
||
|
return
|
||
|
.SS "void on_resetting_XYZ_in_state_page ()"
|
||
|
|
||
|
.PP
|
||
|
\fBDate\fP
|
||
|
.RS 4
|
||
|
|
||
|
.RE
|
||
|
.PP
|
||
|
\fBAuthor\fP
|
||
|
.RS 4
|
||
|
.RE
|
||
|
.PP
|
||
|
\fBSee also\fP
|
||
|
.RS 4
|
||
|
.PP
|
||
|
.RE
|
||
|
.PP
|
||
|
\fBParameters\fP
|
||
|
.RS 4
|
||
|
\fI\fP .RE
|
||
|
.PP
|
||
|
return
|
||
|
.SS "void on_save_current_model_before_editing (GtkWidget * btt_save_current_model, gpointer data)"
|
||
|
|
||
|
.PP
|
||
|
\fBDate\fP
|
||
|
.RS 4
|
||
|
|
||
|
.RE
|
||
|
.PP
|
||
|
\fBAuthor\fP
|
||
|
.RS 4
|
||
|
.RE
|
||
|
.PP
|
||
|
\fBSee also\fP
|
||
|
.RS 4
|
||
|
.PP
|
||
|
.RE
|
||
|
.PP
|
||
|
\fBParameters\fP
|
||
|
.RS 4
|
||
|
\fI\fP .RE
|
||
|
.PP
|
||
|
return
|
||
|
.SS "void on_select_rules_first (GtkWidget * btt, gpointer data)"
|
||
|
|
||
|
.PP
|
||
|
\fBDate\fP
|
||
|
.RS 4
|
||
|
|
||
|
.RE
|
||
|
.PP
|
||
|
\fBAuthor\fP
|
||
|
.RS 4
|
||
|
.RE
|
||
|
.PP
|
||
|
\fBSee also\fP
|
||
|
.RS 4
|
||
|
.PP
|
||
|
.RE
|
||
|
.PP
|
||
|
\fBParameters\fP
|
||
|
.RS 4
|
||
|
\fI\fP .RE
|
||
|
.PP
|
||
|
return
|
||
|
.SS "void on_situations_box_do_reset (GtkWidget * btt_reset, GtkScrollbar * reset_scrollbar)"
|
||
|
|
||
|
.PP
|
||
|
\fBDate\fP
|
||
|
.RS 4
|
||
|
|
||
|
.RE
|
||
|
.PP
|
||
|
\fBAuthor\fP
|
||
|
.RS 4
|
||
|
.RE
|
||
|
.PP
|
||
|
\fBSee also\fP
|
||
|
.RS 4
|
||
|
.PP
|
||
|
.RE
|
||
|
.PP
|
||
|
\fBParameters\fP
|
||
|
.RS 4
|
||
|
\fI\fP .RE
|
||
|
.PP
|
||
|
return
|
||
|
.SS "void on_start_new_measure (GtkWidget * btt, gpointer btt_label)"
|
||
|
|
||
|
.PP
|
||
|
\fBDate\fP
|
||
|
.RS 4
|
||
|
|
||
|
.RE
|
||
|
.PP
|
||
|
\fBAuthor\fP
|
||
|
.RS 4
|
||
|
.RE
|
||
|
.PP
|
||
|
\fBSee also\fP
|
||
|
.RS 4
|
||
|
.PP
|
||
|
.RE
|
||
|
.PP
|
||
|
\fBParameters\fP
|
||
|
.RS 4
|
||
|
\fI\fP .RE
|
||
|
.PP
|
||
|
return
|
||
|
.SS "void on_toggle_exec_edit (GtkWidget * toggled_button, gpointer user_data)"
|
||
|
|
||
|
.PP
|
||
|
\fBDate\fP
|
||
|
.RS 4
|
||
|
|
||
|
.RE
|
||
|
.PP
|
||
|
\fBAuthor\fP
|
||
|
.RS 4
|
||
|
.RE
|
||
|
.PP
|
||
|
\fBSee also\fP
|
||
|
.RS 4
|
||
|
.PP
|
||
|
.RE
|
||
|
.PP
|
||
|
\fBParameters\fP
|
||
|
.RS 4
|
||
|
\fI\fP .RE
|
||
|
.PP
|
||
|
return
|
||
|
.SS "void on_toggle_state_rules_data (GtkWidget * toggled_button, gpointer widget_all_vs_selected_one)"
|
||
|
|
||
|
.PP
|
||
|
\fBDate\fP
|
||
|
.RS 4
|
||
|
|
||
|
.RE
|
||
|
.PP
|
||
|
\fBAuthor\fP
|
||
|
.RS 4
|
||
|
.RE
|
||
|
.PP
|
||
|
\fBSee also\fP
|
||
|
.RS 4
|
||
|
.PP
|
||
|
.RE
|
||
|
.PP
|
||
|
\fBParameters\fP
|
||
|
.RS 4
|
||
|
\fI\fP .RE
|
||
|
.PP
|
||
|
return
|
||
|
.SS "void on_topbar_right_measure_clicked (GtkWidget * btt, gpointer button_icon_name)"
|
||
|
|
||
|
.PP
|
||
|
\fBDate\fP
|
||
|
.RS 4
|
||
|
|
||
|
.RE
|
||
|
.PP
|
||
|
\fBAuthor\fP
|
||
|
.RS 4
|
||
|
.RE
|
||
|
.PP
|
||
|
\fBSee also\fP
|
||
|
.RS 4
|
||
|
.PP
|
||
|
.RE
|
||
|
.PP
|
||
|
\fBParameters\fP
|
||
|
.RS 4
|
||
|
\fI\fP .RE
|
||
|
.PP
|
||
|
return
|
||
|
.SS "void on_updating_objects_transparencies (GtkWidget * btt_source, GtkScrollbar * scrollbar)"
|
||
|
|
||
|
.PP
|
||
|
\fBDate\fP
|
||
|
.RS 4
|
||
|
|
||
|
.RE
|
||
|
.PP
|
||
|
\fBAuthor\fP
|
||
|
.RS 4
|
||
|
.RE
|
||
|
.PP
|
||
|
\fBSee also\fP
|
||
|
.RS 4
|
||
|
.PP
|
||
|
.RE
|
||
|
.PP
|
||
|
\fBParameters\fP
|
||
|
.RS 4
|
||
|
\fI\fP .RE
|
||
|
.PP
|
||
|
return
|
||
|
.SS "void on_write_current_model (GtkWidget * btt_write_current_model, gpointer data)"
|
||
|
|
||
|
.PP
|
||
|
\fBDate\fP
|
||
|
.RS 4
|
||
|
|
||
|
.RE
|
||
|
.PP
|
||
|
\fBAuthor\fP
|
||
|
.RS 4
|
||
|
.RE
|
||
|
.PP
|
||
|
\fBSee also\fP
|
||
|
.RS 4
|
||
|
.PP
|
||
|
.RE
|
||
|
.PP
|
||
|
\fBParameters\fP
|
||
|
.RS 4
|
||
|
\fI\fP .RE
|
||
|
.PP
|
||
|
return
|
||
|
.SH "Author"
|
||
|
.PP
|
||
|
Generated automatically by Doxygen for Gem-graph from the source code\&.
|