Basics
Guides
API Reference
Basics
Guides
API Reference
[205:14] static extends: object
Generated metadata helpers for MountOperation class surfaces.
properties ()
Returns property metadata for
MountOperation.
A list.[19:7] extends: object
Asks the user for passwords and other information required to mount a volume.
GtkMountOperation is needed when mounting volumes: It is an implementation
of GMountOperation that can be used with GIO functions for mounting volumes
such as [method@Gio.File.mount_enclosing_volume],
[method@Gio.File.mount_mountable], [method@Gio.Volume.mount],
[method@Gio.Mount.unmount_with_operation] and others. When necessary,
GtkMountOperation shows dialogs to let the user enter passwords, ask
questions or show processes blocking unmount.
MountOperation (parent = null)
Creates a new
GtkMountOperation.
parent is transient parent of the window.toNativeHandle (Source)
Normalizes a constructor argument into a raw pointer carrier. Accepts a raw NativeHandle, a raw NativeBuffer returned from
fn.call(...), another generated wrapper exposinghandle(), or null. Returns null when the argument carries no pointer.
Source is the raw handle, raw buffer, wrapper, or null.A raw pointer carrier or null when no pointer is present.getLib ()
Returns the opened native library for this generated wrapper.
The opened native library.handle ()
Returns the wrapped NativeHandle.
The wrapped NativeHandle.isNull ()
Returns true when the wrapped handle is null.
A bool.describe ()
Returns a small string for debugging generated wrappers.
A string.asMountOperation ()
Wraps this handle as
MountOperation.
A MountOperation object.getProperty (string Name)
Reads one generated property by name.
setProperty (string Name, Value)
Writes one generated property by name.
setDisplay (object Value)
The display where dialogs will be shown.
Value is the new property value.None.setParent (object Value)
The parent window.
Value is the new property value.None.get_display ()
Gets the display on which windows of the
GtkMountOperationwill be shown.
get_parent ()
Gets the transient parent used by the
GtkMountOperation.
is_showing ()
Returns whether the
GtkMountOperationis currently displaying a window.
set_display (object display)
Sets the display to show windows of the
GtkMountOperationon.
display is a GdkDisplay.None.set_parent (object parent)
Sets the transient parent for windows shown by the
GtkMountOperation.
parent is transient parent of the window.None.
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.