error_trap_pop


Description:

[ Version ( since = "3.0" ) ]
public int error_trap_pop ()

Pops the error trap pushed by error_trap_push.

Will XSync if necessary and will always block until the error is known to have occurred or not occurred, so the error code can be returned.

If you don’t need to use the return value, error_trap_pop_ignored would be more efficient.

See error_trap_pop for the all-displays-at-once equivalent.

Parameters:

this

the display

Returns:

X error code or 0 on success




2022 vala-language.org