--- hide: - navigation --- # Events (/root/CORE/Events) Just connect a signal to a function and get updates when something happens ## Signals ### window_title - emitted on `window title change` - argument `window_title` (type `String`) - argument `previous_window_title` (type `String`) ### window_size - emitted on `window size change` - argument `update_coordinate` (type `String`, can be `X`, `Y` or `BOTH`) - argument `window_size` (type `Vector2i`) - argument `previous_window_size` (type `Vector2i`) ### window_pos - emitted on `window position change` - argument `update_coordinate` (type `String`, can be `X`, `Y` or `BOTH`) - argument `window_pos` (type `Vector2i`) - argument `previous_window_pos` (type `Vector2i`) ### logger_all - emitted on `log output` - argument `type` (type `String`, can be `"DIAG"`, `"INFO"`, `"WARN"` or `"ERROR"`) - argument `script` (type `String`) - argument `message` (type `String`) ### logger_diag - emitted on `diagnostic log output` - argument `script` (type `String`) - argument `message` (type `String`) ### logger_info - emitted on `informational log output` - argument `script` (type `String`) - argument `message` (type `String`) ### logger_warn - emitted on `warning log output` - argument `script` (type `String`) - argument `message` (type `String`) ### logger_error - emitted on `error log output` - argument `script` (type `String`) - argument `message` (type `String`)