gtk.mount_operation
Module for [MountOperation] class
Types 3
[gtk.mount_operation.MountOperation] is an implementation of [gio.mount_operation.MountOperation].
The functions and objects described here make working with GTK and GIO more convenient.
[gtk.mount_operation.MountOperation] is needed when mounting volumes: It is an implementation of [gio.mount_operation.MountOperation] that can be used with GIO functions for mounting volumes such as [gio.file.File.mountEnclosingVolume], [gio.file.File.mountMountable], [gio.volume.Volume.mount], [gio.mount.Mount.unmountWithOperation] and others.
When necessary, [gtk.mount_operation.MountOperation] shows dialogs to let the user enter passwords, ask questions or show processes blocking unmount.
MountOperation self()Returns `this`, for use in `with` statements.MountOperationGidBuilder builder()Get builder for [gtk.mount_operation.MountOperation] Returns: New builder objectgdk.display.Display display() @propertyGet `display` property. Returns: The display where dialogs will be shown.void display(gdk.display.Display propval) @propertySet `display` property. Params: propval = The display where dialogs will be shown.void parent(gtk.window.Window propval) @propertySet `parent` property. Params: propval = The parent window.gdk.display.Display getDisplay()Gets the display on which windows of the [gtk.mount_operation.MountOperation] will be shown. Returns: the display on which windows of op are showngtk.window.Window getParent()Gets the transient parent used by the [gtk.mount_operation.MountOperation]. Returns: the transient parent for windows shown by opbool isShowing()Returns whether the [gtk.mount_operation.MountOperation] is currently displaying a window. Returns: true if op is currently displaying a windowvoid setDisplay(gdk.display.Display display)Sets the display to show windows of the [gtk.mount_operation.MountOperation] on.void setParent(gtk.window.Window parent = null)Sets the transient parent for windows shown by the [gtk.mount_operation.MountOperation].this(gtk.window.Window parent = null)Creates a new [gtk.mount_operation.MountOperation].T display(gdk.display.Display propval)Set `display` property. Params: propval = The display where dialogs will be shown. Returns: Builder instance for fluent chainingT parent(gtk.window.Window propval)Set `parent` property. Params: propval = The parent window. Returns: Builder instance for fluent chainingFluent builder for [gtk.mount_operation.MountOperation]