Functions to create the 'Model -> Bond(s)' submenu.
More...
#include "global.h"
#include "glview.h"
#include "glwindow.h"
Go to the source code of this file.
|
| G_MODULE_EXPORT void | window_bonds (GtkWidget *widg, gpointer data) |
| | create bond(s) configuration window(s) callback GTK3
|
| |
| G_MODULE_EXPORT void | window_cuts (GtkWidget *widg, gpointer data) |
| | adjust bond cutoffs window callback GTK3
|
| |
| G_MODULE_EXPORT void | set_bond_parameter (GtkWidget *widg, gpointer data) |
| | update bond parameter callback - creating the dialog GTK3
|
| |
| gchar * | label_cutrab (project *this_proj, glwin *view, int id) |
| | prepare the text of a menu item in the 'Model -> Bond(s)' submenu
|
| |
| GMenu * | create_bond_layout_section (glwin *view, gchar *str, gchar *key, int popm, int id, GCallback handler, gpointer data, gboolean sensitive) |
| | create a bond menu item GTK4
|
| |
| GMenu * | menu_bonds (glwin *view, int popm, int at) |
| | create the 'Bond(s)' submenu GTK4
|
| |
◆ create_bond_layout_section()
| GMenu * create_bond_layout_section |
( |
glwin * | view, |
|
|
gchar * | str, |
|
|
gchar * | key, |
|
|
int | popm, |
|
|
int | id, |
|
|
GCallback | handler, |
|
|
gpointer | data, |
|
|
gboolean | sensitive ) |
create a bond menu item GTK4
- Parameters
-
| view | the target glwin |
| str | menu item name |
| key | menu item action key |
| popm | main app (0) or popup (1) |
| id | menu item action id |
| handler | the associated callback |
| data | the associated data pointer |
| sensitive | menu item sensitivity |
Definition at line 351 of file m_bonds.c.
◆ label_cutrab()
| gchar * label_cutrab |
( |
project * | this_proj, |
|
|
glwin * | view, |
|
|
int | id ) |
prepare the text of a menu item in the 'Model -> Bond(s)' submenu
- Parameters
-
| this_proj | the target project |
| view | the target glwin |
| id | the type of label to prepare |
Definition at line 67 of file m_bonds.c.
◆ menu_bonds()
| GMenu * menu_bonds |
( |
glwin * | view, |
|
|
int | popm, |
|
|
int | at ) |
create the 'Bond(s)' submenu GTK4
- Parameters
-
| view | the target glwin |
| popm | main app (0) or popup (1) |
| at | atoms (0) or clones (1) |
Definition at line 367 of file m_bonds.c.
◆ set_bond_parameter()
| G_MODULE_EXPORT void set_bond_parameter |
( |
GtkWidget * | widg, |
|
|
gpointer | data ) |
|
extern |
update bond parameter callback - creating the dialog GTK3
- Parameters
-
| widg | the GtkWidget sending the signal |
| data | the associated data pointer |
Definition at line 356 of file w_bonds.c.
◆ window_bonds()
| G_MODULE_EXPORT void window_bonds |
( |
GtkWidget * | widg, |
|
|
gpointer | data ) |
|
extern |
create bond(s) configuration window(s) callback GTK3
- Parameters
-
| widg | the GtkWidget sending the signal |
| data | the associated data pointer |
Definition at line 405 of file w_bonds.c.
◆ window_cuts()
| G_MODULE_EXPORT void window_cuts |
( |
GtkWidget * | widg, |
|
|
gpointer | data ) |
|
extern |
adjust bond cutoffs window callback GTK3
- Parameters
-
| widg | the GtkWidget sending the signal |
| data | the associated data pointer |
Definition at line 272 of file w_cutoffs.c.