Functions to create the 'Model -> Box' submenu.
More...
#include "global.h"
#include "glview.h"
#include "glwindow.h"
#include "color_box.h"
#include "submenus.h"
Go to the source code of this file.
|
| G_MODULE_EXPORT void | box_advanced (GtkWidget *widg, gpointer data) |
| | create the box edition window
|
| |
| G_MODULE_EXPORT void | window_bonds (GtkWidget *widg, gpointer data) |
| | create bond(s) configuration window(s) callback GTK3
|
| |
| void | update_show_hide_box_axis (glwin *view, int box_or_axis, int status) |
| | update edition buttons with menu show / hide status
|
| |
| G_MODULE_EXPORT void | show_hide_box_axis (GSimpleAction *action, GVariant *parameter, gpointer data) |
| | handle the 'box/axis' show/hide signal GTK4
|
| |
| G_MODULE_EXPORT void | change_box_axis_radio (GSimpleAction *action, GVariant *parameter, gpointer data) |
| | handle a box/axis radio menu item signal GTK4
|
| |
| GMenu * | axis_box_style (glwin *view, int popm, int ab, int abs) |
| | create the box/axis '-> Style' submenu GTK4
|
| |
| GMenu * | axis_box_param (glwin *view, int popm, int ab, int style) |
| | create the box/axis '-> Length/Width/Radius' submenus GTK4
|
| |
| GMenuItem * | menu_box_axis (glwin *view, int popm, int ab) |
| | create the 'Model -> Box' and 'View -> Axis' submenus GTK4
|
| |
◆ axis_box_param()
| GMenu * axis_box_param |
( |
glwin * | view, |
|
|
int | popm, |
|
|
int | ab, |
|
|
int | style ) |
create the box/axis '-> Length/Width/Radius' submenus GTK4
- Parameters
-
| view | the target glwin |
| popm | main app (0) or popup (1) |
| ab | box (0) or axis (1) |
| style | the active box/axis style |
Definition at line 563 of file m_box.c.
◆ axis_box_style()
| GMenu * axis_box_style |
( |
glwin * | view, |
|
|
int | popm, |
|
|
int | ab, |
|
|
int | abs ) |
create the box/axis '-> Style' submenu GTK4
- Parameters
-
| view | the target glwin |
| popm | main app (0) or popup (1) |
| ab | box (0) or axis (1) |
| abs | the active box/axis style |
Definition at line 537 of file m_box.c.
◆ box_advanced()
| G_MODULE_EXPORT void box_advanced |
( |
GtkWidget * | widg, |
|
|
gpointer | data ) |
create the box edition window
- Parameters
-
| widg | the GtkWidget sending the signal |
| data | the associated data pointer |
Definition at line 338 of file w_box.c.
◆ change_box_axis_radio()
| G_MODULE_EXPORT void change_box_axis_radio |
( |
GSimpleAction * | action, |
|
|
GVariant * | parameter, |
|
|
gpointer | data ) |
handle a box/axis radio menu item signal GTK4
- Parameters
-
| action | the GAction sending the signal |
| parameter | GVariant parameter of the GAction, if any |
| data | the associated data pointer |
Definition at line 478 of file m_box.c.
◆ menu_box_axis()
| GMenuItem * menu_box_axis |
( |
glwin * | view, |
|
|
int | popm, |
|
|
int | ab ) |
create the 'Model -> Box' and 'View -> Axis' submenus GTK4
- Parameters
-
| view | the target glwin |
| popm | main app (0) or popup (1) |
| ab | box (0) or axis (1) |
Definition at line 598 of file m_box.c.
◆ show_hide_box_axis()
| G_MODULE_EXPORT void show_hide_box_axis |
( |
GSimpleAction * | action, |
|
|
GVariant * | parameter, |
|
|
gpointer | data ) |
handle the 'box/axis' show/hide signal GTK4
- Parameters
-
| action | the GAction sending the signal |
| parameter | GVariant parameter of the GAction, if any |
| data | the associated data pointer |
Definition at line 416 of file m_box.c.
◆ update_show_hide_box_axis()
| void update_show_hide_box_axis |
( |
glwin * | view, |
|
|
int | box_or_axis, |
|
|
int | status ) |
update edition buttons with menu show / hide status
Definition at line 89 of file m_box.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.
◆ from_box_or_axis
| gboolean from_box_or_axis |
|
extern |