How to push up and down window in opengl c++ for linux?

Hi Good day. Anyone knows how to push up/down or slide up down window in opengl c++ for linux? Example I toggle window to show the window will slide up or push up…

That is outside the scope of OpenGL and is something that your window toolkit may be able to do, i.e. I recommend to ask in a forum dedicated to that.