Functions to close an atomes project
Callbacks to close an atomes project.
More...
#include "global.h"
#include "bind.h"
#include "callbacks.h"
#include "interface.h"
#include "project.h"
#include "workspace.h"
#include "curve.h"
#include "glview.h"
Go to the source code of this file.
Functions to close an atomes project
Callbacks to close an atomes project.
- Author
- Sébastien Le Roux sebas.nosp@m.tien.nosp@m..lero.nosp@m.ux@i.nosp@m.pcms..nosp@m.unis.nosp@m.tra.f.nosp@m.r
Definition in file close_p.c.
◆ clean_animation()
clean saved animation data
- Parameters
-
| proj | the target project |
| view | the target glwin |
Definition at line 324 of file w_encode.c.
◆ close_project()
| void close_project |
( |
project * | to_close | ) |
|
close a project
- Parameters
-
| to_close | the project to close |
Definition at line 260 of file close_p.c.
◆ free_glwin()
free all memory related to a gliwn data structure
- Parameters
-
| to_close | the target project |
| to_clow | the target gliwn to free |
Definition at line 97 of file close_p.c.
◆ free_glwin_spec_data()
| void free_glwin_spec_data |
( |
project * | this_proj, |
|
|
int | spec ) |
|
extern |
free the memory used by the chemical species related data in a glwin data structure
- Parameters
-
| this_proj | the target project |
| spec | the number of chemical species |
Definition at line 1602 of file glview.c.
◆ on_close_activate()
| G_MODULE_EXPORT void on_close_activate |
( |
GtkWidget * | widg, |
|
|
gpointer | cdata ) |
signal to close a project
- Parameters
-
| widg | the GtkWidget sending the signal |
| cdata | the associated data pointer |
Definition at line 503 of file close_p.c.
◆ replace_combo_tree()
| GtkTreeModel * replace_combo_tree |
( |
gboolean | insert, |
|
|
int | proj ) |
|
extern |
replace combo box in the tree view
- Parameters
-
| insert | add 'Select ...' combo box item |
| proj | target crystal builder project id |
Definition at line 2612 of file w_search.c.
◆ spin_stop()
| G_MODULE_EXPORT void spin_stop |
( |
GtkButton * | but, |
|
|
gpointer | data ) |
|
extern |
stop spin
- Parameters
-
| but | the GtkButton sending the signal |
| data | the associated data pointer |
Definition at line 155 of file w_spiner.c.
◆ to_close_this_project()
| void to_close_this_project |
( |
int | to_activate, |
|
|
project * | this_proj ) |
to close this project
- Parameters
-
| to_activate | If the workspace is not empty, activate first another project |
| this_proj | the target project |
Definition at line 479 of file close_p.c.
◆ update_insert_combos()
| void update_insert_combos |
( |
| ) |
|
update some GtkComboBox in the workspace if a project is removed
Definition at line 65 of file close_p.c.
◆ tool_model