Package: gio

Function gio:cancellable-push-current

Lambda List

gio:cancellable-push-current (cancellable)

Arguments

cancellable -- a g:cancellable object

Details

Pushes cancellable onto the cancellable stack. The current cancellable can then be received using the g:cancellable-current function.

This is useful when implementing cancellable operations in code that does not allow you to pass down the cancellable object.

This is typically called automatically by, for example GFile operations, so you rarely have to call this yourself.
 

See also

#2024-10-23