From 6514c9808af3c4aee1bf6e4e867699d6578358d1 Mon Sep 17 00:00:00 2001 From: Hofer-Julian <30049909+Hofer-Julian@users.noreply.github.com> Date: Sat, 9 Sep 2023 00:13:55 +0200 Subject: [PATCH] library: Add Rust/Vala files for demos without code (#579) --- src/Library/demos/Advanced Buttons/code.rs | 2 ++ src/Library/demos/Advanced Buttons/main.vala | 3 +++ src/Library/demos/Boxed Lists/code.rs | 2 ++ src/Library/demos/Boxed Lists/main.vala | 3 +++ src/Library/demos/Center Box/code.rs | 2 ++ src/Library/demos/Center Box/main.vala | 3 +++ src/Library/demos/Editable Label/code.rs | 2 ++ src/Library/demos/Header Bar/code.rs | 2 ++ src/Library/demos/Header Bar/main.vala | 3 +++ src/Library/demos/Navigation Split View/code.rs | 2 ++ src/Library/demos/Navigation Split View/main.vala | 3 +++ src/Library/demos/Pango Markup/code.rs | 2 ++ src/Library/demos/Pango Markup/main.vala | 3 +++ src/Library/demos/Platform Tools/code.rs | 2 ++ src/Library/demos/Platform Tools/main.vala | 3 +++ src/Library/demos/Window/code.rs | 2 ++ src/Library/demos/Window/main.vala | 3 +++ 17 files changed, 42 insertions(+) create mode 100644 src/Library/demos/Advanced Buttons/code.rs create mode 100644 src/Library/demos/Advanced Buttons/main.vala create mode 100644 src/Library/demos/Boxed Lists/code.rs create mode 100644 src/Library/demos/Boxed Lists/main.vala create mode 100644 src/Library/demos/Center Box/code.rs create mode 100644 src/Library/demos/Center Box/main.vala create mode 100644 src/Library/demos/Editable Label/code.rs create mode 100644 src/Library/demos/Header Bar/code.rs create mode 100644 src/Library/demos/Header Bar/main.vala create mode 100644 src/Library/demos/Navigation Split View/code.rs create mode 100644 src/Library/demos/Navigation Split View/main.vala create mode 100644 src/Library/demos/Pango Markup/code.rs create mode 100644 src/Library/demos/Pango Markup/main.vala create mode 100644 src/Library/demos/Platform Tools/code.rs create mode 100644 src/Library/demos/Platform Tools/main.vala create mode 100644 src/Library/demos/Window/code.rs create mode 100644 src/Library/demos/Window/main.vala diff --git a/src/Library/demos/Advanced Buttons/code.rs b/src/Library/demos/Advanced Buttons/code.rs new file mode 100644 index 000000000..d3b12ab39 --- /dev/null +++ b/src/Library/demos/Advanced Buttons/code.rs @@ -0,0 +1,2 @@ +pub fn main() {} + diff --git a/src/Library/demos/Advanced Buttons/main.vala b/src/Library/demos/Advanced Buttons/main.vala new file mode 100644 index 000000000..91c413e8f --- /dev/null +++ b/src/Library/demos/Advanced Buttons/main.vala @@ -0,0 +1,3 @@ +#!/usr/bin/env -S vala workbench.vala --pkg gtk4 --pkg libadwaita-1 + +public void main () {} diff --git a/src/Library/demos/Boxed Lists/code.rs b/src/Library/demos/Boxed Lists/code.rs new file mode 100644 index 000000000..d3b12ab39 --- /dev/null +++ b/src/Library/demos/Boxed Lists/code.rs @@ -0,0 +1,2 @@ +pub fn main() {} + diff --git a/src/Library/demos/Boxed Lists/main.vala b/src/Library/demos/Boxed Lists/main.vala new file mode 100644 index 000000000..91c413e8f --- /dev/null +++ b/src/Library/demos/Boxed Lists/main.vala @@ -0,0 +1,3 @@ +#!/usr/bin/env -S vala workbench.vala --pkg gtk4 --pkg libadwaita-1 + +public void main () {} diff --git a/src/Library/demos/Center Box/code.rs b/src/Library/demos/Center Box/code.rs new file mode 100644 index 000000000..d3b12ab39 --- /dev/null +++ b/src/Library/demos/Center Box/code.rs @@ -0,0 +1,2 @@ +pub fn main() {} + diff --git a/src/Library/demos/Center Box/main.vala b/src/Library/demos/Center Box/main.vala new file mode 100644 index 000000000..91c413e8f --- /dev/null +++ b/src/Library/demos/Center Box/main.vala @@ -0,0 +1,3 @@ +#!/usr/bin/env -S vala workbench.vala --pkg gtk4 --pkg libadwaita-1 + +public void main () {} diff --git a/src/Library/demos/Editable Label/code.rs b/src/Library/demos/Editable Label/code.rs new file mode 100644 index 000000000..d3b12ab39 --- /dev/null +++ b/src/Library/demos/Editable Label/code.rs @@ -0,0 +1,2 @@ +pub fn main() {} + diff --git a/src/Library/demos/Header Bar/code.rs b/src/Library/demos/Header Bar/code.rs new file mode 100644 index 000000000..d3b12ab39 --- /dev/null +++ b/src/Library/demos/Header Bar/code.rs @@ -0,0 +1,2 @@ +pub fn main() {} + diff --git a/src/Library/demos/Header Bar/main.vala b/src/Library/demos/Header Bar/main.vala new file mode 100644 index 000000000..91c413e8f --- /dev/null +++ b/src/Library/demos/Header Bar/main.vala @@ -0,0 +1,3 @@ +#!/usr/bin/env -S vala workbench.vala --pkg gtk4 --pkg libadwaita-1 + +public void main () {} diff --git a/src/Library/demos/Navigation Split View/code.rs b/src/Library/demos/Navigation Split View/code.rs new file mode 100644 index 000000000..d3b12ab39 --- /dev/null +++ b/src/Library/demos/Navigation Split View/code.rs @@ -0,0 +1,2 @@ +pub fn main() {} + diff --git a/src/Library/demos/Navigation Split View/main.vala b/src/Library/demos/Navigation Split View/main.vala new file mode 100644 index 000000000..91c413e8f --- /dev/null +++ b/src/Library/demos/Navigation Split View/main.vala @@ -0,0 +1,3 @@ +#!/usr/bin/env -S vala workbench.vala --pkg gtk4 --pkg libadwaita-1 + +public void main () {} diff --git a/src/Library/demos/Pango Markup/code.rs b/src/Library/demos/Pango Markup/code.rs new file mode 100644 index 000000000..d3b12ab39 --- /dev/null +++ b/src/Library/demos/Pango Markup/code.rs @@ -0,0 +1,2 @@ +pub fn main() {} + diff --git a/src/Library/demos/Pango Markup/main.vala b/src/Library/demos/Pango Markup/main.vala new file mode 100644 index 000000000..91c413e8f --- /dev/null +++ b/src/Library/demos/Pango Markup/main.vala @@ -0,0 +1,3 @@ +#!/usr/bin/env -S vala workbench.vala --pkg gtk4 --pkg libadwaita-1 + +public void main () {} diff --git a/src/Library/demos/Platform Tools/code.rs b/src/Library/demos/Platform Tools/code.rs new file mode 100644 index 000000000..d3b12ab39 --- /dev/null +++ b/src/Library/demos/Platform Tools/code.rs @@ -0,0 +1,2 @@ +pub fn main() {} + diff --git a/src/Library/demos/Platform Tools/main.vala b/src/Library/demos/Platform Tools/main.vala new file mode 100644 index 000000000..91c413e8f --- /dev/null +++ b/src/Library/demos/Platform Tools/main.vala @@ -0,0 +1,3 @@ +#!/usr/bin/env -S vala workbench.vala --pkg gtk4 --pkg libadwaita-1 + +public void main () {} diff --git a/src/Library/demos/Window/code.rs b/src/Library/demos/Window/code.rs new file mode 100644 index 000000000..d3b12ab39 --- /dev/null +++ b/src/Library/demos/Window/code.rs @@ -0,0 +1,2 @@ +pub fn main() {} + diff --git a/src/Library/demos/Window/main.vala b/src/Library/demos/Window/main.vala new file mode 100644 index 000000000..91c413e8f --- /dev/null +++ b/src/Library/demos/Window/main.vala @@ -0,0 +1,3 @@ +#!/usr/bin/env -S vala workbench.vala --pkg gtk4 --pkg libadwaita-1 + +public void main () {}