Method

IdeWorkspaceget_cancellable

since: 3.32

Declaration

GCancellable*
ide_workspace_get_cancellable (
  IdeWorkspace* self
)

Description

Gets a cancellable for a window. This is useful when you want operations to be cancelled if a window is closed.

Available since: 3.32

Return value

Type: GCancellable

A GCancellable.

The data is owned by the instance.