Window:onMaximize()event


This event is fired when the Window has been maximized, by the user or just after a Window:maximize() call.

Return value

Return value

The event returns no value.

Example

--! luart-extensions import ui -- create a simple window local win = ui.Window("Minimize, maximize or restore me !") function win:onMinimize() ui.info("Window has been minimized !") end function win:onMaximize() ui.info("Window has been maximized !") end function win:onRestore() ui.info("Window has been restored !") end -- update user interface await win:showasync()