Package ch.bailu.gtk.gio
Klasse UnixMountMonitor
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.gobject.Object
ch.bailu.gtk.type.PropertyHolder
ch.bailu.gtk.gio.UnixMountMonitor
- Alle implementierten Schnittstellen:
PointerInterface
Watches for changes to the set of mount entries and mount points in the
system.
Connect to the [signal@GioUnix.MountMonitor::mounts-changed] signal to be
notified of changes to the [struct@GioUnix.MountEntry] list.
Connect to the [signal@GioUnix.MountMonitor::mountpoints-changed] signal to
be notified of changes to the [struct@GioUnix.MountPoint] list.
system.
Connect to the [signal@GioUnix.MountMonitor::mounts-changed] signal to be
notified of changes to the [struct@GioUnix.MountEntry] list.
Connect to the [signal@GioUnix.MountMonitor::mountpoints-changed] signal to
be notified of changes to the [struct@GioUnix.MountPoint] list.
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic interface
static interface
Von Klasse geerbte verschachtelte Klassen/Schnittstellen ch.bailu.gtk.gobject.Object
Object.OnBindingTransformFunc, Object.OnDestroyNotify, Object.OnDuplicateFunc, Object.OnNotify, Object.OnToggleNotify, Object.OnWeakNotify
-
Feldübersicht
FelderVon Klasse geerbte Felder ch.bailu.gtk.gobject.Object
SIGNAL_ON_NOTIFY
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic UnixMountMonitor
get()
Gets the [class@GioUnix.MountMonitor] for the current thread-default main
context.static ClassHandler
static int
static long
static TypeSystem.TypeSize
static long
static TypeSystem.TypeSize
Connect to signal "mountpoints-changed".Connect to signal "mounts-changed".void
setRateLimit
(int limit_msec) Veraltet.Von Klasse geerbte Methoden ch.bailu.gtk.type.PropertyHolder
getBooleanProperty, getIntProperty, getObjectProperty, getStringProperty, getStrProperty, setBooleanProperty, setIntProperty, setObjectProperty, setStringProperty, setStrProperty
Von Klasse geerbte Methoden ch.bailu.gtk.gobject.Object
addToggleRef, bindProperty, bindProperty, bindPropertyFull, bindPropertyFull, bindPropertyWithClosures, bindPropertyWithClosures, compatControl, connect, connect, disconnect, disconnect, dupData, dupData, dupQdata, forceFloating, freezeNotify, get, get, getData, getData, getProperty, getProperty, getQdata, interfaceFindProperty, interfaceInstallProperty, isFloating, notify, notify, notifyByPspec, onNotify, ref, refSink, removeToggleRef, replaceData, replaceData, replaceQdata, runDispose, set, set, setData, setData, setDataFull, setDataFull, setProperty, setProperty, setQdata, setQdataFull, stealData, stealData, stealQdata, takeRef, thawNotify, unref, watchClosure, weakRef, weakUnref
Von Klasse geerbte Methoden ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacks
Von Klasse geerbte Methoden ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNull
Von Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Von Schnittstelle geerbte Methoden ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Felddetails
-
SIGNAL_ON_MOUNTPOINTS_CHANGED
- Siehe auch:
-
SIGNAL_ON_MOUNTS_CHANGED
- Siehe auch:
-
-
Konstruktordetails
-
UnixMountMonitor
-
UnixMountMonitor
Veraltet.Deprecated alias for [func@GioUnix.MountMonitor.get].
This function was never a true constructor, which is why it was
renamed.
-
-
Methodendetails
-
getClassHandler
-
setRateLimit
Veraltet.This function does nothing.
Before 2.44, this was a partially-effective way of controlling the
rate at which events would be reported under some uncommon
circumstances. Since @mount_monitor is a singleton, it also meant
that calling this function would have side effects for other users of
the monitor.- Parameter:
limit_msec
- a integer with the limit (in milliseconds) to poll for changes
-
onMountpointsChanged
Connect to signal "mountpoints-changed".
SeeUnixMountMonitor.OnMountpointsChanged.onMountpointsChanged()
for signal description.
FieldSIGNAL_ON_MOUNTPOINTS_CHANGED
contains original signal name and can be used as resource reference.- Parameter:
signal
- callback function (lambda).- Gibt zurück:
SignalHandler
. Can be used to disconnect signal and to release callback function.
-
onMountsChanged
Connect to signal "mounts-changed".
SeeUnixMountMonitor.OnMountsChanged.onMountsChanged()
for signal description.
FieldSIGNAL_ON_MOUNTS_CHANGED
contains original signal name and can be used as resource reference.- Parameter:
signal
- callback function (lambda).- Gibt zurück:
SignalHandler
. Can be used to disconnect signal and to release callback function.
-
get
Gets the [class@GioUnix.MountMonitor] for the current thread-default main
context.
The mount monitor can be used to monitor for changes to the list of
mounted filesystems as well as the list of mount points (ie: fstab
entries).
You must only call [method@GObject.Object.unref] on the return value from
under the same main context as you called this function.- Gibt zurück:
- the [class@GioUnix.MountMonitor]
-
getTypeID
public static long getTypeID() -
getParentTypeID
public static long getParentTypeID() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-