gtkMountOperationNew(parent = NULL)
gtkMountOperationIsShowing(object)
gtkMountOperationSetParent(object, parent)
gtkMountOperationGetParent(object)
gtkMountOperationSetScreen(object, screen)
gtkMountOperationGetScreen(object)
gtkShowUri(screen = NULL, uri, timestamp, .errwarn = TRUE)
gtkMountOperation(parent = NULL)
GObject +----GMountOperation +----GtkMountOperation
GtkMountOperation
is needed when mounting volumes:
It is an implementation of GMountOperation
that can be used with
GIO functions for mounting volumes such as
gFileMountEnclosingVolume
, gFileMountMountable
,
gVolumeMount
, gMountUnmountWithOperation
and others. When necessary, GtkMountOperation
shows dialogs to ask for
passwords, questions or show processes blocking unmount.
gtkShowUri
is a convenient way to launch applications for URIs. Another object that is worth mentioning in this context is
GdkAppLaunchContext
, which provides visual feedback when lauching
applications.gtkMountOperation
is the equivalent of gtkMountOperationNew
.