Sign in to follow this  

Window Properties in SDL

This topic is 4098 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hey, Just checking out SDL for the first time. I was looking through some tutorials but I couldn't find anything about managing the window it creates for you, other than setting the title/icon and minimizing it. I'm most interested in maximizing the window, but I'd also like to play around with styles and such. Any help would be appreciated. Thanks.

Share this post


Link to post
Share on other sites
Here are the windows functions from the doc wiki on the SDL site. Are you looking for the ability to toggle full screen or the flags for the SetVideoMode function of creating your window?

Window Management

SDL_GetWMInfo - Gets window-manager specific information, if available

SDL_WM_SetCaption - Sets the window title and icon name.

SDL_WM_GetCaption - Gets the window title and icon name.

SDL_WM_SetIcon - Sets the icon for the display window.

SDL_WM_IconifyWindow - Iconify/Minimise the window

SDL_WM_ToggleFullScreen - Toggles fullscreen mode

SDL_WM_GrabInput - Grabs mouse and keyboard input.

Share this post


Link to post
Share on other sites

This topic is 4098 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this