Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
proc GiD_Event_BeforeSetVariable { variable value } {
    #to avoid change the variable return -cancel-
}

proc GiD_Event_AfterSetVariable { variable value } {
}


GiD_Event_AfterSaveKernelDefaultsBeforeExit: will be called just before exit GiD

Code Block
proc GiD_Event_BeforeExit { } {
}


GiD_Event_BeforeSaveBackup : will be called just after save the C++ variables in the user preferences filebefore save a backup.

<dirname> is the name of the folder were will be saved (it can already do not exists).

To avoid save it can return -cancel-

Code Block
proc GiD_Event_AfterSaveKernelDefaultsBeforeSaveBackup { filenamedirname } {
}


GiD_Event_BeforeExitAfterSaveBackup : will be called just before exit GiDafter save a backup.

<dirname> is the name of the folder were it was saved

Code Block
proc GiD_Event_BeforeExitAfterSaveBackup { dirname } {
}