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

Functions to create the 'Model -> Clone(s)' submenu. More...

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

Go to the source code of this file.

Functions

G_MODULE_EXPORT void show_hide_clones (GSimpleAction *action, GVariant *parameter, gpointer data)
 show/hide clones menu item callback
 
GMenu * menu_clones (glwin *view, int popm)
 create the 'Clone(s)' submenu GTK4
 

Detailed Description

Functions to create the 'Model -> Clone(s)' 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_clones.c.

Function Documentation

◆ menu_clones()

GMenu * menu_clones ( glwin * view,
int popm )

create the 'Clone(s)' submenu GTK4

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

Definition at line 180 of file m_clones.c.

◆ show_hide_clones()

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

show/hide clones menu item callback

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

Definition at line 139 of file m_clones.c.