SourceFile.setMountOperationFactory

Sets a GtkSourceMountOperationFactory function that will be called when a gtk.MountOperation must be created. This is useful for creating a gtk.MountOperation with the parent gtk.Window

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

class SourceFile
void
setMountOperationFactory

Parameters

callback GtkSourceMountOperationFactory
userData void*

the data to pass to the callback function.

notify GDestroyNotify

function to call on user_data when the callback is no longer needed, or NULL.

Meta

Since

3.14