atomes 1.1.14
atomes: an atomic scale modeling tool box
|
Messaging function declarations. More...
Go to the source code of this file.
Functions | |
G_MODULE_EXPORT void | create_about_dialog (GtkWidget *widg, gpointer data) |
create the about dialog | |
void | show_info (char *information, int val, GtkWidget *win) |
add / show information message to widget | |
void | show_info_ (double *valdij) |
void | show_warning (char *warning, GtkWidget *win) |
show warning | |
void | show_warning_ (char *warning, char *sub, char *tab) |
show warning from Fortran90 | |
void | show_error (char *error, int val, GtkWidget *win) |
show error message | |
void | show_error_ (char *error, char *sub, char *tab) |
show error from Fortran90 | |
gboolean | ask_yes_no (gchar *title, gchar *text, int type, GtkWidget *widg) |
ask yes or no for something: prepare dialog | |
gchar * | exact_name (gchar *name) |
short cut to print string without spaces | |
GtkWidget * | show_pop (char *pop, GtkWidget *pwin) |
display pop information window | |
G_MODULE_EXPORT gboolean | leaving_question (GtkWidget *widget, GdkEvent *event, gpointer data) |
Leaving atomes ? | |
int | dummy_ask_ (char *question) |
Ask to use dummy atoms or not from Fortran90. | |
int | iask (char *question, char *lab, int id, GtkWidget *win) |
enter an integer value - prepare the dialog | |
gchar * | cask (char *question, char *lab, int id, char *old, GtkWidget *win) |
enter a string - prepare the dialog | |
void | print_info (gchar *str, gchar *stag, GtkTextBuffer *buffer) |
print information in GtkTextBuffer | |
gchar * | textcolor (int i) |
setup text color keyword | |
gchar * | env_name (project *this_proj, int g, int s, int f, GtkTextBuffer *buffer) |
ouput the name of a coordination sphere | |
void | init_data_ (int *nats, int *nspc, int *stps, int *cid) |
update project data using information from Fortran90 | |
void | update_after_calc (int calc) |
To update all curve plots in the workspace after a calculation. | |
void | prepostcalc (GtkWidget *widg, gboolean status, int run, int adv, double opc) |
to just before and just after running a calculation | |
void | prep_calc_actions () |
prepare analysis widgets | |
void | initcwidgets () |
initializing curve values | |
Messaging function declarations.
Definition in file interface.h.
gboolean ask_yes_no | ( | gchar * | title, |
gchar * | text, | ||
int | type, | ||
GtkWidget * | widg ) |
ask yes or no for something: prepare dialog
title | Title |
text | Message |
type | the type of message window |
widg | the parent GtkWidget, if any |
Definition at line 356 of file interface.c.
gchar * cask | ( | char * | question, |
char * | lab, | ||
int | id, | ||
char * | old, | ||
GtkWidget * | win ) |
enter a string - prepare the dialog
question | Message |
lab | Text to use for label |
id | the required parameter id |
old | the initial value for the string |
win | the parent GtkWidget, if any |
Definition at line 645 of file interface.c.
G_MODULE_EXPORT void create_about_dialog | ( | GtkWidget * | widg, |
gpointer | data ) |
create the about dialog
widg | the GtkWidget sending the signal |
data | the associated data pointer |
Definition at line 175 of file interface.c.
int dummy_ask_ | ( | char * | question | ) |
Ask to use dummy atoms or not from Fortran90.
question | Message |
Definition at line 439 of file interface.c.
gchar * env_name | ( | project * | this_proj, |
int | g, | ||
int | s, | ||
int | f, | ||
GtkTextBuffer * | buffer ) |
ouput the name of a coordination sphere
this_proj | the target project |
g | the coordination (0 = total, 1 = partial) |
s | the chemical species |
f | With markup or not |
buffer | Output in a GtkTextBuffer, or not if NULL |
Definition at line 889 of file interface.c.
gchar * exact_name | ( | gchar * | name | ) |
short cut to print string without spaces
name | the initial string |
Definition at line 370 of file interface.c.
int iask | ( | char * | question, |
char * | lab, | ||
int | id, | ||
GtkWidget * | win ) |
enter an integer value - prepare the dialog
question | Message |
lab | Text to use for label |
id | the required parameter id |
win | the parent GtkWidget, if any |
Definition at line 529 of file interface.c.
void init_data_ | ( | int * | nats, |
int * | nspc, | ||
int * | stps, | ||
int * | cid ) |
update project data using information from Fortran90
nats | number of atoms |
nspc | number of species |
stps | number of steps |
cid | allocate chemistry data (1) or not (0) |
Definition at line 682 of file interface.c.
G_MODULE_EXPORT gboolean leaving_question | ( | GtkWidget * | widget, |
GdkEvent * | event, | ||
gpointer | data ) |
Leaving atomes ?
widget | the GtkWidget sending the signal |
event | the GdkEvent triggering the signal |
data | the associated data pointer |
Definition at line 418 of file interface.c.
void prep_calc_actions | ( | ) |
prepare analysis widgets
Definition at line 58 of file update_p.c.
void prepostcalc | ( | GtkWidget * | widg, |
gboolean | status, | ||
int | run, | ||
int | adv, | ||
double | opc ) |
void print_info | ( | gchar * | str, |
gchar * | stag, | ||
GtkTextBuffer * | buffer ) |
print information in GtkTextBuffer
str | the text |
stag | the tags |
buffer | the GtkTextBuffer to print to |
Definition at line 738 of file interface.c.
void show_error | ( | char * | error, |
int | val, | ||
GtkWidget * | win ) |
show error message
error | Message |
val | Add contact info (1) or not (0) |
win | Parent GtkWidget, if any |
Definition at line 293 of file interface.c.
void show_error_ | ( | char * | error, |
char * | sub, | ||
char * | tab ) |
show error from Fortran90
error | Message |
sub | Fortan90 subroutine |
tab | Fortran90 pointer |
Definition at line 320 of file interface.c.
void show_info | ( | char * | information, |
int | val, | ||
GtkWidget * | win ) |
add / show information message to widget
information | Message |
val | Add contact info (1) or not (0) |
win | the GtkWidget to modify |
Definition at line 234 of file interface.c.
void show_info_ | ( | double * | valdij | ) |
GtkWidget * show_pop | ( | char * | pop, |
GtkWidget * | pwin ) |
display pop information window
pop | Message |
pwin | Parent widget, if any |
Definition at line 383 of file interface.c.
void show_warning | ( | char * | warning, |
GtkWidget * | win ) |
show warning
warning | Message |
win | Parent GtkWidget, if any |
Definition at line 260 of file interface.c.
void show_warning_ | ( | char * | warning, |
char * | sub, | ||
char * | tab ) |
show warning from Fortran90
warning | Message |
sub | Fortan90 subroutine |
tab | Fortran90 pointer |
Definition at line 275 of file interface.c.
gchar * textcolor | ( | int | i | ) |
void update_after_calc | ( | int | calc | ) |
To update all curve plots in the workspace after a calculation.
calc | Analysis id |
Definition at line 977 of file interface.c.