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 * | create_tool_tree () |
| | create the toolbox tree view
|
| GtkWidget * | create_curve_tool_box () |
| | 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 233 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 581 of file w_curve.c.
◆ create_curve_tool_box()
| GtkWidget * create_curve_tool_box |
( |
| ) |
|
create the curve tool box window
Definition at line 339 of file tools.c.
◆ create_tool_tree()
| GtkWidget * create_tool_tree |
( |
| ) |
|
create the toolbox tree view
Definition at line 298 of file tools.c.
◆ fill_tool_model()
fill the tool window tree model
Definition at line 91 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 375 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 261 of file tools.c.
◆ tool_set_visible()
| void tool_set_visible |
( |
GtkTreeViewColumn * | col, |
|
|
GtkCellRenderer * | renderer, |
|
|
GtkTreeModel * | mod, |
|
|
GtkTreeIter * | iter, |
|
|
gpointer | data ) |
◆ tool_model
| GtkTreeStore* tool_model = NULL |
◆ tool_scroll
| GtkWidget* tool_scroll = NULL |
◆ tool_tree
| GtkWidget* tool_tree = NULL |