set_event_compression


Description:

[ Version ( since = "3.12" ) ]
public void set_event_compression (bool event_compression)

Determines whether or not extra unprocessed motion events in the event queue can be discarded.

If true only the most recent event will be delivered.

Some types of applications, e.g. paint programs, need to see all motion events and will benefit from turning off event compression.

By default, event compression is enabled.

Parameters:

this

a Window

event_compression

true if motion events should be compressed