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

Functions to create the 'Chemistry -> Polyhedra' submenus. More...

#include "global.h"
#include "interface.h"
#include "glview.h"
#include "glwindow.h"
+ Include dependency graph for m_poly.c:

Go to the source code of this file.

Functions

G_MODULE_EXPORT void coord_properties (GtkWidget *widg, gpointer data)
 create the environments configuration window
 
G_MODULE_EXPORT void show_hide_poly (GtkWidget *widg, gpointer data)
 show / hide polyhedra callback - GTK3
 
G_MODULE_EXPORT void cloned_poly (GtkWidget *widg, gpointer data)
 cloned polyehdra callback - GTK3
 
GMenu * menu_show_coord_poly (glwin *view, int popm, int id)
 create the 'Polyedra -> Coordination -> Show/Hide' submenus - GTK4
 
GMenu * menu_show_rings_poly (glwin *view, int popm, int id)
 create the 'Rings(s) -> Show/Hide' subemnus - GTK4
 
GMenu * add_menu_poly (glwin *view, int popm, int aid)
 create the 'Show/Hide' polyhedra subemnus - GTK4
 
GMenu * menu_poly_rings (glwin *view, int popm)
 create the 'Polyhedra -> Ring(s)' submenu - GTK4
 
GMenu * menu_poly (glwin *view, int popm)
 create the 'Chemistry -> Polyehdra' submenu - GTK4
 

Detailed Description

Functions to create the 'Chemistry -> Polyhedra' submenus.

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

Function Documentation

◆ add_menu_poly()

GMenu * add_menu_poly ( glwin * view,
int popm,
int aid )

create the 'Show/Hide' polyhedra subemnus - GTK4

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

Definition at line 444 of file m_poly.c.

◆ cloned_poly()

G_MODULE_EXPORT void cloned_poly ( GtkWidget * widg,
gpointer data )

cloned polyehdra callback - GTK3

Parameters
widgthe GtkWidget sending the signal
datathe associated data pointer

Definition at line 181 of file m_poly.c.

◆ coord_properties()

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

create the environments configuration window

Parameters
widgthe GtkWidget sending the signal
datathe associated data pointer

Definition at line 1483 of file w_coord.c.

◆ menu_poly()

GMenu * menu_poly ( glwin * view,
int popm )

create the 'Chemistry -> Polyehdra' submenu - GTK4

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

Definition at line 490 of file m_poly.c.

◆ menu_poly_rings()

GMenu * menu_poly_rings ( glwin * view,
int popm )

create the 'Polyhedra -> Ring(s)' submenu - GTK4

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

Definition at line 468 of file m_poly.c.

◆ menu_show_coord_poly()

GMenu * menu_show_coord_poly ( glwin * view,
int popm,
int id )

create the 'Polyedra -> Coordination -> Show/Hide' submenus - GTK4

Parameters
viewthe target glwin
popmmain app (0) or popup (1)
idthe coordination type: total (0) or partial (1)

Definition at line 362 of file m_poly.c.

◆ menu_show_rings_poly()

GMenu * menu_show_rings_poly ( glwin * view,
int popm,
int id )

create the 'Rings(s) -> Show/Hide' subemnus - GTK4

Parameters
viewthe target glwin
popmmain app (0) or popup (1)
idthe ring(s) type

Definition at line 414 of file m_poly.c.

◆ show_hide_poly()

G_MODULE_EXPORT void show_hide_poly ( GtkWidget * widg,
gpointer data )

show / hide polyhedra callback - GTK3

Parameters
widgthe GtkWidget sending the signal
datathe associated data pointer

Definition at line 79 of file m_poly.c.