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 MountOperationFactory 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.

Parameters

callback GtkSourceMountOperationFactory
 

A GtkSourceMountOperationFactory to call when a GMountOperation is needed.

user_data gpointer
 

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.