Open airstruck opened 8 years ago
SDL backend should be able to use this to support multiple windows somehow. Calling layout:show
on a "window layout" would show it in its own window, but how will "windowless layouts" know which window to show up in?
Setting minimum/maximum size doesn't seem to do anything under gnome 3, gnome classic or openbox. Not sure what's going on there, or if it works anywhere else. The rest seems to work fine under SDL, still need to add support in Love backend.
This widget can be used as the root widget of a layout to manage properties of the window.
maximized
-> SDL_MaximizeWindow / SDL_RestoreWindowminimized
-> SDL_MinimizeWindow / SDL_RestoreWindowborderless
-> SDL_SetWindowBorderedfullscreen
-> SDL_SetWindowFullscreengrab
-> SDL_SetWindowGrab (will it work with Love?)icon
(override) -> SDL_SetWindowIconmaxwidth
/maxheight
-> SDL_SetWindowMaximumSizeminwidth
/minheight
(override) -> SDL_SetWindowMinimumSizetop
/left
(override) -> SDL_SetWindowPositionwidth
/height
(override) -> SDL_SetWindowSizetitle
-> SDL_SetWindowTitle