atomes 1.1.14
atomes: an atomic scale modeling tool box
|
Functions to create the model edition window. More...
#include "atom_edit.h"
Go to the source code of this file.
Functions | |
gboolean | is_atom_win_active (glwin *view) |
is the model edition window visible ? | |
void | clean_coord_window (project *this_proj) |
update the environment configuration window after edtion | |
void | clean_other_window_after_edit (project *this_proj) |
update other windows after model edition if required | |
void | clean_atom_win (project *this_proj) |
clean model edition data | |
G_MODULE_EXPORT void | close_edit (GtkButton *but, gpointer data) |
close model edition window | |
G_MODULE_EXPORT gboolean | delete_action (GtkWidget *widg, GdkEvent *event, gpointer data) |
model edition window close event callback GTK3 | |
G_MODULE_EXPORT void | set_reset_transformation (GtkToggleButton *but, gpointer data) |
reset model transformation toggle callback GTK3 | |
G_MODULE_EXPORT void | apply_edit (GtkButton *but, gpointer data) |
apply edition action callback | |
GtkWidget * | create_atom_notebook (project *this_proj, GtkWidget *vbox) |
create the model edition notebook | |
atom_search * | allocate_atom_search (int proj, int action, int searchid, int tsize) |
allocate atom search data structure | |
GtkWidget * | create_edition_window (project *this_proj) |
create the model edition window | |
void | prepare_atom_edition (gpointer data, gboolean visible) |
prepare atom edition | |
G_MODULE_EXPORT void | action_window (GtkWidget *widg, gpointer data) |
open model edition window callback GTK3 | |
Variables | |
float | limit [2] = {100.0, 180.0} |
gchar * | action_name [5] = {"Move", "Replace", "Remove", "Insert", "Random move"} |
gchar * | action_atoms [3] = {"All non-selected atoms", "All selected atoms", "All atoms"} |
gboolean | was_moved |
Functions to create the model edition window.
Definition in file atom_edit.c.
G_MODULE_EXPORT void action_window | ( | GtkWidget * | widg, |
gpointer | data ) |
open model edition window callback GTK3
widg | the GtkWidget sending the signal |
data | the associated data pointer |
Definition at line 535 of file atom_edit.c.
atom_search * allocate_atom_search | ( | int | proj, |
int | action, | ||
int | searchid, | ||
int | tsize ) |
allocate atom search data structure
proj | the target project id |
action | the edition action |
searchid | the atom search id |
tsize | the atom search object list size |
Definition at line 392 of file atom_edit.c.
G_MODULE_EXPORT void apply_edit | ( | GtkButton * | but, |
gpointer | data ) |
apply edition action callback
but | the GtkButton sending the signal |
data | the associated data pointer |
Definition at line 325 of file atom_edit.c.
void clean_atom_win | ( | project * | this_proj | ) |
clean model edition data
this_proj | the target project |
Definition at line 162 of file atom_edit.c.
void clean_coord_window | ( | project * | this_proj | ) |
update the environment configuration window after edtion
this_proj | the target project |
Definition at line 87 of file atom_edit.c.
void clean_other_window_after_edit | ( | project * | this_proj | ) |
update other windows after model edition if required
this_proj | the target project |
Definition at line 110 of file atom_edit.c.
G_MODULE_EXPORT void close_edit | ( | GtkButton * | but, |
gpointer | data ) |
close model edition window
but | the GtkButton sending the signal |
data | the associated data pointer |
Definition at line 202 of file atom_edit.c.
GtkWidget * create_atom_notebook | ( | project * | this_proj, |
GtkWidget * | vbox ) |
create the model edition notebook
this_proj | the target project |
vbox | the GtkWidget sending the signal |
Definition at line 365 of file atom_edit.c.
GtkWidget * create_edition_window | ( | project * | this_proj | ) |
create the model edition window
this_proj | the target project |
Definition at line 418 of file atom_edit.c.
G_MODULE_EXPORT gboolean delete_action | ( | GtkWidget * | widg, |
GdkEvent * | event, | ||
gpointer | data ) |
model edition window close event callback GTK3
widg | the GtkWidget sending the signal |
event | the GdkEvent triggering the signal |
data | the associated data pointer |
Definition at line 249 of file atom_edit.c.
gboolean is_atom_win_active | ( | glwin * | view | ) |
is the model edition window visible ?
view | the target glwin |
Definition at line 71 of file atom_edit.c.
void prepare_atom_edition | ( | gpointer | data, |
gboolean | visible ) |
prepare atom edition
data | the associated data pointer |
visible | is the window visible (1/0) |
Definition at line 459 of file atom_edit.c.
G_MODULE_EXPORT void set_reset_transformation | ( | GtkToggleButton * | but, |
gpointer | data ) |
reset model transformation toggle callback GTK3
but | the GtkToggleButton sending the signal |
data | the associated data pointer |
Definition at line 277 of file atom_edit.c.
gchar* action_atoms[3] = {"All non-selected atoms", "All selected atoms", "All atoms"} |
Definition at line 61 of file atom_edit.c.
gchar* action_name[5] = {"Move", "Replace", "Remove", "Insert", "Random move"} |
Definition at line 60 of file atom_edit.c.
float limit[2] = {100.0, 180.0} |
Definition at line 59 of file atom_edit.c.
gboolean was_moved |
Definition at line 62 of file atom_edit.c.