Class

GioNativeVolumeMonitor

Description

abstract class Gio.NativeVolumeMonitor : Gio.VolumeMonitor {
  parent_instance: GVolumeMonitor
}
No description available.

Hierarchy

hierarchy this GNativeVolumeMonitor ancestor_0 GVolumeMonitor ancestor_0--this ancestor_1 GObject ancestor_1--ancestor_0

Instance methods

Methods inherited from GVolumeMonitor (5)
g_volume_monitor_get_connected_drives

Gets a list of drives connected to the system.

g_volume_monitor_get_mount_for_uuid

Finds a GMount object by its UUID (see g_mount_get_uuid())

g_volume_monitor_get_mounts

Gets a list of the mounts on the system.

g_volume_monitor_get_volume_for_uuid

Finds a GVolume object by its UUID (see g_volume_get_uuid())

g_volume_monitor_get_volumes

Gets a list of the volumes on the system.

Methods inherited from GObject (43)

Signals

Signals inherited from GVolumeMonitor (12)
Gio.VolumeMonitor::drive-changed

Emitted when a drive changes.

Gio.VolumeMonitor::drive-connected

Emitted when a drive is connected to the system.

Gio.VolumeMonitor::drive-disconnected

Emitted when a drive is disconnected from the system.

Gio.VolumeMonitor::drive-eject-button

Emitted when the eject button is pressed on drive.

Available since: 2.18

Gio.VolumeMonitor::drive-stop-button

Emitted when the stop button is pressed on drive.

Available since: 2.22

Gio.VolumeMonitor::mount-added

Emitted when a mount is added.

Gio.VolumeMonitor::mount-changed

Emitted when a mount changes.

Gio.VolumeMonitor::mount-pre-unmount

May be emitted when a mount is about to be removed.

Gio.VolumeMonitor::mount-removed

Emitted when a mount is removed.

Gio.VolumeMonitor::volume-added

Emitted when a mountable volume is added to the system.

Gio.VolumeMonitor::volume-changed

Emitted when mountable volume is changed.

Gio.VolumeMonitor::volume-removed

Emitted when a mountable volume is removed from the system.

Signals inherited from GObject (1)

Class structure

struct GioNativeVolumeMonitorClass {
  GVolumeMonitorClass parent_class;
  GMount* (* get_mount_for_mount_path) (
    const char* mount_path,
    GCancellable* cancellable
  );
  
}
Class members
parent_class
GVolumeMonitorClass
  No description available.
get_mount_for_mount_path
GMount* (* get_mount_for_mount_path) (
    const char* mount_path,
    GCancellable* cancellable
  )
  No description available.