using Gtk 4.0; Dialog { use-header-bar: 1; } Window { keys-changed => $on_window_keys_changed(); }