setMountOperationFactory

Sets a callback@MountOperationFactory function that will be called when a class@Gio.MountOperation must be created.

This is useful for creating a class@Gtk.MountOperation with the parent class@Gtk.Window.

If a mount operation factory isn't set, ctor@Gio.MountOperation.new will be called.

Parameters

callback

a #GtkSourceMountOperationFactory to call when a #GMountOperation is needed.