atomes 1.3.1
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 "preferences.h"
Include dependency graph for w_box.c:

Go to the source code of this file.

Functions

G_MODULE_EXPORT void update_box_parameter (GtkEntry *res, gpointer data)
 update box 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 gboolean on_box_delete (GtkWidget *widg, GdkEvent *event, gpointer data)
 box window delete event - GTK3
G_MODULE_EXPORT void box_advanced (GtkWidget *widg, gpointer data)
 create the box edition window

Variables

gboolean from_box_or_axis = FALSE

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.

Function Documentation

◆ box_advanced()

G_MODULE_EXPORT void box_advanced ( GtkWidget * widg,
gpointer data )

create the box edition window

Parameters
widgthe GtkWidget sending the signal
datathe associated data pointer

Definition at line 334 of file w_box.c.

◆ on_box_delete()

G_MODULE_EXPORT gboolean on_box_delete ( GtkWidget * widg,
GdkEvent * event,
gpointer data )

box window delete event - GTK3

Parameters
widgthe GtkWidget sending the signal
eventthe GdkEvent triggering the signal
datathe associated data pointer

Definition at line 316 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 136 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 281 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 224 of file w_box.c.

◆ update_box_parameter()

G_MODULE_EXPORT void update_box_parameter ( GtkEntry * res,
gpointer data )

update box parameter callback

Parameters
resthe GtkEntry sending the signal
datathe associated data pointer

Definition at line 58 of file w_box.c.

Variable Documentation

◆ from_box_or_axis

gboolean from_box_or_axis = FALSE

Definition at line 48 of file w_box.c.