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

Functions to create the box properties window. More...

#include "global.h"
#include "interface.h"
#include "glview.h"
#include "glwindow.h"
+ Include dependency graph for w_box.c:

Go to the source code of this file.

Macros

#define BOX_STYLES   2
 

Functions

G_MODULE_EXPORT void update_bond_parameter (GtkEntry *res, gpointer data)
 update bond parameter callback
 
G_MODULE_EXPORT void set_box_combo_style (GtkWidget *widg, gpointer data)
 set box style callback
 
G_MODULE_EXPORT void set_show_box_toggle (GtkToggleButton *but, gpointer data)
 toggle show / hide box callback GTK3
 
G_MODULE_EXPORT void set_color_box (GtkColorChooser *colob, gpointer data)
 set box color callback
 
G_MODULE_EXPORT void box_advanced (GtkWidget *widg, gpointer data)
 create the box edition window callback GTK3
 

Variables

GtkWidget * styles
 
GtkWidget * width_box
 
GtkWidget * radius_box
 
gchar * box_style [BOX_STYLES] = {"Wireframe", "Cylinders"}
 
GtkWidget * box_data
 

Detailed Description

Functions to create the box properties window.

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 w_box.c.

Macro Definition Documentation

◆ BOX_STYLES

#define BOX_STYLES   2

Definition at line 47 of file w_box.c.

Function Documentation

◆ box_advanced()

G_MODULE_EXPORT void box_advanced ( GtkWidget * widg,
gpointer data )

create the box edition window callback GTK3

Parameters
widgthe GtkWidget sending the signal
datathe associated data pointer

Definition at line 177 of file w_box.c.

◆ set_box_combo_style()

G_MODULE_EXPORT void set_box_combo_style ( GtkWidget * widg,
gpointer data )

set box style callback

Parameters
widgthe GtkWidget sending the signal
datathe associated data pointer

Definition at line 65 of file w_box.c.

◆ set_color_box()

G_MODULE_EXPORT void set_color_box ( GtkColorChooser * colob,
gpointer data )

set box color callback

Parameters
colobthe GtkColorChooser sending the signal
datathe associated data pointer

Definition at line 150 of file w_box.c.

◆ set_show_box_toggle()

G_MODULE_EXPORT void set_show_box_toggle ( GtkToggleButton * but,
gpointer data )

toggle show / hide box callback GTK3

Parameters
butthe GtkToggleButton sending the signal
datathe associated data pointer

Definition at line 114 of file w_box.c.

◆ update_bond_parameter()

G_MODULE_EXPORT void update_bond_parameter ( GtkEntry * res,
gpointer data )
extern

update bond parameter callback

Parameters
resthe GtkEntry sending the signal
datathe associated data pointer

Definition at line 59 of file w_bonds.c.

Variable Documentation

◆ box_data

GtkWidget* box_data

Definition at line 55 of file w_box.c.

◆ box_style

gchar* box_style[BOX_STYLES] = {"Wireframe", "Cylinders"}

Definition at line 54 of file w_box.c.

◆ radius_box

GtkWidget* radius_box
extern

Definition at line 87 of file w_axis.c.

◆ styles

GtkWidget* styles
extern

Definition at line 85 of file w_axis.c.

◆ width_box

GtkWidget* width_box
extern

Definition at line 86 of file w_axis.c.