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

Functions to create the bond cutoffs update dialog. More...

#include "global.h"
#include "interface.h"
#include "project.h"
#include "glview.h"
#include "glwindow.h"
+ Include dependency graph for w_cutoffs.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
 
void update_cutoffs (project *this_proj)
 update bond cutoffs
 
G_MODULE_EXPORT void set_cut (GtkEntry *res, gpointer data)
 change cutoff entry callback
 
void cut_box (project *this_proj, GtkWidget *vbox)
 box cutoff entries
 
G_MODULE_EXPORT void run_window_cuts (GtkDialog *win, gint response_id, gpointer data)
 bond cutoffs window - running the dialog
 
G_MODULE_EXPORT void window_cuts (GtkWidget *widg, gpointer data)
 adjust bond cutoffs window callback GTK3
 

Variables

double * tmpcut
 

Detailed Description

Functions to create the bond cutoffs update dialog.

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

Function Documentation

◆ cut_box()

void cut_box ( project * this_proj,
GtkWidget * vbox )

box cutoff entries

Parameters
this_projthe target project
vboxthe GtkWidget sending the signal

Definition at line 155 of file w_cutoffs.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.

◆ run_window_cuts()

G_MODULE_EXPORT void run_window_cuts ( GtkDialog * win,
gint response_id,
gpointer data )

bond cutoffs window - running the dialog

Parameters
winthe GtkDialog sending the signal
response_idthe response id
datathe associated data pointer

Definition at line 222 of file w_cutoffs.c.

◆ set_cut()

G_MODULE_EXPORT void set_cut ( GtkEntry * res,
gpointer data )

change cutoff entry callback

Parameters
resthe GtkEntry sending the signal
datathe associated data pointer

Definition at line 134 of file w_cutoffs.c.

◆ update_cutoffs()

void update_cutoffs ( project * this_proj)

update bond cutoffs

Parameters
this_projthe target project

Definition at line 59 of file w_cutoffs.c.

◆ window_cuts()

G_MODULE_EXPORT void window_cuts ( GtkWidget * widg,
gpointer data )

adjust bond cutoffs window callback GTK3

Parameters
widgthe GtkWidget sending the signal
datathe associated data pointer

Definition at line 272 of file w_cutoffs.c.

Variable Documentation

◆ tmpcut

double* tmpcut

Definition at line 50 of file w_cutoffs.c.