gwymoduleenums — Common enumerations
enum | GwyFileOperationType |
enum | GwyToolSwitchEvent |
enum | GwyRunType |
#include <libgwymodule/gwymodule.h>
File type function file operations (capabilities).
The difference between save and export is that save is supposed to create a file containing fairly complete
representation of the container, while export is the possibility to write some information to given file type.
Generally only native file format module implements GWY_FILE_OPERATION_SAVE
, all others implement
GWY_FILE_OPERATION_EXPORT
.
Posibility to detect files are of this file type, |
||
Posibility to load files of this type. |
||
Posibility to save files of this type. |
||
Posibility to export files of this type. |
||
The mask for all the flags. |
GwyToolSwitchEvent
is deprecated and should not be used in newly-written code.
Module function run-modes.
Note GWY_RUN_NONINTERACTIVE
is only possible for file functions, processing functions do not have a truly
non-interactive interface yet and therefore they should not claim they support it. The closest match for process
functions is GWY_RUN_IMMEDIATE
.
None. |
||
The function is run non-interactively, it must not present any GUI and touch application state. |
||
The function presents a modal user interfaces where parameters can be adjusted, it returns after finishing all operations. |
||
Function is run immediately and uses parameter values stored in the settings to reproduce previous run. It can however present GUI error messages or display progress, create new windows, etc. |
||
The mask for all the run modes. |