Cancellable.this

Creates a new #GCancellable object.

Applications that want to start one or more operations that should be cancellable should create a #GCancellable and pass it to the operations.

One #GCancellable can be used in multiple consecutive operations or in multiple concurrent operations.

  1. this(void* ptr, Flag!"Take" take)
  2. this()
    class Cancellable
    this
    ()

Return Value

a #GCancellable.