PyGFileOperationProgressSink.PreNewItem

PreNewItem(Flags, DestinationFolder, NewName)

Called before each new file is created

Parameters

Flags : int

Flags specifying creation behaviour, combination of shellcon.TSF_* flags

DestinationFolder : PyIShellItem

Folder where item will be created

NewName : str

Name of item to be created