Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

book: Don't use resources for composite templates #1950

Open
sophie-h opened this issue Dec 29, 2024 · 0 comments
Open

book: Don't use resources for composite templates #1950

sophie-h opened this issue Dec 29, 2024 · 0 comments

Comments

@sophie-h
Copy link
Contributor

https://gtk-rs.org/gtk4-rs/stable/latest/book/composite_templates.html

This chapter is rather complex and requires unpleasant things like writing a build.rs. As far as I can tell, this could all be avoided by just using

#[template(file = "window.ui")]

The .ui-files could just be stored in the same folder as the source, as many apps and libraries do. Since they are often edited together, it makes navigating code much easier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant