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

Functions to close an atomes project
Callbacks to close an atomes project. More...

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

Go to the source code of this file.

Functions

GtkTreeModel * replace_combo_tree (gboolean insert, int proj)
 replace combo box in the tree view
 
void update_insert_combos ()
 update some GtkComboBox in the workspace if a project is removed
 
void close_project (project *to_close)
 close a project
 
void to_close_this_project (int to_activate, project *this_proj)
 to close this project
 
G_MODULE_EXPORT void on_close_activate (GtkWidget *widg, gpointer cdata)
 signal to close a project
 

Variables

GtkTreeStore * tool_model
 

Detailed Description

Functions to close an atomes project
Callbacks to close an atomes 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 close_p.c.

Function Documentation

◆ close_project()

void close_project ( project * to_close)

close a project

Parameters
to_closethe project to close

Definition at line 96 of file close_p.c.

◆ on_close_activate()

G_MODULE_EXPORT void on_close_activate ( GtkWidget * widg,
gpointer cdata )

signal to close a project

Parameters
widgthe GtkWidget sending the signal
cdatathe associated data pointer

Definition at line 332 of file close_p.c.

◆ replace_combo_tree()

GtkTreeModel * replace_combo_tree ( gboolean insert,
int proj )
extern

replace combo box in the tree view

Parameters
insertadd 'Select ...' combo box item
projtarget crystal builder project id

Definition at line 2615 of file w_search.c.

◆ to_close_this_project()

void to_close_this_project ( int to_activate,
project * this_proj )

to close this project

Parameters
to_activateIf the workspace is not empty, activate first another project
this_projthe target project

Definition at line 309 of file close_p.c.

◆ update_insert_combos()

void update_insert_combos ( )

update some GtkComboBox in the workspace if a project is removed

Definition at line 60 of file close_p.c.

Variable Documentation

◆ tool_model

GtkTreeStore* tool_model
extern

Definition at line 60 of file tools.c.