src/main.c File Reference src/main.c Gem-graph-client main file. #include "../include/fsm.h"#include "../include/signal.h"#include "../include/widget.h" Functions int main (int argc, char **argv)
Detailed Description Gem-graph-client main file. This file is part of Gem-graph. It contains only the main() function. The main() function initialises the log, the finite state machine (fsm), the application and the windows and closes all the elements it opened before the end of program execution. By default, the main window opens on the overview page of the current model. See also src/widget/main_window/topbar/dispatch/widget_design_main_window() src/widget/main_window/topbar/left/WANT_TO_START_ON_ANOTHER_PAGE There are several types of organisation in src (sources). The widgets that give the windows their appearance are organised in a tree-like hierarchy. The fsm (finite state machine), which controls the program's actions and indicates its state at all times, contains the following main sections: execution/editing, main view, measurements/results, preferences. The other functions are those that manage graphics and utilities. They are called "transversal" because they must be easily accessed by all the preceding functions. They therefore remain at the root (src).
Function Documentation
main() mainmain.c main.cmain int main (int argc, char ** argv) Since 2024-04 See also src/fsm/dispatch/fsm_init() src/widget/dispatch/on_windows_activation(app) Parameters argc **argv
Returns status, the program errorlevel