MountOperation

open class MountOperation(pointer: <Error class: unknown class><<Error class: unknown class>>)

GtkMountOperation is an implementation of GMountOperation.

The functions and objects described here make working with GTK and GIO more convenient.

GtkMountOperation is needed when mounting volumes: It is an implementation of GMountOperation that can be used with GIO functions for mounting volumes such as g_file_mount_enclosing_volume(), g_file_mount_mountable(), g_volume_mount(), g_mount_unmount_with_operation() and others.

When necessary, GtkMountOperation shows dialogs to let the user enter passwords, ask questions or show processes blocking unmount.

Skipped during bindings generation

  • method is-showing: Property has no getter nor setter

Constructors

Link copied to clipboard
constructor(parent: Window? = null)

Creates a new GtkMountOperation.

constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open var display: <Error class: unknown class>

The display where dialogs will be shown.

Link copied to clipboard
val gtkMountOperationPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
open var parent: Window?

The parent window.

Functions

Link copied to clipboard
open fun isShowing(): Boolean

Returns whether the GtkMountOperation is currently displaying a window.