pub type GVolumeMonitorClass = _GVolumeMonitorClass;Expand description
GVolumeMonitor:
A Volume Monitor that watches for volume events.
Aliased Type§
#[repr(C)]pub struct GVolumeMonitorClass {Show 26 fields
pub parent_class: _GObjectClass,
pub volume_added: Option<unsafe extern "C" fn(*mut _GVolumeMonitor, *mut _GVolume)>,
pub volume_removed: Option<unsafe extern "C" fn(*mut _GVolumeMonitor, *mut _GVolume)>,
pub volume_changed: Option<unsafe extern "C" fn(*mut _GVolumeMonitor, *mut _GVolume)>,
pub mount_added: Option<unsafe extern "C" fn(*mut _GVolumeMonitor, *mut _GMount)>,
pub mount_removed: Option<unsafe extern "C" fn(*mut _GVolumeMonitor, *mut _GMount)>,
pub mount_pre_unmount: Option<unsafe extern "C" fn(*mut _GVolumeMonitor, *mut _GMount)>,
pub mount_changed: Option<unsafe extern "C" fn(*mut _GVolumeMonitor, *mut _GMount)>,
pub drive_connected: Option<unsafe extern "C" fn(*mut _GVolumeMonitor, *mut _GDrive)>,
pub drive_disconnected: Option<unsafe extern "C" fn(*mut _GVolumeMonitor, *mut _GDrive)>,
pub drive_changed: Option<unsafe extern "C" fn(*mut _GVolumeMonitor, *mut _GDrive)>,
pub is_supported: Option<unsafe extern "C" fn() -> i32>,
pub get_connected_drives: Option<unsafe extern "C" fn(*mut _GVolumeMonitor) -> *mut _GList>,
pub get_volumes: Option<unsafe extern "C" fn(*mut _GVolumeMonitor) -> *mut _GList>,
pub get_mounts: Option<unsafe extern "C" fn(*mut _GVolumeMonitor) -> *mut _GList>,
pub get_volume_for_uuid: Option<unsafe extern "C" fn(*mut _GVolumeMonitor, *const u8) -> *mut _GVolume>,
pub get_mount_for_uuid: Option<unsafe extern "C" fn(*mut _GVolumeMonitor, *const u8) -> *mut _GMount>,
pub adopt_orphan_mount: Option<unsafe extern "C" fn(*mut _GMount, *mut _GVolumeMonitor) -> *mut _GVolume>,
pub drive_eject_button: Option<unsafe extern "C" fn(*mut _GVolumeMonitor, *mut _GDrive)>,
pub drive_stop_button: Option<unsafe extern "C" fn(*mut _GVolumeMonitor, *mut _GDrive)>,
pub _g_reserved1: Option<unsafe extern "C" fn()>,
pub _g_reserved2: Option<unsafe extern "C" fn()>,
pub _g_reserved3: Option<unsafe extern "C" fn()>,
pub _g_reserved4: Option<unsafe extern "C" fn()>,
pub _g_reserved5: Option<unsafe extern "C" fn()>,
pub _g_reserved6: Option<unsafe extern "C" fn()>,
}Fields§
§parent_class: _GObjectClass§volume_added: Option<unsafe extern "C" fn(*mut _GVolumeMonitor, *mut _GVolume)>§volume_removed: Option<unsafe extern "C" fn(*mut _GVolumeMonitor, *mut _GVolume)>§volume_changed: Option<unsafe extern "C" fn(*mut _GVolumeMonitor, *mut _GVolume)>§mount_added: Option<unsafe extern "C" fn(*mut _GVolumeMonitor, *mut _GMount)>§mount_removed: Option<unsafe extern "C" fn(*mut _GVolumeMonitor, *mut _GMount)>§mount_pre_unmount: Option<unsafe extern "C" fn(*mut _GVolumeMonitor, *mut _GMount)>§mount_changed: Option<unsafe extern "C" fn(*mut _GVolumeMonitor, *mut _GMount)>§drive_connected: Option<unsafe extern "C" fn(*mut _GVolumeMonitor, *mut _GDrive)>§drive_disconnected: Option<unsafe extern "C" fn(*mut _GVolumeMonitor, *mut _GDrive)>§drive_changed: Option<unsafe extern "C" fn(*mut _GVolumeMonitor, *mut _GDrive)>§is_supported: Option<unsafe extern "C" fn() -> i32>§get_connected_drives: Option<unsafe extern "C" fn(*mut _GVolumeMonitor) -> *mut _GList>§get_volumes: Option<unsafe extern "C" fn(*mut _GVolumeMonitor) -> *mut _GList>§get_mounts: Option<unsafe extern "C" fn(*mut _GVolumeMonitor) -> *mut _GList>§get_volume_for_uuid: Option<unsafe extern "C" fn(*mut _GVolumeMonitor, *const u8) -> *mut _GVolume>§get_mount_for_uuid: Option<unsafe extern "C" fn(*mut _GVolumeMonitor, *const u8) -> *mut _GMount>§adopt_orphan_mount: Option<unsafe extern "C" fn(*mut _GMount, *mut _GVolumeMonitor) -> *mut _GVolume>§_g_reserved1: Option<unsafe extern "C" fn()>§_g_reserved2: Option<unsafe extern "C" fn()>§_g_reserved3: Option<unsafe extern "C" fn()>§_g_reserved4: Option<unsafe extern "C" fn()>§_g_reserved5: Option<unsafe extern "C" fn()>§_g_reserved6: Option<unsafe extern "C" fn()>