atomes 1.3.1
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
void update_analysis_availability (project *this_proj)
 update analysis availability for a target projet
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 220 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 296 of file update_p.c.

◆ prep_calc_actions()

void prep_calc_actions ( )

prepare analysis widgets

Definition at line 59 of file update_p.c.

◆ update_analysis_availability()

void update_analysis_availability ( project * this_proj)

update analysis availability for a target projet

Parameters
this_projthe target project

Definition at line 121 of file update_p.c.

◆ update_project()

int update_project ( )

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

Definition at line 162 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 216 of file work_menu.c.

Variable Documentation

◆ tool_model

GtkTreeStore* tool_model
extern

Definition at line 60 of file tools.c.