atomes 1.1.15
atomes: an atomic scale modeling tool box
|
Callback declarations for main window. More...
Go to the source code of this file.
Functions | |
void | fill_tool_model () |
fill the tool window tree model | |
void | free_data () |
void | quit_gtk () |
Leave the application. | |
void | show_Help () |
G_MODULE_EXPORT int | open_save_workspace (FILE *fp, int act) |
open or save the active workspace | |
G_MODULE_EXPORT int | open_save (FILE *fp, int i, int pid, int aid, int np, gchar *pfile) |
open or save project file | |
G_MODULE_EXPORT void | on_close_workspace (GtkWidget *widg, gpointer data) |
close the active workspace | |
G_MODULE_EXPORT void | on_open_save_activate (GtkWidget *widg, gpointer data) |
open or save an atomes file - prepare the dialog | |
G_MODULE_EXPORT void | on_save_as_activate (GtkWidget *widg, gpointer data) |
open or save, choosing a file name | |
void | open_this_isaacs_xml_file (gchar *profile, int ptoc, gboolean visible) |
open an ISAACS XML file | |
G_MODULE_EXPORT void | on_isaacs_port (GtkWidget *widg, gpointer data) |
open or write ISAACS XML file - prepare the dialog | |
void | open_this_coordinate_file (int format, gchar *proj_name) |
open coordinate file format, if successful add to workspace | |
G_MODULE_EXPORT void | on_coord_port (GtkWidget *widg, gpointer data) |
export or import atomic coordinates: prepare dialog | |
void | to_read_pos () |
send atomic coordinates to Fortran90 | |
void | display_distances () |
void | run_project () |
send project data to Fortran90 | |
void | apply_project (gboolean showtools) |
get project ready for calculation and initialize the OpenGL window | |
G_MODULE_EXPORT void | on_Bonds_activate () |
G_MODULE_EXPORT void | on_Help_released (GtkButton *but, gpointer data) |
G_MODULE_EXPORT void | on_check_toggled (GtkToggleButton *Button, gpointer data) |
G_MODULE_EXPORT void | expanding (GtkExpander *expander, gpointer data) |
G_MODULE_EXPORT void | on_show_curve_toolbox (GtkWidget *widg, gpointer data) |
show the curve toolboxes | |
Callback declarations for main window.
Definition in file callbacks.h.
void apply_project | ( | gboolean | showtools | ) |
get project ready for calculation and initialize the OpenGL window
showtools |
Definition at line 665 of file callbacks.c.
void display_distances | ( | ) |
G_MODULE_EXPORT void expanding | ( | GtkExpander * | expander, |
gpointer | data ) |
|
extern |
void free_data | ( | ) |
G_MODULE_EXPORT void on_Bonds_activate | ( | ) |
G_MODULE_EXPORT void on_check_toggled | ( | GtkToggleButton * | Button, |
gpointer | data ) |
G_MODULE_EXPORT void on_close_workspace | ( | GtkWidget * | widg, |
gpointer | data ) |
close the active workspace
widg | the GtkWidget sending the signal |
data | the associated data pointer |
Definition at line 133 of file callbacks.c.
G_MODULE_EXPORT void on_coord_port | ( | GtkWidget * | widg, |
gpointer | data ) |
export or import atomic coordinates: prepare dialog
widg | the GtkWidget sending the signal |
data | the associated data pointer |
Definition at line 1604 of file callbacks.c.
G_MODULE_EXPORT void on_Help_released | ( | GtkButton * | but, |
gpointer | data ) |
G_MODULE_EXPORT void on_isaacs_port | ( | GtkWidget * | widg, |
gpointer | data ) |
open or write ISAACS XML file - prepare the dialog
widg | the GtkWidget sending the signal |
data | the associated data pointer (int *) open = 0, save = 1 |
Definition at line 775 of file callbacks.c.
G_MODULE_EXPORT void on_open_save_activate | ( | GtkWidget * | widg, |
gpointer | data ) |
open or save an atomes file - prepare the dialog
widg | the GtkWidget sending the signal |
data | the associated data pointer |
Definition at line 423 of file callbacks.c.
G_MODULE_EXPORT void on_save_as_activate | ( | GtkWidget * | widg, |
gpointer | data ) |
open or save, choosing a file name
widg | the GtkWidget sending the signal |
data | the associated data pointer |
Definition at line 621 of file callbacks.c.
G_MODULE_EXPORT void on_show_curve_toolbox | ( | GtkWidget * | widg, |
gpointer | data ) |
show the curve toolboxes
widg | the GtkWidget sending the signal |
data | the associated data pointer |
Definition at line 1019 of file calc_menu.c.
G_MODULE_EXPORT int open_save | ( | FILE * | fp, |
int | i, | ||
int | pid, | ||
int | aid, | ||
int | npi, | ||
gchar * | pfile ) |
open or save project file
fp | the file pointer |
i | 0 = read, 1 = write |
pid | the project id |
aid | the active project id |
npi | total number of projects |
pfile | the file name |
Definition at line 174 of file callbacks.c.
G_MODULE_EXPORT int open_save_workspace | ( | FILE * | fp, |
int | act ) |
open or save the active workspace
fp | the file to read or write |
act | the action (0 = read, 1 = write) |
Definition at line 234 of file callbacks.c.
|
extern |
open coordinate file format, if successful add to workspace
format | the format of the file that contains the atomic coordinates |
proj_name | the project name to use, if any |
Definition at line 1416 of file callbacks.c.
|
extern |
open an ISAACS XML file
profile | the XML file name |
ptoc | the previous active project |
visible | read from the command line (FALSE), from the gui (TRUE) |
Definition at line 685 of file callbacks.c.
void quit_gtk | ( | ) |
Leave the application.
Definition at line 119 of file callbacks.c.
void run_project | ( | ) |
send project data to Fortran90
Definition at line 633 of file callbacks.c.
void show_Help | ( | ) |
void to_read_pos | ( | ) |
send atomic coordinates to Fortran90
Definition at line 831 of file callbacks.c.