Gtk.MountOperation

g GObject.Object GObject.Object Gio.MountOperation Gio.MountOperation GObject.Object->Gio.MountOperation Gtk.MountOperation Gtk.MountOperation Gio.MountOperation->Gtk.MountOperation

Subclasses:None

Methods

Inherited:Gio.MountOperation (20), GObject.Object (37)
Structs:GObject.ObjectClass (5)
class new (parent)
  get_parent ()
  get_screen ()
  is_showing ()
  set_parent (parent)
  set_screen (screen)

Virtual Methods

Inherited:Gio.MountOperation (6), GObject.Object (7)

Properties

Inherited:Gio.MountOperation (9)
Name Type Flags Short Description
is-showing bool r Are we showing a dialog
parent Gtk.Window r/w The parent window
screen Gdk.Screen r/w The screen where this window will be displayed.

Fields

Inherited:Gio.MountOperation (6), GObject.Object (1)
Name Type Access Description
parent_instance Gio.MountOperation r  

Class Details

class Gtk.MountOperation(**kwargs)
Bases:Gio.MountOperation
Abstract:No
Structure:Gtk.MountOperationClass

This should not be accessed directly. Use the accessor functions below.

classmethod new(parent)[source]
Parameters:parent (Gtk.Window or None) – transient parent of the window, or None
Returns:a new Gtk.MountOperation
Return type:Gio.MountOperation

Creates a new Gtk.MountOperation

New in version 2.14.

get_parent()[source]
Returns:the transient parent for windows shown by self
Return type:Gtk.Window

Gets the transient parent used by the Gtk.MountOperation

New in version 2.14.

get_screen()[source]
Returns:the screen on which windows of self are shown
Return type:Gdk.Screen

Gets the screen on which windows of the Gtk.MountOperation will be shown.

New in version 2.14.

is_showing()[source]
Returns:True if self is currently displaying a window
Return type:bool

Returns whether the Gtk.MountOperation is currently displaying a window.

New in version 2.14.

set_parent(parent)[source]
Parameters:parent (Gtk.Window or None) – transient parent of the window, or None

Sets the transient parent for windows shown by the Gtk.MountOperation.

New in version 2.14.

set_screen(screen)[source]
Parameters:screen (Gdk.Screen) – a Gdk.Screen

Sets the screen to show windows of the Gtk.MountOperation on.

New in version 2.14.

Property Details

Gtk.MountOperation.props.is_showing
Name:is-showing
Type:bool
Default Value:False
Flags:READABLE

Are we showing a dialog

Gtk.MountOperation.props.parent
Name:parent
Type:Gtk.Window
Default Value:None
Flags:READABLE, WRITABLE

The parent window

Gtk.MountOperation.props.screen
Name:screen
Type:Gdk.Screen
Default Value:None
Flags:READABLE, WRITABLE

The screen where this window will be displayed.