clan-core/pkgs/clan-vm-manager/README.md
Qubasa b77ffac4d4
All checks were successful
checks / check-links (pull_request) Successful in 22s
checks / checks-impure (pull_request) Successful in 1m58s
checks / checks (pull_request) Successful in 2m24s
clan_vm_manager: Cache profiler obj for multi call functions
2024-03-04 15:52:57 +07:00

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

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