Callbacks for the toolbox dialog.
More...
#include "global.h"
#include "callbacks.h"
#include "interface.h"
#include "project.h"
#include "workspace.h"
Go to the source code of this file.
|
| GtkWidget * | create_curve (tint *data) |
| | create the curve data plot window
|
| |
| gchar * | substitute_string (gchar *init, gchar *o_motif, gchar *n_motif) |
| | substitute all patterns in string
|
| |
| gchar * | prepare_for_title (gchar *init) |
| | prepare a string for a window title, getting rid of all markup
|
| |
| void | fill_tool_model () |
| | fill the tool window tree model
|
| |
| void | tool_set_visible (GtkTreeViewColumn *col, GtkCellRenderer *renderer, GtkTreeModel *mod, GtkTreeIter *iter, gpointer data) |
| |
| void | adjust_tool_model (int calc, int curve, gchar *string_path) |
| | adjust the content of the tool box tree model
|
| |
| G_MODULE_EXPORT void | toggle_show_hide_curve (GtkCellRendererToggle *cell_renderer, gchar *string_path, gpointer data) |
| | To show/hide a curve by clicking in the tree view.
|
| |
| GtkWidget * | tooltree () |
| | create the toolbox tree view
|
| |
| GtkWidget * | curvetbox () |
| | create the curve tool box window
|
| |
◆ adjust_tool_model()
| void adjust_tool_model |
( |
int | calc, |
|
|
int | curve, |
|
|
gchar * | string_path ) |
adjust the content of the tool box tree model
- Parameters
-
| calc | the calculation |
| curve | the curve |
| string_path | the path in the tree view |
Definition at line 216 of file tools.c.
◆ create_curve()
| GtkWidget * create_curve |
( |
tint * | data | ) |
|
|
extern |
create the curve data plot window
- Parameters
-
| data | the associated data pointer |
Definition at line 605 of file w_curve.c.
◆ curvetbox()
| GtkWidget * curvetbox |
( |
| ) |
|
create the curve tool box window
Definition at line 321 of file tools.c.
◆ fill_tool_model()
fill the tool window tree model
Definition at line 87 of file tools.c.
◆ prepare_for_title()
| gchar * prepare_for_title |
( |
gchar * | init | ) |
|
prepare a string for a window title, getting rid of all markup
- Parameters
-
Definition at line 71 of file tools.c.
◆ substitute_string()
| gchar * substitute_string |
( |
gchar * | init, |
|
|
gchar * | o_motif, |
|
|
gchar * | n_motif ) |
|
extern |
substitute all patterns in string
- Parameters
-
| init | the initial string |
| o_motif | the pattern to replace |
| n_motif | the new pattern |
Definition at line 372 of file w_library.c.
◆ toggle_show_hide_curve()
| G_MODULE_EXPORT void toggle_show_hide_curve |
( |
GtkCellRendererToggle * | cell_renderer, |
|
|
gchar * | string_path, |
|
|
gpointer | data ) |
To show/hide a curve by clicking in the tree view.
- Parameters
-
| cell_renderer | the renderer toggled |
| string_path | the path in the tree view |
| data | the associated data pointer |
Definition at line 244 of file tools.c.
◆ tool_set_visible()
| void tool_set_visible |
( |
GtkTreeViewColumn * | col, |
|
|
GtkCellRenderer * | renderer, |
|
|
GtkTreeModel * | mod, |
|
|
GtkTreeIter * | iter, |
|
|
gpointer | data ) |
◆ tooltree()
create the toolbox tree view
Definition at line 281 of file tools.c.
◆ tool_model
| GtkTreeStore* tool_model = NULL |
◆ tool_tree
| GtkWidget* tool_tree = NULL |
◆ toolscroll
| GtkWidget* toolscroll = NULL |