Reminds me of an old window lock of the type they used in old trams.
There was some kind of saw toothed gizmo on the side of the window
frame and when you squeezed on the lock levers, you could slide the window
up or down. When you released the levers, a tang would engage on one
of the saw tooth teeth and held the window in place.