gwymodule-tool — Interactive tool modules
gboolean | gwy_tool_func_register () |
void | gwy_tool_func_foreach () |
#include <libgwymodule/gwymodule.h>
Tool modules implement interactive tools that work directly on data windows.
gboolean
gwy_tool_func_register (GType type
);
Registeres a tool function (tool type).
type |
Layer type in GObject type system. That is the return value of
|
Normally TRUE
; FALSE
on failure.
void gwy_tool_func_foreach (GFunc function
,gpointer user_data
);
Calls a function for each tool function.
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 |
Data to pass to |