CancellableSourceFunc
Description:
[ CCode ( instance_pos = 1.9 ) ]
[ Version ( since = "2.28" ) ]
public delegate bool CancellableSourceFunc (Cancellable? cancellable = null)
[ Version ( since = "2.28" ) ]
public delegate bool CancellableSourceFunc (Cancellable? cancellable = null)
This is the function type of the callback used for the SocketSource returned by CancellableSource.
Parameters:
cancellable |
the Cancellable |
data |
data passed in by the user. |
Returns:
it should return false if the source should be removed. |
Namespace: GLib
Package: gio-2.0