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

Functions to create the 'View -> Axis' submenu. More...

#include "global.h"
#include "glview.h"
#include "glwindow.h"
#include "submenus.h"
+ Include dependency graph for m_axis.c:

Go to the source code of this file.

Functions

G_MODULE_EXPORT void axis_advanced (GtkWidget *widg, gpointer data)
 create the axis advanced parameters window callback GTK3
 
GtkWidget * create_layout_widget (gchar *str, GtkWidget *menu, int vab, gpointer data)
 
G_MODULE_EXPORT void change_axis_pos_radio (GSimpleAction *action, GVariant *parameter, gpointer data)
 handle change axis position signal GTK4
 
GMenu * position_submenu (glwin *view, int popm, int pos)
 create elements of the 'Axis -> Position' submenu GTK4
 
GMenu * axis_position_submenu (glwin *view, int popm)
 create the 'Axis -> Position' submenu GTK4
 
void menu_axis (GMenu *menu_ab, glwin *view, int popm)
 create the 'Axis' submenu GTK4
 

Detailed Description

Functions to create the 'View -> Axis' 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_axis.c.

Function Documentation

◆ axis_advanced()

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

create the axis advanced parameters window callback GTK3

Parameters
widgthe GtkWidget sending the signal
datathe associated data pointer

Definition at line 497 of file w_axis.c.

◆ axis_position_submenu()

GMenu * axis_position_submenu ( glwin * view,
int popm )

create the 'Axis -> Position' submenu GTK4

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

Definition at line 280 of file m_axis.c.

◆ change_axis_pos_radio()

G_MODULE_EXPORT void change_axis_pos_radio ( GSimpleAction * action,
GVariant * parameter,
gpointer data )

handle change axis position signal GTK4

Parameters
actionthe GAction sending the signal
parameterGVariant parameter of the GAction, if any
datathe associated data pointer

Definition at line 204 of file m_axis.c.

◆ create_layout_widget()

GtkWidget * create_layout_widget ( gchar * str,
GtkWidget * menu,
int vab,
gpointer data )
extern

◆ menu_axis()

void menu_axis ( GMenu * menu_ab,
glwin * view,
int popm )

create the 'Axis' submenu GTK4

Parameters
menu_abthe menu to attach the new menu to
viewthe target glwin
popmmain app (0) or popup (1)

Definition at line 304 of file m_axis.c.

◆ position_submenu()

GMenu * position_submenu ( glwin * view,
int popm,
int pos )

create elements of the 'Axis -> Position' submenu GTK4

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

Definition at line 256 of file m_axis.c.