1.1 KiB
1.1 KiB
Developing GTK4 Applications
Demos
Adw has a demo application showing all widgets. You can run it by executing:
adwaita-1-demo
GTK4 has a demo application showing all widgets. You can run it by executing:
gtk4-widget-factory
To find available icons execute:
gtk4-icon-browser
Links
Debugging Style and Layout
You can append --debug
flag to enable debug logging printed into the console.
# Enable the GTK debugger
gsettings set org.gtk.Settings.Debug enable-inspector-keybinding true
# Start the application with the debugger attached
GTK_DEBUG=interactive ./bin/clan-vm-manager --debug
Profiling
To activate profiling execute:
PERF=1 ./bin/clan-vm-manager