MountOperation

class MountOperation(**properties: Any)

Superclasses: MountOperation, Object

Constructors:

MountOperation(**properties)
new(parent:Gtk.Window=None) -> Gio.MountOperation

Constructors

class MountOperation
classmethod new(parent: Window | None = None) MountOperation

Creates a new GtkMountOperation.

Parameters:

parent – transient parent of the window

Methods

class MountOperation
get_display() Display

Gets the display on which windows of the GtkMountOperation will be shown.

get_parent() Window | None

Gets the transient parent used by the GtkMountOperation.

is_showing() bool

Returns whether the GtkMountOperation is currently displaying a window.

set_display(display: Display) None

Sets the display to show windows of the GtkMountOperation on.

Parameters:

display – a GdkDisplay

set_parent(parent: Window | None = None) None

Sets the transient parent for windows shown by the GtkMountOperation.

Parameters:

parent – transient parent of the window

Properties

class MountOperation
props.display: Display

The display where dialogs will be shown.

props.is_showing: bool

Whether a dialog is currently shown.

props.parent: Window

The parent window.

Fields

class MountOperation
parent_instance
priv