Re: Enable / disable a Gio::SimpleAction.
Kjell Ahlstedt via gtkmm-list <[email protected]> Thu, 8 Oct 2020 11:20:58 +0200
| Newsgroups | gmane.comp.gnome.gtkmm |
|---|---|
| Message-ID | <[email protected]> |
On 2020-10-07 22:04, Carlo Wood wrote: > When I put that string in an XML file "example.glade" and try > to read it, glade gives the error: > > example.glade targets Gtk+ 2.12 > > But this version of Glade is for GTK+ 3 only. > Make sure you can run this project with Glade 3.8 with no > deprecated widgets first. > > In other words, it seems that the usage of "<menu>", "<submenu>" and "<section>" etc. > is old-style, pre- GTK+ 3. No, it seems that glade does not understand <menu>, <submenu> and <section>. (You did remove the double-quotes, I hope.) This format is used in many examples both in gtk3/gtkmm3 and gtk4/gtkmm4. It's certainly not old-fashioned. > Since the 'action' and 'target' attributes are important in order to get > the whole to work as a radio button, I need to know how one can do this > with glade. > Sorry, I know almost nothing about glade. I can't help you with questions about glade. Hope someone else can. _______________________________________________ gtkmm-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/gtkmm-list