On Mon, 27 Jul 2020 07:23:30 -0700
Phil Wolff via gtkmm-list wrote:
> Both definitions specify the same string for the menu id, so the
> second definition updates/overwrites the first one. Try using
> 'menu-linuxchess-2' in the second one...
That won't help... it is one single menu:
auto
Both definitions specify the same string for the menu id, so the second
definition updates/overwrites the first one. Try using
'menu-linuxchess-2' in the second one...
On 7/27/20 6:50 AM, Carlo Wood wrote:
Hi,
the documentation at
Hi,
the documentation at
https://developer.gnome.org/gtkmm/stable/classGtk_1_1Builder.html#ae3520ee31a98ac30b728f93522de8df5
says: "Parses a string containing a GtkBuilder UI definition and merges
it with the current contents of the builder."
But when I try this:
Glib::ustring ui_info =
Hi aitor,
thank you so much for your examples!
I will definitely study them in depth as soon as I get
my current problem resolved of how to add a 'Mode' to
my menu having a separate Gtk::Builder (aka, how to
combine multiple Gtk::Builder objects into a single
menu). Or, alternatively, I could
On 2020-07-27 09:40, Carlo Wood wrote:
Is there an example somewhere that shows how I can combine the
`void on_menu_mode_*()` member functions of a widget that is not
derived (indirectly) from Gio::ActionMap to the menu of the window
that this widgets belongs to?
Thanks,
Carlo Wood
Look at
On Sun, 26 Jul 2020 20:22:43 +0100
Daniel Boles via gtkmm-list wrote:
> On Sun, 26 Jul 2020, 20:21 Carlo Wood, wrote:
>
> >
> > I'm not sure what you mean with doing
> >
> > LinuxChessboardWidget(..) : Glib::ObjectBase("myWidgetClass")
> >
> > since Glib::ObjectBase is a base class of