Method
GtkSourceFileset_mount_operation_factory
Declaration [src]
void
gtk_source_file_set_mount_operation_factory (
GtkSourceFile* file,
GtkSourceMountOperationFactory callback,
gpointer user_data,
GDestroyNotify notify
)
Description [src]
Sets a GtkSourceMountOperationFactory function that will be called when a
GMountOperation must be created.
This is useful for creating a GtkMountOperation with the parent GtkWindow.
If a mount operation factory isn’t set, g_mount_operation_new() will be called.
This method is not directly available to language bindings.
Parameters
callback-
Type:
GtkSourceMountOperationFactoryA
GtkSourceMountOperationFactoryto call when aGMountOperationis needed. user_data-
Type:
gpointerThe data to pass to the
callbackfunction.The argument can be NULL.The data is owned by the caller of the method. notify-
Type:
GDestroyNotifyFunction to call on
user_datawhen thecallbackis no longer needed, orNULL.The argument can be NULL.