| Extracted from Pike v7.8 release 700 at 2013-06-08.

[Top]
GTK2
GTK2.FileChooser

# Method GTK2.FileChooser()->set_do_overwrite_confirmation()

Method set_do_overwrite_confirmation

  `GTK2.FileChooser set_do_overwrite_confirmation(int setting)`

Description

  Sets whether a file chooser in GTK2.FILE_CHOOSER_ACTION_SAVE mode will present a confirmation dialog if the users types a file name that already exists. This is FALSE by default.

  Regardless of this setting, the chooser will emit the "confirm-overwrite" signal when appropriate.

  If all you need is the stock confirmation dialog, set this property to TRUE. You can override the way confirmation is done by actually handling the "confirm-overwrite" signal.