public class ResizeEvent extends GuiEvent:
Resize payload emitted when a widget's computed size changes.
window.resized += lambda(e: ResizeEvent): print(e.width)
| Modifier and Type | Member | Description |
|---|---|---|
| public readonly property | heightheight as Int |
New widget height. |
| public readonly property | oldHeightoldHeight as Int |
Previous widget height. |
| public readonly property | oldWidtholdWidth as Int |
Previous widget width. |
| public readonly property | widthwidth as Int |
New widget width. |
| Modifier and Type | Member | Description |
|---|---|---|
| public | ResizeEvent | Creates a resize event payload. |