GLib.Drive.can_eject – gio-2.0 Reference Manual
Packages
gio-2.0
GLib
Drive
can_eject
can_poll_for_media
can_start
can_start_degraded
can_stop
eject
eject_with_operation
enumerate_identifiers
get_icon
get_identifier
get_name
get_sort_key
get_start_stop_type
get_symbolic_icon
get_volumes
has_media
has_volumes
is_media_check_automatic
is_media_removable
poll_for_media
start
stop
changed
disconnected
eject_button
stop_button
can_eject
Description:
public
abstract
bool
can_eject
()
Checks if a drive can be ejected.
Parameters:
this
a
Drive
.
Returns:
true
if the
this
can be ejected,
false
otherwise.