[DEV] change the keyboard and mouse event function
[DEV] corection of the Display widget clipping and add some capabilities