atomes 1.1.16
atomes: an atomic scale modeling tool box
Loading...
Searching...
No Matches
w_bonds.c File Reference

Functions to create the bond (legnth/radius) edition window(s) More...

#include "global.h"
#include "interface.h"
#include "glview.h"
#include "glwindow.h"
#include "color_box.h"
+ Include dependency graph for w_bonds.c:

Go to the source code of this file.

Functions

gchar * label_cutrab (project *this_proj, glwin *view, int id)
 prepare the text of a menu item in the 'Model -> Bond(s)' submenu
 
G_MODULE_EXPORT void update_bond_parameter (GtkEntry *res, gpointer data)
 update bond parameter callback
 
void bonds_input_win (GtkWidget *win, project *this_proj, int nspec, int aoc, double **val)
 prepare bond property entry list
 
G_MODULE_EXPORT void set_bond_parameter (GtkWidget *widg, gpointer data)
 update bond parameter callback - creating the dialog GTK3
 
G_MODULE_EXPORT void window_bonds (GtkWidget *widg, gpointer data)
 create bond(s) configuration window(s) callback GTK3
 

Detailed Description

Functions to create the bond (legnth/radius) edition window(s)

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 w_bonds.c.

Function Documentation

◆ bonds_input_win()

void bonds_input_win ( GtkWidget * win,
project * this_proj,
int nspec,
int aoc,
double ** val )

prepare bond property entry list

Parameters
winthe GtkWidget sending the signal
this_projthe target project
nspectotal number of chemical species
aocatom(s) (0) or clone(s) (1)
valthe list of value(s) to display

Definition at line 252 of file w_bonds.c.

◆ label_cutrab()

gchar * label_cutrab ( project * this_proj,
glwin * view,
int id )
extern

prepare the text of a menu item in the 'Model -> Bond(s)' submenu

Parameters
this_projthe target project
viewthe target glwin
idthe type of label to prepare

Definition at line 67 of file m_bonds.c.

◆ set_bond_parameter()

G_MODULE_EXPORT void set_bond_parameter ( GtkWidget * widg,
gpointer data )

update bond parameter callback - creating the dialog GTK3

Parameters
widgthe GtkWidget sending the signal
datathe associated data pointer

Definition at line 324 of file w_bonds.c.

◆ update_bond_parameter()

G_MODULE_EXPORT void update_bond_parameter ( GtkEntry * res,
gpointer data )

update bond parameter callback

Parameters
resthe GtkEntry sending the signal
datathe associated data pointer

Definition at line 59 of file w_bonds.c.

◆ window_bonds()

G_MODULE_EXPORT void window_bonds ( GtkWidget * widg,
gpointer data )

create bond(s) configuration window(s) callback GTK3

Parameters
widgthe GtkWidget sending the signal
datathe associated data pointer

Definition at line 373 of file w_bonds.c.