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

Functions to create the cell edition window. More...

#include "cell_edit.h"
+ Include dependency graph for cell_edit.c:

Go to the source code of this file.

Functions

G_MODULE_EXPORT void close_cell_edit (GtkButton *but, gpointer data)
 close cell edition window and free the associated data pointers
 
G_MODULE_EXPORT gboolean close_cell (GtkWidget *widg, GdkEvent *event, gpointer data)
 cell edition window close event callback GTK3
 
GtkWidget * cell_tab (int i, project *this_proj)
 create the 'i'th cell tab
 
GtkWidget * create_cell_notebook (project *this_proj, GtkWidget *vbox)
 create the cell edition notebook
 
GtkWidget * create_cell_edition_window (project *this_proj, gpointer data)
 create the cell editon window
 
G_MODULE_EXPORT void edition_win (GtkWidget *widg, gpointer data)
 create the cell edition window callback GTK3
 

Variables

gchar * edit_names [7] = {"Wrap All Atoms in", "Shift Center", "Add Extra(s)", "Create Super-Cell", "Adjust Density", "Cut Slab", "PBC Pixels Debug"}
 

Detailed Description

Functions to create the cell edition window.

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

Function Documentation

◆ cell_tab()

GtkWidget * cell_tab ( int i,
project * this_proj )

create the 'i'th cell tab

Parameters
ithe cell tab id
this_projthe target project

Definition at line 105 of file cell_edit.c.

◆ close_cell()

G_MODULE_EXPORT gboolean close_cell ( GtkWidget * widg,
GdkEvent * event,
gpointer data )

cell edition window close event callback GTK3

Parameters
widgthe GtkWidget sending the signal
eventthe GdkEvent triggering the signal
datathe associated data pointer

Definition at line 90 of file cell_edit.c.

◆ close_cell_edit()

G_MODULE_EXPORT void close_cell_edit ( GtkButton * but,
gpointer data )

close cell edition window and free the associated data pointers

Parameters
butthe GtkButton sending the signal
datathe associated data pointer

Definition at line 58 of file cell_edit.c.

◆ create_cell_edition_window()

GtkWidget * create_cell_edition_window ( project * this_proj,
gpointer data )

create the cell editon window

Parameters
this_projthe target project
datathe associated data pointer

Definition at line 182 of file cell_edit.c.

◆ create_cell_notebook()

GtkWidget * create_cell_notebook ( project * this_proj,
GtkWidget * vbox )

create the cell edition notebook

Parameters
this_projthe target project
vboxthe GtkWidget sending the signal

Definition at line 141 of file cell_edit.c.

◆ edition_win()

G_MODULE_EXPORT void edition_win ( GtkWidget * widg,
gpointer data )

create the cell edition window callback GTK3

Parameters
widgthe GtkWidget sending the signal
datathe associated data pointer

Definition at line 224 of file cell_edit.c.

Variable Documentation

◆ edit_names

gchar* edit_names[7] = {"Wrap All Atoms in", "Shift Center", "Add Extra(s)", "Create Super-Cell", "Adjust Density", "Cut Slab", "PBC Pixels Debug"}

Definition at line 48 of file cell_edit.c.