set_argument_sync


Description:

[ Version ( since = "3.0" ) ]
public void set_argument_sync (string arg_name, ArgumentSync sync)

When the procedure's run function exits, a Procedure's arguments or auxiliary arguments can be automatically synced with a Parasite of the Image the procedure is running on.

In order to enable this, set sync to gimp_argument_sync_parasite.

Currently, it is possible to sync a string argument of type ParamSpecString with an image parasite of the same name, for example the "gimp-comment" parasite in file save procedures.

Parameters:

this

a Procedure.

arg_name

the name of one of this's arguments or auxiliary arguments.

sync

how to sync the argument or auxiliary argument.