gwymodule-layer

gwymodule-layer — GwyDataView layer modules

Synopsis




struct      GwyLayerFuncInfo;
gboolean    gwy_layer_func_register         (const gchar *modname,
                                             GwyLayerFuncInfo *func_info);

Description

Details

struct GwyLayerFuncInfo

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().

gwy_layer_func_register ()

gboolean    gwy_layer_func_register         (const gchar *modname,
                                             GwyLayerFuncInfo *func_info);

Registeres a layer function.

The passed func_info must not be an automatic variable.

modname : Module identifier (name).
func_info : Layer function info.
Returns : TRUE on success, FALSE on failure.