Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vala-lang/gtk4-samples
Vala GTK4 Sample Code
https://github.com/vala-lang/gtk4-samples
adw adwaita blueprint blueprint-ui example-apps examples gtk gtk4 gui hacktoberfest libadwaita sample-apps sample-code sample-codes samples ui vala
Last synced: about 1 month ago
JSON representation
Vala GTK4 Sample Code
- Host: GitHub
- URL: https://github.com/vala-lang/gtk4-samples
- Owner: vala-lang
- License: mit-0
- Created: 2024-11-03T17:22:48.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-11-08T23:15:32.000Z (3 months ago)
- Last Synced: 2025-01-08T07:07:35.020Z (about 1 month ago)
- Topics: adw, adwaita, blueprint, blueprint-ui, example-apps, examples, gtk, gtk4, gui, hacktoberfest, libadwaita, sample-apps, sample-code, sample-codes, samples, ui, vala
- Language: Vala
- Homepage:
- Size: 26.4 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Vala GTK4 Samples
Some of these samples are featured in the [Vala Documentation Website](https://docs.vala.dev).
View the repository for the website here: https://github.com/vala-lang/vala-docs
## Structure
Top-level directories should are:
- `/vala` - Samples where Vala is used to create the UI
- `/blp` - Samples where Blueprint is used to create the UIEach top-level repository is split into two directories:
- `/gtk4` - Samples that use standard gtk4 code exist
- `/adw` - Samples that use Libadwaita codeIn each of the directories (gtk4 and adw), there are directories for each sample.
## Trying out the samples
While samples should aim to be complied without a build system, some samples may use a build system if they are a bit too complex to setup.
The primary build system that will be used for these samples is [`meson`](https://mesonbuild.com).
Each sample project directory in this repo will have its own README, including instructions on how to build and run the samples.
## Contributing
Feel free to suggest changes using issues and add/update samples with pull requests.
## Resources
- [Valadoc - Vala API References Website](https://valadoc.org).
- [GTK Documentation](https://docs.gtk.org/)
- [Blueprint Documentation](https://jwestman.pages.gitlab.gnome.org/blueprint-compiler/index.html)
- [Vala Documentation Website](https://docs.vala.dev)