atomes 1.1.15
atomes: an atomic scale modeling tool box
|
Functions to insert bond(s) in a project. More...
#include "atom_edit.h"
Go to the source code of this file.
Functions | |
void | add_bonds_to_project (project *this_proj, int removed, int nbd, int **new_bond_list) |
add bond list to project bond list | |
void | add_bonds_to_list (int **new_bond_list, int nat, int nbd, atomic_object *object) |
add object bond(s) list to overall bond(s) list | |
void | prepare_to_instert (gchar *key, project *this_proj, atom_search *asearch, gboolean visible) |
prepare to insert something | |
G_MODULE_EXPORT void | set_atoms_to_insert (GtkComboBox *box, gpointer data) |
change the object to insert | |
Functions to insert bond(s) in a project.
Definition in file atom_insert.c.
void add_bonds_to_list | ( | int ** | new_bond_list, |
int | nat, | ||
int | nbd, | ||
atomic_object * | object ) |
add object bond(s) list to overall bond(s) list
new_bond_list | the bond list in the model |
nat | the number of atom(s) in the model |
nbd | the number of bond(s) in the model |
object | the target insert object |
Definition at line 81 of file atom_insert.c.
void add_bonds_to_project | ( | project * | this_proj, |
int | removed, | ||
int | nbd, | ||
int ** | new_bond_list ) |
add bond list to project bond list
this_proj | the target project |
removed | the number of atom(s) removed |
nbd | the number of bond(s) to add |
new_bond_list | the bond list to add |
Definition at line 53 of file atom_insert.c.
void prepare_to_instert | ( | gchar * | key, |
project * | this_proj, | ||
atom_search * | asearch, | ||
gboolean | visible ) |
prepare to insert something
key | the string describing the object to insert |
this_proj | the target project |
asearch | the target atom search |
visible | is the model edition window visible |
Definition at line 104 of file atom_insert.c.
G_MODULE_EXPORT void set_atoms_to_insert | ( | GtkComboBox * | box, |
gpointer | data ) |
change the object to insert
box | the GtkComboBox sending the signal |
data | the associated data pointer |
Definition at line 118 of file atom_insert.c.