Im building an application using gtk_rs, and its pretty simple use the gtk builder to load a xml to describe interface, however, when using gtk_build_tools, the things gets a bit more complicated.
Im loading my resources using gio::resources_register_include!("resources.gresource").expect("Failed to register resources");, but I don’t know how to reference the xml objects as we do when loading with include_str! macro. I had read the gtk_rs book also. How I can access the objects in xml using gtk build tools?
The #[template(resource brings in the resource and each #[template_child] is a reference to each object in the XML efinition of the UI. The names must match up.