Mount
Iface
constructor
g
Iface
name
can
Eject
can
Unmount
changed
eject
eject
Finish
eject
With
Operation
eject
With
Operation
Finish
get
Default
Location
get
Drive
get
Icon
get
Name
get
Root
get
Sort
Key
get
Symbolic
Icon
get
Uuid
get
Volume
guess
Content
Type
guess
Content
Type
Finish
guess
Content
Type
Sync
pre
Unmount
remount
remount
Finish
unmount
unmount
Finish
unmount
With
Operation
unmount
With
Operation
Finish
unmounted
NODE-GTK API Reference
Gio-2.0
Gio
MountIface
Class MountIface
Interface for implementing operations for mounts.
record
Hierarchy
MountIface
Index
Constructors
constructor
Properties
g
Iface
name
Methods
can
Eject
can
Unmount
changed
eject
eject
Finish
eject
With
Operation
eject
With
Operation
Finish
get
Default
Location
get
Drive
get
Icon
get
Name
get
Root
get
Sort
Key
get
Symbolic
Icon
get
Uuid
get
Volume
guess
Content
Type
guess
Content
Type
Finish
guess
Content
Type
Sync
pre
Unmount
remount
remount
Finish
unmount
unmount
Finish
unmount
With
Operation
unmount
With
Operation
Finish
unmounted
Constructors
constructor
new
Mount
Iface
(
)
:
MountIface
Returns
MountIface
Properties
g
Iface
g
Iface
:
TypeInterface
The parent interface.
field
Static
name
name
:
string
Methods
can
Eject
can
Eject
(
mount
:
Mount
)
:
boolean
Parameters
mount:
Mount
Returns
boolean
can
Unmount
can
Unmount
(
mount
:
Mount
)
:
boolean
Parameters
mount:
Mount
Returns
boolean
changed
changed
(
mount
:
Mount
)
:
void
Parameters
mount:
Mount
Returns
void
eject
eject
(
mount
:
Mount
, flags
:
MountUnmountFlags
, cancellable
:
Gio
.
Cancellable
, callback
:
AsyncReadyCallback
)
:
void
Parameters
mount:
Mount
flags:
MountUnmountFlags
cancellable:
Gio
.
Cancellable
callback:
AsyncReadyCallback
Returns
void
eject
Finish
eject
Finish
(
mount
:
Mount
, result
:
AsyncResult
)
:
boolean
Parameters
mount:
Mount
result:
AsyncResult
Returns
boolean
eject
With
Operation
eject
With
Operation
(
mount
:
Mount
, flags
:
MountUnmountFlags
, mountOperation
:
Gio
.
MountOperation
, cancellable
:
Gio
.
Cancellable
, callback
:
AsyncReadyCallback
)
:
void
Parameters
mount:
Mount
flags:
MountUnmountFlags
mountOperation:
Gio
.
MountOperation
cancellable:
Gio
.
Cancellable
callback:
AsyncReadyCallback
Returns
void
eject
With
Operation
Finish
eject
With
Operation
Finish
(
mount
:
Mount
, result
:
AsyncResult
)
:
boolean
Parameters
mount:
Mount
result:
AsyncResult
Returns
boolean
get
Default
Location
get
Default
Location
(
mount
:
Mount
)
:
Gio
.
File
Parameters
mount:
Mount
Returns
Gio
.
File
get
Drive
get
Drive
(
mount
:
Mount
)
:
Gio
.
Drive
Parameters
mount:
Mount
Returns
Gio
.
Drive
get
Icon
get
Icon
(
mount
:
Mount
)
:
Gio
.
Icon
Parameters
mount:
Mount
Returns
Gio
.
Icon
get
Name
get
Name
(
mount
:
Mount
)
:
string
Parameters
mount:
Mount
Returns
string
get
Root
get
Root
(
mount
:
Mount
)
:
Gio
.
File
Parameters
mount:
Mount
Returns
Gio
.
File
get
Sort
Key
get
Sort
Key
(
mount
:
Mount
)
:
string
Parameters
mount:
Mount
Returns
string
get
Symbolic
Icon
get
Symbolic
Icon
(
mount
:
Mount
)
:
Gio
.
Icon
Parameters
mount:
Mount
Returns
Gio
.
Icon
get
Uuid
get
Uuid
(
mount
:
Mount
)
:
string
Parameters
mount:
Mount
Returns
string
get
Volume
get
Volume
(
mount
:
Mount
)
:
Volume
Parameters
mount:
Mount
Returns
Volume
guess
Content
Type
guess
Content
Type
(
mount
:
Mount
, forceRescan
:
boolean
, cancellable
:
Gio
.
Cancellable
, callback
:
AsyncReadyCallback
)
:
void
Parameters
mount:
Mount
forceRescan:
boolean
cancellable:
Gio
.
Cancellable
callback:
AsyncReadyCallback
Returns
void
guess
Content
Type
Finish
guess
Content
Type
Finish
(
mount
:
Mount
, result
:
AsyncResult
)
:
string
[]
Parameters
mount:
Mount
result:
AsyncResult
Returns
string
[]
guess
Content
Type
Sync
guess
Content
Type
Sync
(
mount
:
Mount
, forceRescan
:
boolean
, cancellable
:
Gio
.
Cancellable
)
:
string
[]
Parameters
mount:
Mount
forceRescan:
boolean
cancellable:
Gio
.
Cancellable
Returns
string
[]
pre
Unmount
pre
Unmount
(
mount
:
Mount
)
:
void
Parameters
mount:
Mount
Returns
void
remount
remount
(
mount
:
Mount
, flags
:
MountMountFlags
, mountOperation
:
Gio
.
MountOperation
, cancellable
:
Gio
.
Cancellable
, callback
:
AsyncReadyCallback
)
:
void
Parameters
mount:
Mount
flags:
MountMountFlags
mountOperation:
Gio
.
MountOperation
cancellable:
Gio
.
Cancellable
callback:
AsyncReadyCallback
Returns
void
remount
Finish
remount
Finish
(
mount
:
Mount
, result
:
AsyncResult
)
:
boolean
Parameters
mount:
Mount
result:
AsyncResult
Returns
boolean
unmount
unmount
(
mount
:
Mount
, flags
:
MountUnmountFlags
, cancellable
:
Gio
.
Cancellable
, callback
:
AsyncReadyCallback
)
:
void
Parameters
mount:
Mount
flags:
MountUnmountFlags
cancellable:
Gio
.
Cancellable
callback:
AsyncReadyCallback
Returns
void
unmount
Finish
unmount
Finish
(
mount
:
Mount
, result
:
AsyncResult
)
:
boolean
Parameters
mount:
Mount
result:
AsyncResult
Returns
boolean
unmount
With
Operation
unmount
With
Operation
(
mount
:
Mount
, flags
:
MountUnmountFlags
, mountOperation
:
Gio
.
MountOperation
, cancellable
:
Gio
.
Cancellable
, callback
:
AsyncReadyCallback
)
:
void
Parameters
mount:
Mount
flags:
MountUnmountFlags
mountOperation:
Gio
.
MountOperation
cancellable:
Gio
.
Cancellable
callback:
AsyncReadyCallback
Returns
void
unmount
With
Operation
Finish
unmount
With
Operation
Finish
(
mount
:
Mount
, result
:
AsyncResult
)
:
boolean
Parameters
mount:
Mount
result:
AsyncResult
Returns
boolean
unmounted
unmounted
(
mount
:
Mount
)
:
void
Parameters
mount:
Mount
Returns
void
Mount
Iface
constructor
g
Iface
name
can
Eject
can
Unmount
changed
eject
eject
Finish
eject
With
Operation
eject
With
Operation
Finish
get
Default
Location
get
Drive
get
Icon
get
Name
get
Root
get
Sort
Key
get
Symbolic
Icon
get
Uuid
get
Volume
guess
Content
Type
guess
Content
Type
Finish
guess
Content
Type
Sync
pre
Unmount
remount
remount
Finish
unmount
unmount
Finish
unmount
With
Operation
unmount
With
Operation
Finish
unmounted
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHaW9fMl8wLkdpby5Nb3VudElmYWNlLmh0bWwjY29uc3RydWN0b3IiLCJuYW1lIjoiY29uc3RydWN0b3IiLCJjaGlsZHJlbiI6W10sImlzRXh0ZXJuIjpmYWxzZSwiaXNJbnRlcm4iOnRydWV9LHsiY2xhc3NOYW1lcyI6InRzZC1raW5kLXByb3BlcnR5IHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHaW9fMl8wLkdpby5Nb3VudElmYWNlLmh0bWwjZ0lmYWNlIiwibmFtZSI6ImdJZmFjZSIsImNoaWxkcmVuIjpbXSwiaXNFeHRlcm4iOmZhbHNlLCJpc0ludGVybiI6dHJ1ZX0seyJjbGFzc05hbWVzIjoidHNkLWtpbmQtcHJvcGVydHkgdHNkLXBhcmVudC1raW5kLWNsYXNzIHRzZC1pcy1zdGF0aWMiLCJocmVmIjoiR2lvXzJfMC5HaW8uTW91bnRJZmFjZS5odG1sI25hbWUiLCJuYW1lIjoibmFtZSIsImNoaWxkcmVuIjpbXSwiaXNFeHRlcm4iOmZhbHNlLCJpc0ludGVybiI6dHJ1ZX0seyJjbGFzc05hbWVzIjoidHNkLWtpbmQtbWV0aG9kIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHaW9fMl8wLkdpby5Nb3VudElmYWNlLmh0bWwjY2FuRWplY3QiLCJuYW1lIjoiY2FuRWplY3QiLCJjaGlsZHJlbiI6W10sImlzRXh0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