[988:7] extends: object
Generated low-level callback wrapper for GIR callback mount-pre-unmount.
VolumeMonitorMountpreunmountCallback (callback Fn, UserData = null)
Creates one native callback wrapper. The wrapper owns a trampoline that converts native pointers into generated wrapper objects before invoking
Fn.
Fn is the Aussom callback implementation.UserData is retained and passed through to Fn on each invocation when provided.trampoline (nativeSelf, mount, nativeUserData)
Internal trampoline. Converts native pointer arguments into generated wrapper instances, then invokes the user's callback.
callback ()
Returns the wrapped NativeCallback.
handle ()
Returns the callback as a NativeHandle.
close ()
Closes the underlying NativeCallback.
isClosed ()
Returns true when the callback has been closed.
[633:7] extends: object
Generated low-level callback wrapper for GIR callback drive-disconnected.
VolumeMonitorDrivedisconnectedCallback (callback Fn, UserData = null)
Creates one native callback wrapper. The wrapper owns a trampoline that converts native pointers into generated wrapper objects before invoking
Fn.
Fn is the Aussom callback implementation.UserData is retained and passed through to Fn on each invocation when provided.trampoline (nativeSelf, drive, nativeUserData)
Internal trampoline. Converts native pointer arguments into generated wrapper instances, then invokes the user's callback.
callback ()
Returns the wrapped NativeCallback.
handle ()
Returns the callback as a NativeHandle.
close ()
Closes the underlying NativeCallback.
isClosed ()
Returns true when the callback has been closed.
[562:7] extends: object
Generated low-level callback wrapper for GIR callback drive-connected.
VolumeMonitorDriveconnectedCallback (callback Fn, UserData = null)
Creates one native callback wrapper. The wrapper owns a trampoline that converts native pointers into generated wrapper objects before invoking
Fn.
Fn is the Aussom callback implementation.UserData is retained and passed through to Fn on each invocation when provided.trampoline (nativeSelf, drive, nativeUserData)
Internal trampoline. Converts native pointer arguments into generated wrapper instances, then invokes the user's callback.
callback ()
Returns the wrapped NativeCallback.
handle ()
Returns the callback as a NativeHandle.
close ()
Closes the underlying NativeCallback.
isClosed ()
Returns true when the callback has been closed.
[1130:7] extends: object
Generated low-level callback wrapper for GIR callback volume-added.
VolumeMonitorVolumeaddedCallback (callback Fn, UserData = null)
Creates one native callback wrapper. The wrapper owns a trampoline that converts native pointers into generated wrapper objects before invoking
Fn.
Fn is the Aussom callback implementation.UserData is retained and passed through to Fn on each invocation when provided.trampoline (nativeSelf, volume, nativeUserData)
Internal trampoline. Converts native pointer arguments into generated wrapper instances, then invokes the user's callback.
callback ()
Returns the wrapped NativeCallback.
handle ()
Returns the callback as a NativeHandle.
close ()
Closes the underlying NativeCallback.
isClosed ()
Returns true when the callback has been closed.
[846:7] extends: object
Generated low-level callback wrapper for GIR callback mount-added.
VolumeMonitorMountaddedCallback (callback Fn, UserData = null)
Creates one native callback wrapper. The wrapper owns a trampoline that converts native pointers into generated wrapper objects before invoking
Fn.
Fn is the Aussom callback implementation.UserData is retained and passed through to Fn on each invocation when provided.trampoline (nativeSelf, mount, nativeUserData)
Internal trampoline. Converts native pointer arguments into generated wrapper instances, then invokes the user's callback.
callback ()
Returns the wrapped NativeCallback.
handle ()
Returns the callback as a NativeHandle.
close ()
Closes the underlying NativeCallback.
isClosed ()
Returns true when the callback has been closed.
[18:7] extends: object
GVolumeMonitor is for listing the user interesting devices and volumes on
the computer. In other words, what a file selector or file manager would show
in a sidebar. GVolumeMonitor is not thread-default-context aware (see
[method@GLib.MainContext.push_thread_default]), and so should not be used
other than from the main thread, with no thread-default-context active. In
order to receive updates about volumes and mounts monitored through GVFS, a
main loop must be running.
VolumeMonitor (Handle = null)
Creates a new
VolumeMonitorby wrapping a native handle or another wrapper.
Handle is the native handle or another wrapper whose handle to adopt.toNativeHandle (Source)
Normalizes a constructor argument into a raw pointer carrier. Accepts a raw NativeHandle, a raw NativeBuffer returned from
fn.call(...), another generated wrapper exposinghandle(), or null. Returns null when the argument carries no pointer.
Source is the raw handle, raw buffer, wrapper, or null.A raw pointer carrier or null when no pointer is present.getLib ()
Returns the opened native library for this generated wrapper.
The opened native library.handle ()
Returns the wrapped NativeHandle.
The wrapped NativeHandle.isNull ()
Returns true when the wrapped handle is null.
A bool.describe ()
Returns a small string for debugging generated wrappers.
A string.asObject ()
Wraps this handle as
Object.
A Object object.connectSignal (string Name, CallbackObj)
Connects one generated callback wrapper to a named signal.
Name is the signal name.CallbackObj is the generated callback wrapper to connect.The connected handler id.disconnectSignalHandler (int HandlerId)
Disconnects one retained signal handler id.
HandlerId is the signal handler id to disconnect.None.setOnDrivechanged (callback Fn, UserData = null)
Emitted when a drive changes.
Fn is the Aussom callback.Fn is called with (VolumeMonitor Self, Drive Drive).UserData is retained and passed through to the generated callback wrapper when provided.The connected handler id.setOnDriveconnected (callback Fn, UserData = null)
Emitted when a drive is connected to the system.
Fn is the Aussom callback.Fn is called with (VolumeMonitor Self, Drive Drive).UserData is retained and passed through to the generated callback wrapper when provided.The connected handler id.setOnDrivedisconnected (callback Fn, UserData = null)
Emitted when a drive is disconnected from the system.
Fn is the Aussom callback.Fn is called with (VolumeMonitor Self, Drive Drive).UserData is retained and passed through to the generated callback wrapper when provided.The connected handler id.setOnDriveejectbutton (callback Fn, UserData = null)
Emitted when the eject button is pressed on @drive.
Fn is the Aussom callback.Fn is called with (VolumeMonitor Self, Drive Drive).UserData is retained and passed through to the generated callback wrapper when provided.The connected handler id.setOnDrivestopbutton (callback Fn, UserData = null)
Emitted when the stop button is pressed on @drive.
Fn is the Aussom callback.Fn is called with (VolumeMonitor Self, Drive Drive).UserData is retained and passed through to the generated callback wrapper when provided.The connected handler id.setOnMountadded (callback Fn, UserData = null)
Emitted when a mount is added.
Fn is the Aussom callback.Fn is called with (VolumeMonitor Self, Mount Mount).UserData is retained and passed through to the generated callback wrapper when provided.The connected handler id.setOnMountchanged (callback Fn, UserData = null)
Emitted when a mount changes.
Fn is the Aussom callback.Fn is called with (VolumeMonitor Self, Mount Mount).UserData is retained and passed through to the generated callback wrapper when provided.The connected handler id.setOnMountpreunmount (callback Fn, UserData = null)
May be emitted when a mount is about to be removed. This signal depends on the backend and is only emitted if GIO was used to unmount.
Fn is the Aussom callback.Fn is called with (VolumeMonitor Self, Mount Mount).UserData is retained and passed through to the generated callback wrapper when provided.The connected handler id.setOnMountremoved (callback Fn, UserData = null)
Emitted when a mount is removed.
Fn is the Aussom callback.Fn is called with (VolumeMonitor Self, Mount Mount).UserData is retained and passed through to the generated callback wrapper when provided.The connected handler id.setOnVolumeadded (callback Fn, UserData = null)
Emitted when a mountable volume is added to the system.
Fn is the Aussom callback.Fn is called with (VolumeMonitor Self, Volume Volume).UserData is retained and passed through to the generated callback wrapper when provided.The connected handler id.setOnVolumechanged (callback Fn, UserData = null)
Emitted when mountable volume is changed.
Fn is the Aussom callback.Fn is called with (VolumeMonitor Self, Volume Volume).UserData is retained and passed through to the generated callback wrapper when provided.The connected handler id.setOnVolumeremoved (callback Fn, UserData = null)
Emitted when a mountable volume is removed from the system.
Fn is the Aussom callback.Fn is called with (VolumeMonitor Self, Volume Volume).UserData is retained and passed through to the generated callback wrapper when provided.The connected handler id.get_connected_drives ()
Gets a list of drives connected to the system. The returned list should be freed with g_list_free(), after its elements have been unreffed with g_object_unref().
get_mount_for_uuid (string uuid)
Finds a #GMount object by its UUID (see g_mount_get_uuid())
uuid is the UUID to look for.get_mounts ()
Gets a list of the mounts on the system. The returned list should be freed with g_list_free(), after its elements have been unreffed with g_object_unref().
get_volume_for_uuid (string uuid)
Finds a #GVolume object by its UUID (see g_volume_get_uuid())
uuid is the UUID to look for.get_volumes ()
Gets a list of the volumes on the system. The returned list should be freed with g_list_free(), after its elements have been unreffed with g_object_unref().
connected_drives ()
Returns
get_connected_drivesas an Aussom list of wrapper objects. This companion method materializes the full collection up front; useget_connected_drives()when lazy or change-notify access is required.
An Aussom list of elements.mounts ()
Returns
get_mountsas an Aussom list of wrapper objects. This companion method materializes the full collection up front; useget_mounts()when lazy or change-notify access is required.
An Aussom list of elements.volumes ()
Returns
get_volumesas an Aussom list of wrapper objects. This companion method materializes the full collection up front; useget_volumes()when lazy or change-notify access is required.
An Aussom list of elements.[1272:7] extends: object
Generated low-level callback wrapper for GIR callback volume-removed.
VolumeMonitorVolumeremovedCallback (callback Fn, UserData = null)
Creates one native callback wrapper. The wrapper owns a trampoline that converts native pointers into generated wrapper objects before invoking
Fn.
Fn is the Aussom callback implementation.UserData is retained and passed through to Fn on each invocation when provided.trampoline (nativeSelf, volume, nativeUserData)
Internal trampoline. Converts native pointer arguments into generated wrapper instances, then invokes the user's callback.
callback ()
Returns the wrapped NativeCallback.
handle ()
Returns the callback as a NativeHandle.
close ()
Closes the underlying NativeCallback.
isClosed ()
Returns true when the callback has been closed.
[704:7] extends: object
Generated low-level callback wrapper for GIR callback drive-eject-button.
VolumeMonitorDriveejectbuttonCallback (callback Fn, UserData = null)
Creates one native callback wrapper. The wrapper owns a trampoline that converts native pointers into generated wrapper objects before invoking
Fn.
Fn is the Aussom callback implementation.UserData is retained and passed through to Fn on each invocation when provided.trampoline (nativeSelf, drive, nativeUserData)
Internal trampoline. Converts native pointer arguments into generated wrapper instances, then invokes the user's callback.
callback ()
Returns the wrapped NativeCallback.
handle ()
Returns the callback as a NativeHandle.
close ()
Closes the underlying NativeCallback.
isClosed ()
Returns true when the callback has been closed.
[1059:7] extends: object
Generated low-level callback wrapper for GIR callback mount-removed.
VolumeMonitorMountremovedCallback (callback Fn, UserData = null)
Creates one native callback wrapper. The wrapper owns a trampoline that converts native pointers into generated wrapper objects before invoking
Fn.
Fn is the Aussom callback implementation.UserData is retained and passed through to Fn on each invocation when provided.trampoline (nativeSelf, mount, nativeUserData)
Internal trampoline. Converts native pointer arguments into generated wrapper instances, then invokes the user's callback.
callback ()
Returns the wrapped NativeCallback.
handle ()
Returns the callback as a NativeHandle.
close ()
Closes the underlying NativeCallback.
isClosed ()
Returns true when the callback has been closed.
[1343:14] static extends: object
Generated metadata helpers for VolumeMonitor class surfaces.
signals ()
Returns signal metadata for
VolumeMonitor.
A list.[775:7] extends: object
Generated low-level callback wrapper for GIR callback drive-stop-button.
VolumeMonitorDrivestopbuttonCallback (callback Fn, UserData = null)
Creates one native callback wrapper. The wrapper owns a trampoline that converts native pointers into generated wrapper objects before invoking
Fn.
Fn is the Aussom callback implementation.UserData is retained and passed through to Fn on each invocation when provided.trampoline (nativeSelf, drive, nativeUserData)
Internal trampoline. Converts native pointer arguments into generated wrapper instances, then invokes the user's callback.
callback ()
Returns the wrapped NativeCallback.
handle ()
Returns the callback as a NativeHandle.
close ()
Closes the underlying NativeCallback.
isClosed ()
Returns true when the callback has been closed.
[917:7] extends: object
Generated low-level callback wrapper for GIR callback mount-changed.
VolumeMonitorMountchangedCallback (callback Fn, UserData = null)
Creates one native callback wrapper. The wrapper owns a trampoline that converts native pointers into generated wrapper objects before invoking
Fn.
Fn is the Aussom callback implementation.UserData is retained and passed through to Fn on each invocation when provided.trampoline (nativeSelf, mount, nativeUserData)
Internal trampoline. Converts native pointer arguments into generated wrapper instances, then invokes the user's callback.
callback ()
Returns the wrapped NativeCallback.
handle ()
Returns the callback as a NativeHandle.
close ()
Closes the underlying NativeCallback.
isClosed ()
Returns true when the callback has been closed.
[1201:7] extends: object
Generated low-level callback wrapper for GIR callback volume-changed.
VolumeMonitorVolumechangedCallback (callback Fn, UserData = null)
Creates one native callback wrapper. The wrapper owns a trampoline that converts native pointers into generated wrapper objects before invoking
Fn.
Fn is the Aussom callback implementation.UserData is retained and passed through to Fn on each invocation when provided.trampoline (nativeSelf, volume, nativeUserData)
Internal trampoline. Converts native pointer arguments into generated wrapper instances, then invokes the user's callback.
callback ()
Returns the wrapped NativeCallback.
handle ()
Returns the callback as a NativeHandle.
close ()
Closes the underlying NativeCallback.
isClosed ()
Returns true when the callback has been closed.
[491:7] extends: object
Generated low-level callback wrapper for GIR callback drive-changed.
VolumeMonitorDrivechangedCallback (callback Fn, UserData = null)
Creates one native callback wrapper. The wrapper owns a trampoline that converts native pointers into generated wrapper objects before invoking
Fn.
Fn is the Aussom callback implementation.UserData is retained and passed through to Fn on each invocation when provided.trampoline (nativeSelf, drive, nativeUserData)
Internal trampoline. Converts native pointer arguments into generated wrapper instances, then invokes the user's callback.
callback ()
Returns the wrapped NativeCallback.
handle ()
Returns the callback as a NativeHandle.
close ()
Closes the underlying NativeCallback.
isClosed ()
Returns true when the callback has been closed.