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

Functions to update a project
Functions to activate a project. More...

#include "global.h"
#include "bind.h"
#include "interface.h"
#include "callbacks.h"
#include "project.h"
#include "workspace.h"
+ Include dependency graph for update_p.c:

Go to the source code of this file.

Functions

GtkWidget * work_menu (int p, int c)
 create the workspace popup menu
 
void prep_calc_actions ()
 prepare analysis widgets
 
int update_project ()
 update project: send data to Fortran90, and update calculation interactors
 
void active_project_changed (int id)
 change the active project
 
void opengl_project_changed (int id)
 change the OpenGL project
 

Variables

GtkTreeStore * tool_model
 

Detailed Description

Functions to update a project
Functions to activate a project.

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

Function Documentation

◆ active_project_changed()

void active_project_changed ( int id)

change the active project

Parameters
idthe id of the new active project

Definition at line 175 of file update_p.c.

◆ opengl_project_changed()

void opengl_project_changed ( int id)

change the OpenGL project

Parameters
idthe id of the new OpenGL project

Definition at line 245 of file update_p.c.

◆ prep_calc_actions()

void prep_calc_actions ( )

prepare analysis widgets

Definition at line 58 of file update_p.c.

◆ update_project()

int update_project ( )

update project: send data to Fortran90, and update calculation interactors

Definition at line 94 of file update_p.c.

◆ work_menu()

GtkWidget * work_menu ( int p,
int c )
extern

create the workspace popup menu

Parameters
pproject id, or -1
ccalculation id, or -1

Definition at line 202 of file work_menu.c.

Variable Documentation

◆ tool_model

GtkTreeStore* tool_model
extern

Definition at line 60 of file tools.c.