Functions to create the 'Model -> Atom(s)' submenu.
More...
#include "global.h"
#include "glview.h"
#include "glwindow.h"
#include "color_box.h"
Go to the source code of this file.
|
G_MODULE_EXPORT void | set_atom_parameter (GtkWidget *widg, gpointer data) |
| set atom parameter - creating the dialog
|
|
gchar * | label_atpts (project *this_proj, glwin *view, int id) |
| prepare the text of a menu item in the 'Model -> Atom(s)' submenu
|
|
G_MODULE_EXPORT void | atom_properties (GSimpleAction *action, GVariant *state, gpointer data) |
| atom(s) propery callback GTK4
|
|
G_MODULE_EXPORT void | show_hide_atoms (GSimpleAction *action, GVariant *parameter, gpointer data) |
| handle the show/hide signal GTK4
|
|
G_MODULE_EXPORT void | show_hide_labels (GSimpleAction *action, GVariant *parameter, gpointer data) |
| handle the show/hide label signal GTK4
|
|
G_MODULE_EXPORT void | show_hide_all_atom_labels (GSimpleAction *action, GVariant *parameter, gpointer data) |
| handle the show/hide all labels GTK4
|
|
GMenu * | label_atoms_submenu (glwin *view, int popm, int at, gboolean sensitive) |
| create the 'Atom(s) -> Label(s)' submenu elements
|
|
GMenu * | color_atoms_submenu (glwin *view, int popm, int at, gboolean sensitive) |
| create the 'Atom(s) -> Color(s)' submenu elements
|
|
GMenu * | show_atoms_submenu (glwin *view, int popm, int at, gboolean sensitive) |
| create the 'Atom(s) -> Show' submenu elements
|
|
GMenu * | menu_atoms (glwin *view, int popm, int at) |
| create the 'Atom(s)' submenu elements
|
|
◆ atom_properties()
G_MODULE_EXPORT void atom_properties |
( |
GSimpleAction * | action, |
|
|
GVariant * | parameter, |
|
|
gpointer | data ) |
|
extern |
atom(s) propery callback GTK4
- Parameters
-
action | the GAction sending the signal |
parameter | GVariant parameter of the GAction |
data | the associated data pointer |
Definition at line 573 of file w_atoms.c.
◆ color_atoms_submenu()
GMenu * color_atoms_submenu |
( |
glwin * | view, |
|
|
int | popm, |
|
|
int | at, |
|
|
gboolean | sensitive ) |
create the 'Atom(s) -> Color(s)' submenu elements
- Parameters
-
view | the target glwin |
popm | main app (0) or popup (1) |
at | atoms (0) or clones (1) |
sensitive | menu item sensitivity |
Definition at line 724 of file m_atoms.c.
◆ label_atoms_submenu()
GMenu * label_atoms_submenu |
( |
glwin * | view, |
|
|
int | popm, |
|
|
int | at, |
|
|
gboolean | sensitive ) |
create the 'Atom(s) -> Label(s)' submenu elements
- Parameters
-
view | the target glwin |
popm | main app (0) or popup (1) |
at | atoms (0) or clones (1) |
sensitive | menu item sensitivity |
Definition at line 683 of file m_atoms.c.
◆ label_atpts()
gchar * label_atpts |
( |
project * | this_proj, |
|
|
glwin * | view, |
|
|
int | id ) |
prepare the text of a menu item in the 'Model -> Atom(s)' submenu
- Parameters
-
this_proj | the target project |
view | the target glwin |
id | the type of label to prepare |
Definition at line 72 of file m_atoms.c.
◆ menu_atoms()
GMenu * menu_atoms |
( |
glwin * | view, |
|
|
int | popm, |
|
|
int | at ) |
create the 'Atom(s)' submenu elements
- Parameters
-
view | the target glwin |
popm | main app (0) or popup (1) |
at | atoms (0) or clones (1) |
Definition at line 797 of file m_atoms.c.
◆ set_atom_parameter()
G_MODULE_EXPORT void set_atom_parameter |
( |
GtkWidget * | widg, |
|
|
gpointer | data ) |
|
extern |
set atom parameter - creating the dialog
- Parameters
-
widg | the GtkWidget sending the signal |
data | the associated data pointer |
Definition at line 192 of file w_atoms.c.
◆ show_atoms_submenu()
GMenu * show_atoms_submenu |
( |
glwin * | view, |
|
|
int | popm, |
|
|
int | at, |
|
|
gboolean | sensitive ) |
create the 'Atom(s) -> Show' submenu elements
- Parameters
-
view | the target glwin |
popm | main app (0) or popup (1) |
at | atoms (0) or clones (1) |
sensitive | menu item sensitivity |
Definition at line 764 of file m_atoms.c.
◆ show_hide_all_atom_labels()
G_MODULE_EXPORT void show_hide_all_atom_labels |
( |
GSimpleAction * | action, |
|
|
GVariant * | parameter, |
|
|
gpointer | data ) |
handle the show/hide all labels GTK4
- Parameters
-
action | the GAction sending the signal |
parameter | GVariant parameter of the GAction |
data | the associated data pointer |
Definition at line 652 of file m_atoms.c.
◆ show_hide_atoms()
G_MODULE_EXPORT void show_hide_atoms |
( |
GSimpleAction * | action, |
|
|
GVariant * | parameter, |
|
|
gpointer | data ) |
handle the show/hide signal GTK4
- Parameters
-
action | the GAction sending the signal |
parameter | GVariant parameter of the GAction |
data | the associated data pointer |
Definition at line 529 of file m_atoms.c.
◆ show_hide_labels()
G_MODULE_EXPORT void show_hide_labels |
( |
GSimpleAction * | action, |
|
|
GVariant * | parameter, |
|
|
gpointer | data ) |
handle the show/hide label signal GTK4
- Parameters
-
action | the GAction sending the signal |
parameter | GVariant parameter of the GAction |
data | the associated data pointer |
Definition at line 587 of file m_atoms.c.