Gtk4 how to disable gtk inspector

Gtk4 how to disable gtk inspector
I try org.gtk.gtk4.schemas.debug enable-inspector-keybinding = false
But none effect!
I want to disable CTRL+SHIFT+I
Please help me

Hi,

The correct path seems to be org.gtk.gtk4.Settings.Debug
(i.e. “Settings” instead of “schemas”)

Ok。Thanks。I will try it later。And I want to control it with code without xml。Could you help me?

Yes.Thanks a lot。I get it。But could I run app without gschemas.compiled file?
image

Are you on Microsoft Windows?

If yes the settings are stored in the system registry, so you can use regedit.exe to set it, without needing schemas:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\SOFTWARE\GSettings\org\gtk\gtk4\settings\debug]
"enable-inspector-keybinding"=dword:00000000

This topic was automatically closed 45 days after the last reply. New replies are no longer allowed.