Window.bgcolor readwrite


Get or set the Window background color.

Example

--! luart-extensions import ui -- create a simple Window local win = ui.Window("Window.bgcolor sample") win.bgcolor = 0 -- black background win:show() -- update user interface repeat win.bgcolor = win.bgcolor + 0x010101 ui.update() until not win.visible or win.bgcolor >= 0xFFFFFF