GLib.Mount – gio-2.0 Reference Manual
Packages
gio-2.0
GLib
Mount
can_eject
can_unmount
eject
eject_with_operation
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_sync
is_shadowed
remount
shadow
unmount
unmount_with_operation
unshadow
changed
pre_unmount
unmounted
Mount
Object Hierarchy:
Description:
public
interface
Mount
:
Object
Namespace:
GLib
Package:
gio-2.0
Content:
Methods:
public
abstract
bool
can_eject
()
public
abstract
bool
can_unmount
()
public
abstract
async
bool
eject
(
MountUnmountFlags
flags,
Cancellable
? cancellable =
null
)
throws
Error
public
abstract
async
bool
eject_with_operation
(
MountUnmountFlags
flags,
MountOperation
? mount_operation,
Cancellable
? cancellable =
null
)
throws
Error
public
abstract
File
get_default_location
()
public
abstract
Drive
get_drive
()
public
abstract
Icon
get_icon
()
public
abstract
string
get_name
()
public
abstract
File
get_root
()
public
virtual
unowned
string
get_sort_key
()
public
abstract
Icon
get_symbolic_icon
()
public
abstract
string
get_uuid
()
public
abstract
Volume
get_volume
()
public
abstract
async
string
[]
guess_content_type
(
bool
force_rescan,
Cancellable
? cancellable =
null
)
throws
Error
public
abstract
string
[]
guess_content_type_sync
(
bool
force_rescan,
Cancellable
? cancellable =
null
)
throws
Error
public
bool
is_shadowed
()
public
abstract
async
bool
remount
(
MountMountFlags
flags,
MountOperation
? mount_operation,
Cancellable
? cancellable =
null
)
throws
Error
public
void
shadow
()
public
abstract
async
bool
unmount
(
MountUnmountFlags
flags,
Cancellable
? cancellable =
null
)
throws
Error
public
abstract
async
bool
unmount_with_operation
(
MountUnmountFlags
flags,
MountOperation
? mount_operation,
Cancellable
? cancellable =
null
)
throws
Error
public
void
unshadow
()
Signals:
public
virtual
signal
void
changed
()
public
virtual
signal
void
pre_unmount
()
public
virtual
signal
void
unmounted
()
Inherited Members:
All known members inherited from class GLib.Object
@new
newv
new_valist
get_type
get_class
@ref
unref
ref_sink
weak_ref
weak_unref
add_weak_pointer
remove_weak_pointer
@get
@set
get_property
set_property
get_data
set_data
set_data_full
steal_data
get_qdata
set_qdata
set_qdata_full
steal_qdata
freeze_notify
thaw_notify
dispose
constructed
notify_property
connect
disconnect
add_toggle_ref
remove_toggle_ref
bind_property
notify
ref_count