| Gwyddion Module Library Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
#include <libgwymodule/gwymodule.h> gboolean gwy_tool_func_register (GType type); void gwy_tool_func_foreach (GFunc function,gpointer user_data);
gboolean gwy_tool_func_register (GType type);
Registeres a tool function (tool type).
void gwy_tool_func_foreach (GFunc function,gpointer user_data);
Calls a function for each tool function.
|
Function to run for each tool function. It will get function
name (constant string owned by module system) as its first
argument, user_data as the second argument. |
|
Data to pass to function. |