I added this XML to tell builder to include a menu in my application, and although the rest of the user interface appears (with no error messages), no menu is displayed. I put the relevant XML near the start of the XML file, before the start of the GtkAppilcationWindow. Am I missing something simple? I saw what somebody else (named compyx, on Jan. 2nd) added in another conversation and tried their XML, but it didn’t work either.
type <?xml version="1.0" encoding="UTF-8"?> <interface> <requires lib="gtk" version="4.0"/> <menu id="rootmenu"> <submenu id="File"> <attribute name="label">File</attribute> <item> <attribute name="label">Open</attribute> </item> </submenu> </menu> <object class="GtkApplicationWindow" id="main_ApplicationWindow">or paste code here