| Gwyddion Module Library Reference Manual |
|---|
gwymodule-layer — GwyDataView layer modules
struct GwyLayerFuncInfo; gboolean gwy_layer_func_register (const gchar *modname, GwyLayerFuncInfo *func_info);
struct GwyLayerFuncInfo {
const gchar *name;
GType type;
};
Information about one layer function.
| const gchar *name | An unique data layer type name (GwyLayerSomething is preferred). |
| GType type | The type as obtained from gwy_layer_something_get_type(). |
gboolean gwy_layer_func_register (const gchar *modname,
GwyLayerFuncInfo *func_info);Registeres a layer function.
To keep compatibility with old versions func_info should not be an automatic variable. However, since 1.6 it keeps a copy of func_info.
| modname : | Module identifier (name). |
| func_info : | Layer function info. |
| Returns : | TRUE on success, FALSE on failure. |
| << gwymodule-graph | gwymodulebrowser >> |