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

Functions to prepare the model edition 'search' tabs and the associated widgets. More...

#include "atom_edit.h"
+ Include dependency graph for atom_search.c:

Go to the source code of this file.

Functions

G_MODULE_EXPORT void turn_rebuild_on (GtkToggleButton *but, gpointer data)
 rebuild toggle callback GTK3
 
G_MODULE_EXPORT void turn_bonding_on (GtkToggleButton *but, gpointer data)
 update bonding toggle callback GTK3
 
GtkWidget * create_search_box (int aid, project *this_proj)
 create the action search widget
 
G_MODULE_EXPORT void set_atoms_for_action (GtkComboBox *box, gpointer data)
 change selection status
 
GtkWidget * create_action_combo (int id, project *this_proj)
 create action combo box
 
G_MODULE_EXPORT void expanding_atoms (GtkWidget *exp, gpointer data)
 expanding motion callback
 
GtkWidget * action_tab (int aid, project *this_proj)
 create model edtion action tab
 

Detailed Description

Functions to prepare the model edition 'search' tabs and the associated widgets.

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

Function Documentation

◆ action_tab()

GtkWidget * action_tab ( int aid,
project * this_proj )

create model edtion action tab

Parameters
aidthe action id
this_projthe target project

Definition at line 281 of file atom_search.c.

◆ create_action_combo()

GtkWidget * create_action_combo ( int id,
project * this_proj )

create action combo box

Parameters
idthe action id
this_projthe target project

Definition at line 216 of file atom_search.c.

◆ create_search_box()

GtkWidget * create_search_box ( int aid,
project * this_proj )

create the action search widget

Parameters
aidthe action id
this_projthe target project

Definition at line 122 of file atom_search.c.

◆ expanding_atoms()

G_MODULE_EXPORT void expanding_atoms ( GtkWidget * exp,
gpointer data )

expanding motion callback

Parameters
expthe GtkWidget sending the signal
datathe associated data pointer

Definition at line 256 of file atom_search.c.

◆ set_atoms_for_action()

G_MODULE_EXPORT void set_atoms_for_action ( GtkComboBox * box,
gpointer data )

change selection status

Parameters
boxthe GtkComboBox sending the signal
datathe associated data pointer

Definition at line 185 of file atom_search.c.

◆ turn_bonding_on()

G_MODULE_EXPORT void turn_bonding_on ( GtkToggleButton * but,
gpointer data )

update bonding toggle callback GTK3

Parameters
butthe GtkToggleButton sending the signal
datathe associated data pointer

Definition at line 101 of file atom_search.c.

◆ turn_rebuild_on()

G_MODULE_EXPORT void turn_rebuild_on ( GtkToggleButton * but,
gpointer data )

rebuild toggle callback GTK3

Parameters
butthe GtkToggleButton sending the signal
datathe associated data pointer

Definition at line 67 of file atom_search.c.