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 callback GTK3
|
|
G_MODULE_EXPORT void | window_bonds (GtkWidget *widg, gpointer data) |
| create bond(s) configuration window(s) callback GTK3
|
|
G_MODULE_EXPORT void | window_lines (GtkWidget *widg, gpointer data) |
|
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 435 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 409 of file m_box.c.
◆ box_advanced()
G_MODULE_EXPORT void box_advanced |
( |
GtkWidget * | widg, |
|
|
gpointer | data ) |
create the box edition window callback GTK3
- Parameters
-
widg | the GtkWidget sending the signal |
data | the associated data pointer |
Definition at line 177 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 358 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 470 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 314 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 373 of file w_bonds.c.
◆ window_lines()
G_MODULE_EXPORT void window_lines |
( |
GtkWidget * | widg, |
|
|
gpointer | data ) |
|
extern |