the-honkers-railway-launcher/assets/ui/preferences/environment.blp
Observer KRypt0n_ 2d520f5e40
0.6.0
- made working environment variables manager

From previous commits:
- renamed `ToastError` trait to `Toast`;
  renamed its `toast_error` method to `toast`;
  now `toast` method will not display button if toast's message is empty
- updated `game::run` function, now it prints running command
  and supports `gamemoderun`
- added automatic `DXVK_ASYNC=1` setting for dxvk-async
2022-08-02 10:45:37 +02:00

33 lines
606 B
Text

using Gtk 4.0;
using Adw 1;
Adw.PreferencesPage page {
Adw.PreferencesGroup {
title: "New variable";
Gtk.Box {
orientation: horizontal;
spacing: 8;
Gtk.Entry name {
placeholder-text: "Name";
}
Gtk.Entry value {
placeholder-text: "Value";
hexpand: true;
}
}
Gtk.Button add {
label: "Add";
margin-top: 8;
halign: start;
}
}
Adw.PreferencesGroup variables {
title: "Variables";
}
}