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

Provide GResources example #136

Open
gavr123456789 opened this issue Jun 7, 2021 · 2 comments
Open

Provide GResources example #136

gavr123456789 opened this issue Jun 7, 2021 · 2 comments

Comments

@gavr123456789
Copy link

Generally it is possible to use resource files merged with the executable program instead of an external XML files, we have to investigate how we can do that in Nim. And it may be possible to connect the signal handlers to handler procs from within the XML file — this is also work in progress…

Minimal app example:
https://github.com/nahuelwexd/gtk-vala-template/blob/main/src/ui-resources.xml

@gavr123456789 gavr123456789 changed the title Use GResources example Provide GResources example Jun 7, 2021
@StefanSalewski
Copy link
Owner

Please provide detailed instructions how to build the final executable with external resources for various compilers and various OS. I somehow managed it for NEd five years ago, but I never understand it, I think I asked in Nim forum or in GTK forum, but as generally no helpful reply, so I collected various google hints until I got a working executable. But I did not understood the details.

@gavr123456789
Copy link
Author

I wrote a GSettings guide 1 year ago for vala meson, I think it can be usefull.
https://www.reddit.com/r/vala/comments/g87x6u/how_to_add_gsettings_support_to_meson_project/
I will look into this later.

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

2 participants