Method
IdePtyInterceptset_callback
Declaration
void
ide_pty_intercept_set_callback (
IdePtyIntercept* self,
IdePtyInterceptSide* side,
IdePtyInterceptCallback callback,
gpointer user_data
)
Description
This sets the callback to execute every time data is received from a particular side of the intercept.
You may only set one per side.
Parameters
side-
Type:
IdePtyInterceptSideThe side containing the data to watch.
The data is owned by the caller of the method. callback-
Type:
IdePtyInterceptCallbackThe callback to execute when data is received.
user_data-
Type:
gpointerClosure data for
callback.The argument can be NULL.The data is owned by the caller of the method.