Functions to create the 'Chemistry -> Coordination' submenu.
More...
#include "global.h"
#include "interface.h"
#include "glview.h"
#include "glwindow.h"
Go to the source code of this file.
|
G_MODULE_EXPORT void | coord_properties (GtkWidget *widg, gpointer data) |
| create the environments configuration window
|
|
gboolean | is_coord_in_menu (int id, project *this_proj) |
| is this coordination in a menu ?
|
|
G_MODULE_EXPORT void | show_hide_coord (GtkWidget *widg, gpointer data) |
| show/hide coordination callback GTK3
|
|
GMenu * | color_item (glwin *view, gchar *act, int popm, int id, GCallback handler, gpointer data) |
| create a submenu to attach a color palette
|
|
GMenu * | menu_show_coord (glwin *view, int popm, int id, int mid) |
| create the coordination 'Show' or 'Color' submenus
|
|
G_MODULE_EXPORT void | to_coord_properties (GSimpleAction *action, GVariant *parameter, gpointer data) |
| open advancedd coordination properties GTK4 callback
|
|
GMenu * | menu_show_frag_mol (glwin *view, int popm, int id, int mid) |
| create a fragment/molecule coordination submenu
|
|
GMenu * | menu_show_rings (glwin *view, int popm, int id, int mid) |
| create a ring coordination submenu
|
|
GMenu * | add_menu_coord (glwin *view, int popm, int id) |
| create a coordination type submenu
|
|
GMenu * | menu_coord (glwin *view, int popm) |
| create the 'Coordination' submenu GTK4
|
|
GMenu * | menu_rings (glwin *view, int popm) |
| create the 'Ring(s)' submenu GTK4
|
|
Functions to create the 'Chemistry -> Coordination' 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_coord.c.
◆ add_menu_coord()
GMenu * add_menu_coord |
( |
glwin * | view, |
|
|
int | popm, |
|
|
int | id ) |
create a coordination type submenu
- Parameters
-
view | the target glwin |
popm | main app (0) or popup (1) |
id | coordination type |
Definition at line 652 of file m_coord.c.
◆ color_item()
GMenu * color_item |
( |
glwin * | view, |
|
|
gchar * | act, |
|
|
int | popm, |
|
|
int | id, |
|
|
GCallback | handler, |
|
|
gpointer | data ) |
create a submenu to attach a color palette
- Parameters
-
view | the target glwin |
act | the custom attribute to attach a widget |
popm | main app (0) or popup (1) |
id | id number |
handler | the associated callback |
data | the associated data pointer |
Definition at line 479 of file m_coord.c.
◆ coord_properties()
G_MODULE_EXPORT void coord_properties |
( |
GtkWidget * | widg, |
|
|
gpointer | data ) |
|
extern |
create the environments configuration window
- Parameters
-
widg | the GtkWidget sending the signal |
data | the associated data pointer |
Definition at line 1483 of file w_coord.c.
◆ is_coord_in_menu()
gboolean is_coord_in_menu |
( |
int | id, |
|
|
project * | this_proj ) |
is this coordination in a menu ?
- Parameters
-
id | the coordination type |
this_proj | the target project |
Definition at line 74 of file m_coord.c.
◆ menu_coord()
GMenu * menu_coord |
( |
glwin * | view, |
|
|
int | popm ) |
create the 'Coordination' submenu GTK4
- Parameters
-
view | the target glwin |
popm | main app (0) or popup (1) |
Definition at line 689 of file m_coord.c.
◆ menu_rings()
GMenu * menu_rings |
( |
glwin * | view, |
|
|
int | popm ) |
create the 'Ring(s)' submenu GTK4
- Parameters
-
view | the target glwin |
popm | main app (0) or popup (1) |
Definition at line 705 of file m_coord.c.
◆ menu_show_coord()
GMenu * menu_show_coord |
( |
glwin * | view, |
|
|
int | popm, |
|
|
int | id, |
|
|
int | mid ) |
create the coordination 'Show' or 'Color' submenus
- Parameters
-
view | the target glwin |
popm | main app (0) or popup (1) |
id | coordination type |
mid | 0 = show, 1 = color |
Definition at line 497 of file m_coord.c.
◆ menu_show_frag_mol()
GMenu * menu_show_frag_mol |
( |
glwin * | view, |
|
|
int | popm, |
|
|
int | id, |
|
|
int | mid ) |
create a fragment/molecule coordination submenu
- Parameters
-
view | the target glwin |
popm | main app (0) or popup (1) |
id | coordination type |
mid | 0 = show, 1 = color |
Definition at line 572 of file m_coord.c.
◆ menu_show_rings()
GMenu * menu_show_rings |
( |
glwin * | view, |
|
|
int | popm, |
|
|
int | id, |
|
|
int | mid ) |
create a ring coordination submenu
- Parameters
-
view | the target glwin |
popm | main app (0) or popup (1) |
id | coordination type |
mid | 0 = show, 1 = color |
Definition at line 611 of file m_coord.c.
◆ show_hide_coord()
G_MODULE_EXPORT void show_hide_coord |
( |
GtkWidget * | widg, |
|
|
gpointer | data ) |
show/hide coordination callback GTK3
- Parameters
-
widg | the GtkWidget sending the signal |
data | the associated data pointer |
Definition at line 106 of file m_coord.c.
◆ to_coord_properties()
G_MODULE_EXPORT void to_coord_properties |
( |
GSimpleAction * | action, |
|
|
GVariant * | parameter, |
|
|
gpointer | data ) |
open advancedd coordination properties GTK4 callback
- Parameters
-
action | the GAction sending the signal |
parameter | GVariant parameter of the GAction |
data | the associated data pointer |
Definition at line 557 of file m_coord.c.