Functions to create the 'Tools -> Edit' submenu.
More...
#include "cell_edit.h"
#include "atom_edit.h"
Go to the source code of this file.
|
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
|
|
◆ crystal_window()
G_MODULE_EXPORT void crystal_window |
( |
GtkWidget * | widg, |
|
|
gpointer | data ) |
|
extern |
create the crystal build window callback GTK3
- Parameters
-
widg | the GtkWidget sending the signal |
data | the 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
-
view | the target glwin |
popm | main 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
-
view | the target glwin |
popm | main 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
-
view | the target glwin |
popm | main app (0) or popup (1) |
sensitive | menu 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
-
view | the target glwin |
popm | main 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
-
action | the GAction sending the signal |
parameter | GVariant parameter of the GAction |
data | the 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
-
widg | the GtkWidget sending the signal |
data | the associated data pointer |
Definition at line 3948 of file popup.c.
◆ wrapping_coord()
G_MODULE_EXPORT void wrapping_coord |
( |
GtkWidget * | widg, |
|
|
gpointer | data ) |
wrapp coordinates callback
- Parameters
-
widg | the GtkWidget sending the signal |
data | the associated data pointer |
Definition at line 78 of file m_edit.c.