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

Functions to create the 'Tools -> Edit' submenu. More...

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

Go to the source code of this file.

Functions

G_MODULE_EXPORT void crystal_window (GtkWidget *widg, gpointer data)
 create the crystal build window callback GTK3
 
G_MODULE_EXPORT void turn_rebuild (GtkWidget *widg, gpointer data)
 rebuild menu items callback GTK3
 
G_MODULE_EXPORT void wrapping_coord (GtkWidget *widg, gpointer data)
 wrapp coordinates callback
 
GMenu * menu_cell_edit (glwin *view, int popm, int sensitive)
 create the 'Edit -> Cell' submenu GTK4
 
GMenu * menu_atom_edit (glwin *view, int popm)
 create the 'Edit -> Atom(s)' submenu GTK4
 
G_MODULE_EXPORT void to_run_rebuild (GSimpleAction *action, GVariant *parameter, gpointer data)
 Extract/Rebuild menu items callback GTK4.
 
GMenu * extract_section (glwin *view, int popm)
 create the 'Extract/Rebuild' menu items GTK4
 
GMenu * menu_edit (glwin *view, int popm)
 create the 'Edit' submenu GTK4
 

Detailed Description

Functions to create the 'Tools -> Edit' submenu.

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

Function Documentation

◆ crystal_window()

G_MODULE_EXPORT void crystal_window ( GtkWidget * widg,
gpointer data )
extern

create the crystal build window callback GTK3

Parameters
widgthe GtkWidget sending the signal
datathe associated data pointer

Definition at line 1483 of file cbuild_edit.c.

◆ extract_section()

GMenu * extract_section ( glwin * view,
int popm )

create the 'Extract/Rebuild' menu items GTK4

Parameters
viewthe target glwin
popmmain app (0) or popup (1)

Definition at line 332 of file m_edit.c.

◆ menu_atom_edit()

GMenu * menu_atom_edit ( glwin * view,
int popm )

create the 'Edit -> Atom(s)' submenu GTK4

Parameters
viewthe target glwin
popmmain app (0) or popup (1)

Definition at line 273 of file m_edit.c.

◆ menu_cell_edit()

GMenu * menu_cell_edit ( glwin * view,
int popm,
int sensitive )

create the 'Edit -> Cell' submenu GTK4

Parameters
viewthe target glwin
popmmain app (0) or popup (1)
sensitivemenu items sensitivity (cell + single MD step)

Definition at line 232 of file m_edit.c.

◆ menu_edit()

GMenu * menu_edit ( glwin * view,
int popm )

create the 'Edit' submenu GTK4

Parameters
viewthe target glwin
popmmain app (0) or popup (1)

Definition at line 354 of file m_edit.c.

◆ to_run_rebuild()

G_MODULE_EXPORT void to_run_rebuild ( GSimpleAction * action,
GVariant * parameter,
gpointer data )

Extract/Rebuild menu items callback GTK4.

Parameters
actionthe GAction sending the signal
parameterGVariant parameter of the GAction, if any
datathe associated data pointer

Definition at line 299 of file m_edit.c.

◆ turn_rebuild()

G_MODULE_EXPORT void turn_rebuild ( GtkWidget * widg,
gpointer data )
extern

rebuild menu items callback GTK3

Parameters
widgthe GtkWidget sending the signal
datathe associated data pointer

Definition at line 3947 of file popup.c.

◆ wrapping_coord()

G_MODULE_EXPORT void wrapping_coord ( GtkWidget * widg,
gpointer data )

wrapp coordinates callback

Parameters
widgthe GtkWidget sending the signal
datathe associated data pointer

Definition at line 78 of file m_edit.c.