connectChanged

fun connectChanged(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (key: String) -> Unit): <Error class: unknown class>

The "changed" signal is emitted when a key has potentially changed. You should call one of the g_settings_get() calls to check the new value.

This signal supports detailed connections. You can connect to the detailed signal "changed::x" in order to only receive callbacks when key "x" changes.

Note that @settings only emits this signal if you have read @key at least once while a signal handler was already connected for @key.

Parameters

connectFlags

A combination of ConnectFlags

handler

the Callback to connect. Params: key the name of the key that changed