Add the full Rust + GTK4 + libadwaita project skeleton: - Cargo.toml with all dependencies (gtk4 0.11, libadwaita 0.9, webkit6 0.6, reqwest, serde, tokio, libsecret) - build.rs that compiles Blueprint .blp files and bundles a GResource - data/ui/window.blp — AdwApplicationWindow with AdwNavigationSplitView, sidebar with refresh button/spinner and primary menu, content page with article menu - data/resources.gresource.xml bundling UI, HTML, and CSS - data/net.jeena.FeedTheMonkey.gschema.xml with all GSettings keys - html/content.html and html/content.css (minimal placeholders) - src/main.rs, src/app.rs — AdwApplication with APP_ID net.jeena.FeedTheMonkey - src/window.rs — AdwApplicationWindow GObject subclass loading the Blueprint template and persisting window size in GSettings - COPYING (GPL-3.0) restored from master The app compiles and the binary is ready to open a blank window.
25 lines
770 B
XML
25 lines
770 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<schemalist>
|
|
<schema id="net.jeena.FeedTheMonkey" path="/net/jeena/FeedTheMonkey/">
|
|
<key name="window-width" type="i">
|
|
<default>900</default>
|
|
<summary>Window width</summary>
|
|
</key>
|
|
<key name="window-height" type="i">
|
|
<default>600</default>
|
|
<summary>Window height</summary>
|
|
</key>
|
|
<key name="window-maximized" type="b">
|
|
<default>false</default>
|
|
<summary>Window maximized state</summary>
|
|
</key>
|
|
<key name="sidebar-width" type="i">
|
|
<default>280</default>
|
|
<summary>Sidebar width in pixels</summary>
|
|
</key>
|
|
<key name="zoom-level" type="d">
|
|
<default>1.0</default>
|
|
<summary>WebView zoom level</summary>
|
|
</key>
|
|
</schema>
|
|
</schemalist>
|