Package ch.bailu.gtk.gio
Schnittstelle Gio.OnIOSchedulerJobFunc
- Umschließende Klasse:
Gio
- Funktionsschnittstelle:
- Dies ist eine funktionale Schnittstelle, die somit als Zuweisungsziel für einen Lambdaausdruck oder eine Methodenreferenz verwendet werden kann.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungboolean
onIOSchedulerJobFunc
(CallbackHandler __self, ch.bailu.gtk.gio.IOSchedulerJob job, Cancellable cancellable, Pointer data) I/O Job function.
-
Methodendetails
-
onIOSchedulerJobFunc
boolean onIOSchedulerJobFunc(CallbackHandler __self, @Nonnull ch.bailu.gtk.gio.IOSchedulerJob job, @Nullable Cancellable cancellable, @Nullable Pointer data) I/O Job function.
Long-running jobs should periodically check the @cancellable
to see if they have been cancelled.- Parameter:
job
- a #GIOSchedulerJob.cancellable
- optional #GCancellable object, %NULL to ignore.data
- data passed to the callback function- Gibt zurück:
- %TRUE if this function should be called again to complete the job, %FALSE if the job is complete (or cancelled)
-