Re: Please help (core dump)

2020-07-26 Thread aitor
Hi Carlo, On 25/7/20 15:35, Carlo Wood wrote: Hi Aitor, is this gtkmm3? For example, Gtk::VBox is deprecated, I'm using Gtk::Grid. Yes, it is. Have a look at the "pkg_check_modules" in the configuration of CMake. I'm using the deprecated VBox because this code is taken froma network

Re: Please help (core dump)

2020-07-26 Thread Kjell Ahlstedt via gtkmm-list
On 2020-07-25 17:35, Carlo Wood wrote: Why would this core dump?? LinuxChessboardWidget is defined as: class LinuxChessboardWidget : public cwmm::ChessPositionWidget, public Gio::ActionMap { ... I have to derive from Gio::ActionMap because its constructor is protected. The call to

Re: Please help (core dump)

2020-07-26 Thread Daniel Boles via gtkmm-list
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 Gio::ActionMap, > I can't call that from LinuxChessboardWidget no? > yes, you can: research

Re: Please help (core dump)

2020-07-26 Thread Carlo Wood
Hi Kjell, thank you so much for helping me out! I'm not sure what you mean with doing LinuxChessboardWidget(..) : Glib::ObjectBase("myWidgetClass") since Glib::ObjectBase is a base class of Gio::ActionMap, I can't call that from LinuxChessboardWidget no? What I have is the following:

Re: Please help

2020-07-26 Thread aitor
Hi again, On 26/7/20 14:00, aitor_czr wrote: In the next examples i'll explain how to add an icon factory for your custom stock icons and how to add the toolbar to the project. They'll be uploaded to the following link: https://www.gnuinos.org/Gtkmm%20Examples/ Hope this helps, Finally, I