SDL1.3 About the event

Please help me !

I use SDL1.3 with c++.
In my program, I created the window class and
want to handle events in it’s method.
Is there any method of getting only ‘the event concerning the window’ ?
Do SDL_PeekEvents or EventFilter enable it ?

Thanks and sorry for my poor English.