screen_stop_effect()

Stop the effect on the specified window.

Synopsis:

#include <screen/screen.h>
 
int screen_stop_effect(screen_window_t win, float duration, int notify)

Arguments:

win

The handle of the window whose effect property is to be stopped.

duration

The duration is not used in screen_stop_effect().

notify

A flag to indicate whether or not a SCREEN_EVENT_EFFECT_COMPLETE event is to be sent upon completion of screen_start_effect(). 1 indicates that a SCREEN_EVENT_EFFECT_COMPLETE is to be sent and 0 indicates that no event is sent upon completion of screen_start_effect().

Library:

libscreen

Description:

Function Type: Delayed Execution

This function stops the effect on a window for a specified duration.

Currently there are no effect properties that can be set using this function.

Returns:

0 if the value(s) of the property was set to new value(s), or -1 if an error occurred (errno is set).