Lock your variables in Vala
| lock | Initial commit | |
| .gitignore | Initial commit | |
| LICENSE | Initial commit | |
| README.md | Initial commit | |
| test-adw.vala | Initial commit | |
| test.vala | Initial commit | |
Locked
Ever wanted to lock a variable behind a password? Now you can! Introducing Locked for Vala. Simply copy the ./lock folder to your project, add the lock/locked.vala file to your sources, and enjoy password protected variables.
Tests
Basic
Make sure valac is installed, then run:
valac lock/locked.vala test.vala
Then you can run the locked executable to see a simple test of locked variables.
Advanced
Make sure valac, gtk4-devel, and libadwaita-devel are installed, then run:
valac --pkg gtk-4.0 --pkg libadwaita-1 lock/locked.vala test-adw.vala
Then you can run the locked executable and see a test with libadwaita dialogs.